Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.ReverseFlowHumidifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.ReverseFlowHumidifier,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Interfaces_Examples_ReverseFlowHumidifier",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.ReverseFlowHumidifier,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Interfaces_Examples_ReverseFlowHumidifier",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000982/0.000982, allocations: 98.19 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.006721/0.006721, allocations: 172.6 kB / 16.27 MB, free: 6.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.322/1.322, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 0.9779/0.9779, allocations: 143.2 MB / 434.6 MB, free: 13.73 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003218/0.0003219, allocations: 12 kB / 0.5165 GB, free: 11.14 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1454/0.1457, allocations: 83.41 MB / 0.598 GB, free: 7.68 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.ReverseFlowHumidifier): time 0.8827/1.028, allocations: 269 MB / 0.8607 GB, free: 16.98 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.02039/1.049, allocations: 17.3 MB / 0.8776 GB, free: 16.86 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002502/1.051, allocations: 61.81 kB / 0.8776 GB, free: 16.86 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.002901/1.054, allocations: 0.9875 MB / 0.8786 GB, free: 16.85 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.008602/1.063, allocations: 2.934 MB / 0.8815 GB, free: 16.7 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.005855/1.069, allocations: 2.017 MB / 0.8834 GB, free: 16.64 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.008471/1.077, allocations: 6.756 MB / 0.89 GB, free: 16.63 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003064/1.08, allocations: 1.428 MB / 0.8914 GB, free: 16.46 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007204/1.088, allocations: 2.061 MB / 0.8934 GB, free: 16.43 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004589/1.092, allocations: 1.521 MB / 0.8949 GB, free: 16.43 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0008643/1.093, allocations: 74.06 kB / 0.895 GB, free: 16.43 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008996/1.102, allocations: 3.404 MB / 0.8983 GB, free: 16.39 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.001695/1.104, allocations: 0.6082 MB / 0.8989 GB, free: 16.39 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.00326/1.107, allocations: 0.9972 MB / 0.8999 GB, free: 16.36 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.01059/1.118, allocations: 3.994 MB / 0.9038 GB, free: 16.15 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 1.057e-05/1.118, allocations: 3.875 kB / 0.9038 GB, free: 16.15 MB / 0.67 GB Notification: Performance of FrontEnd: time 3.838e-06/1.118, allocations: 0 / 0.9038 GB, free: 16.15 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.0001765/1.118, allocations: 0.75 kB / 0.9038 GB, free: 16.15 MB / 0.67 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 324 * Number of variables: 324 Notification: Performance of Generate backend data structure: time 0.007617/1.126, allocations: 2.036 MB / 0.9058 GB, free: 15.01 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.561e-05/1.126, allocations: 9.812 kB / 0.9058 GB, free: 15.01 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006454/1.126, allocations: 193.1 kB / 0.906 GB, free: 14.97 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005308/1.132, allocations: 0.6519 MB / 0.9066 GB, free: 14.85 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003647/1.135, allocations: 1.337 MB / 0.9079 GB, free: 14.43 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001502/1.136, allocations: 103.5 kB / 0.908 GB, free: 14.42 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004176/1.136, allocations: 136 kB / 0.9081 GB, free: 14.42 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003256/1.139, allocations: 1.579 MB / 0.9097 GB, free: 14.23 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.911e-05/1.139, allocations: 3.062 kB / 0.9097 GB, free: 14.23 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001667/1.139, allocations: 54.34 kB / 0.9097 GB, free: 14.23 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.508e-05/1.14, allocations: 45.77 kB / 0.9098 GB, free: 14.22 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002376/1.142, allocations: 1.274 MB / 0.911 GB, free: 14.2 MB / 0.67 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009044/1.151, allocations: 7.238 MB / 0.9181 GB, free: 10.31 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001129/1.152, allocations: 0.6432 MB / 0.9187 GB, free: 10.29 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005421/1.153, allocations: 366.9 kB / 0.9191 GB, free: 10.28 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001841/1.153, allocations: 113.2 kB / 0.9192 GB, free: 10.18 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.252e-05/1.153, allocations: 52.25 kB / 0.9192 GB, free: 10.13 MB / 0.67 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001097/1.154, allocations: 142.6 kB / 0.9194 GB, free: 10.08 MB / 0.67 GB Notification: Performance of pre-optimization done (n=67): time 4.92e-06/1.154, allocations: 0 / 0.9194 GB, free: 10.08 MB / 0.67 GB Notification: Performance of matching and sorting (n=67): time 0.002072/1.156, allocations: 1.015 MB / 0.9204 GB, free: 9.965 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.204e-05/1.156, allocations: 58.97 kB / 0.9204 GB, free: 9.902 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002096/1.158, allocations: 1.346 MB / 0.9217 GB, free: 9.551 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.000123/1.158, allocations: 44.39 kB / 0.9218 GB, free: 9.52 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.000447/1.159, allocations: 0.7782 MB / 0.9225 GB, free: 9.145 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001919/1.159, allocations: 245.6 kB / 0.9228 GB, free: 8.969 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001062/1.159, allocations: 87.02 kB / 0.9228 GB, free: 8.941 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 6.543e-05/1.159, allocations: 341.1 kB / 0.9232 GB, free: 8.625 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004903/1.16, allocations: 351.8 kB / 0.9235 GB, free: 8.578 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006352/1.16, allocations: 0.6755 MB / 0.9242 GB, free: 8.145 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001063/1.161, allocations: 0.9557 MB / 0.9251 GB, free: 7.832 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.161e-06/1.161, allocations: 0 / 0.9251 GB, free: 7.832 MB / 0.67 GB Notification: Performance of matching and sorting (n=123) (initialization): time 0.001609/1.163, allocations: 1.157 MB / 0.9262 GB, free: 7.617 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001143/1.163, allocations: 293.6 kB / 0.9265 GB, free: 7.281 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.293e-05/1.163, allocations: 6.719 kB / 0.9265 GB, free: 7.281 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.311e-05/1.163, allocations: 9.719 kB / 0.9265 GB, free: 7.281 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007988/1.164, allocations: 208.5 kB / 0.9267 GB, free: 7.258 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.05e-05/1.164, allocations: 19.64 kB / 0.9267 GB, free: 7.254 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001766/1.166, allocations: 141.8 kB / 0.9269 GB, free: 7.203 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.834e-05/1.166, allocations: 41.61 kB / 0.9269 GB, free: 7.199 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 7.925e-06/1.166, allocations: 3.375 kB / 0.9269 GB, free: 7.199 MB / 0.67 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001315/1.167, allocations: 0.9838 MB / 0.9279 GB, free: 7.098 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.406e-05/1.167, allocations: 9.062 kB / 0.9279 GB, free: 7.098 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.225e-05/1.167, allocations: 16.81 kB / 0.9279 GB, free: 7.094 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007457/1.168, allocations: 211.1 kB / 0.9281 GB, free: 7.066 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.568e-05/1.168, allocations: 18.64 kB / 0.9281 GB, free: 7.062 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001588/1.17, allocations: 136.9 kB / 0.9283 GB, free: 7.016 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.879e-05/1.17, allocations: 41.28 kB / 0.9283 GB, free: 7.016 MB / 0.67 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (121): * Single equations (assignments): 119 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007721/1.171, allocations: 0.4984 MB / 0.9288 GB, free: 6.785 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002905/1.171, allocations: 155.2 kB / 0.9289 GB, free: 6.707 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001315/1.172, allocations: 0.8109 MB / 0.9297 GB, free: 6.543 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.735e-06/1.172, allocations: 11.8 kB / 0.9297 GB, free: 6.539 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/1.172, allocations: 4 kB / 0.9297 GB, free: 6.535 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007941/1.173, allocations: 0.7844 MB / 0.9305 GB, free: 6.227 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003323/1.176, allocations: 2.297 MB / 0.9327 GB, free: 5.406 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.908e-06/1.176, allocations: 192 / 0.9327 GB, free: 5.406 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007435/1.177, allocations: 173.3 kB / 0.9329 GB, free: 5.379 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.017e-06/1.177, allocations: 5 kB / 0.9329 GB, free: 5.379 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.242e-05/1.177, allocations: 20.59 kB / 0.9329 GB, free: 5.375 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.172e-06/1.177, allocations: 5.031 kB / 0.9329 GB, free: 5.375 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.92e-06/1.177, allocations: 3.672 kB / 0.9329 GB, free: 5.375 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001492/1.179, allocations: 1.262 MB / 0.9342 GB, free: 4.992 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006617/1.179, allocations: 323.1 kB / 0.9345 GB, free: 4.785 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002747/1.18, allocations: 18.75 kB / 0.9345 GB, free: 4.785 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001166/1.181, allocations: 99.2 kB / 0.9346 GB, free: 4.746 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.718e-05/1.181, allocations: 48.48 kB / 0.9346 GB, free: 4.727 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.974e-05/1.181, allocations: 37.59 kB / 0.9347 GB, free: 4.719 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.001094/1.182, allocations: 0.9079 MB / 0.9356 GB, free: 4.465 MB / 0.67 GB Notification: Performance of sort global known variables: time 3.11e-07/1.182, allocations: 0 / 0.9356 GB, free: 4.465 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.002187/1.184, allocations: 0.8508 MB / 0.9364 GB, free: 4.355 MB / 0.67 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 6 (humBac.vol.dynBal.medium.Xi[1],humBac.vol.dynBal.U,humBac.vol.dynBal.m,humFor.vol.dynBal.medium.Xi[1],humFor.vol.dynBal.U,humFor.vol.dynBal.m) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (71): * Single equations (assignments): 71 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001961/1.186, allocations: 1.962 MB / 0.9383 GB, free: 3.406 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.001809/1.188, allocations: 1.325 MB / 0.9396 GB, free: 3.25 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 4.488e-06/1.188, allocations: 2.531 kB / 0.9396 GB, free: 3.25 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0004206/1.189, allocations: 348.5 kB / 0.9399 GB, free: 3.211 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004086/1.193, allocations: 0.8453 MB / 0.9408 GB, free: 2.938 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0168/1.209, allocations: 12.27 MB / 0.9527 GB, free: 12.43 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009751/1.21, allocations: 1.348 MB / 0.9541 GB, free: 11.11 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.001777/1.212, allocations: 414.2 kB / 0.9545 GB, free: 10.7 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007219/1.213, allocations: 0.6141 MB / 0.9551 GB, free: 10.54 MB / 0.6856 GB Notification: Performance of SimCode: time 8.22e-07/1.213, allocations: 3.938 kB / 0.9551 GB, free: 10.54 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06394/1.277, allocations: 40.29 MB / 0.9944 GB, free: 2.891 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002005/1.277, allocations: 268.1 kB / 0.9947 GB, free: 2.594 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.552/3.83, allocations: 64 / 0.9947 GB, free: 2.594 MB / 0.7169 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.ReverseFlowHumidifier.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Interfaces_Examples_ReverseFlowHumidifier_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Interfaces_Examples_ReverseFlowHumidifier.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe 2>&1)