Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier,fileNamePrefix="Buildings_8_Buildings_Fluid_Interfaces_Examples_ReverseFlowHumidifier",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier,fileNamePrefix="Buildings_8_Buildings_Fluid_Interfaces_Examples_ReverseFlowHumidifier",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.766/1.766, allocations: 289.9 MB / 297.4 MB, free: 6.387 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001419/0.00142, allocations: 176.8 kB / 366.7 MB, free: 1.652 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.981/1.981, allocations: 205.2 MB / 0.626 GB, free: 7.184 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009633/0.0009633, allocations: 86.23 kB / 0.74 GB, free: 39.57 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.336e-05/3.345e-05, allocations: 4 kB / 0.8598 GB, free: 12.98 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8399/0.84, allocations: 116.3 MB / 0.9733 GB, free: 76.22 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.818/6.658, allocations: 2.083 GB / 3.057 GB, free: 45.66 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002504/6.658, allocations: 87.95 kB / 3.057 GB, free: 45.57 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 5.341/12, allocations: 1.276 GB / 4.332 GB, free: 127.7 MB / 0.9636 GB Notification: Performance of FrontEnd: time 2.114e-06/12, allocations: 0 / 4.332 GB, free: 127.7 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 0.0001484/12, allocations: 37.12 kB / 4.332 GB, free: 127.7 MB / 0.9636 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.006318/12.01, allocations: 2.088 MB / 4.334 GB, free: 126.8 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.22e-05/12.01, allocations: 9.625 kB / 4.334 GB, free: 126.8 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004892/12.01, allocations: 0.5036 MB / 4.335 GB, free: 126.6 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004479/12.02, allocations: 1.728 MB / 4.337 GB, free: 126.3 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.201e-05/12.02, allocations: 38.62 kB / 4.337 GB, free: 126.3 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000198/12.02, allocations: 85.77 kB / 4.337 GB, free: 126.3 MB / 0.9636 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001904/12.02, allocations: 1.152 MB / 4.338 GB, free: 126.3 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001979/12.02, allocations: 1.265 MB / 4.339 GB, free: 126.1 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.31e-05/12.02, allocations: 3.688 kB / 4.339 GB, free: 126.1 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001122/12.02, allocations: 3.594 kB / 4.339 GB, free: 126.1 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.298e-05/12.02, allocations: 45.05 kB / 4.339 GB, free: 126.1 MB / 0.9636 GB Warning: The model contains alias variables with conflicting start and/or 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.008465/12.03, allocations: 6.92 MB / 4.346 GB, free: 122.3 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008454/12.03, allocations: 0.6426 MB / 4.347 GB, free: 122.3 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004313/12.03, allocations: 367.4 kB / 4.347 GB, free: 122.3 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002171/12.03, allocations: 110.8 kB / 4.347 GB, free: 122.2 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.032e-05/12.03, allocations: 40.91 kB / 4.347 GB, free: 122.2 MB / 0.9636 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001143/12.03, allocations: 140.6 kB / 4.347 GB, free: 122.1 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=67): time 5.18e-06/12.03, allocations: 0 / 4.347 GB, free: 122.1 MB / 0.9636 GB Notification: Performance of matching and sorting (n=67): time 0.001405/12.03, allocations: 0.7286 MB / 4.348 GB, free: 122 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.557e-05/12.03, allocations: 55.69 kB / 4.348 GB, free: 122 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00123/12.03, allocations: 0.913 MB / 4.349 GB, free: 121.8 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 9.734e-05/12.03, allocations: 28.98 kB / 4.349 GB, free: 121.8 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005104/12.03, allocations: 0.784 MB / 4.35 GB, free: 121.4 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.00019/12.03, allocations: 231.2 kB / 4.35 GB, free: 121.3 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.027e-05/12.03, allocations: 0 / 4.35 GB, free: 121.3 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 9.621e-05/12.03, allocations: 344.3 kB / 4.35 GB, free: 121 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004027/12.04, allocations: 291.5 kB / 4.35 GB, free: 121 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006285/12.04, allocations: 0.6214 MB / 4.351 GB, free: 120.6 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005532/12.04, allocations: 408.5 kB / 4.351 GB, free: 120.6 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.979e-06/12.04, allocations: 0 / 4.351 GB, free: 120.6 MB / 0.9636 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.001435/12.04, allocations: 0.9743 MB / 4.352 GB, free: 120.5 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005298/12.04, allocations: 2.471 MB / 4.355 GB, free: 117.9 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.327e-05/12.04, allocations: 10.53 kB / 4.355 GB, free: 117.9 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.858e-05/12.04, allocations: 15.59 kB / 4.355 GB, free: 117.9 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008674/12.04, allocations: 195.6 kB / 4.355 GB, free: 117.9 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.11e-05/12.04, allocations: 14.16 kB / 4.355 GB, free: 117.9 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001753/12.04, allocations: 102.1 kB / 4.355 GB, free: 117.9 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.796e-05/12.04, allocations: 38.33 kB / 4.355 GB, free: 117.9 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.267e-05/12.04, allocations: 9.891 kB / 4.355 GB, free: 117.9 MB / 0.9636 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001159/12.04, allocations: 0.7879 MB / 4.356 GB, free: 117.9 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.955e-06/12.04, allocations: 10.45 kB / 4.356 GB, free: 117.9 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.258e-05/12.04, allocations: 11.25 kB / 4.356 GB, free: 117.9 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007322/12.04, allocations: 192.9 kB / 4.356 GB, free: 117.9 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.246e-05/12.04, allocations: 18.72 kB / 4.356 GB, free: 117.9 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001604/12.04, allocations: 91.48 kB / 4.356 GB, free: 117.9 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.581e-05/12.04, allocations: 37.03 kB / 4.356 GB, free: 117.9 MB / 0.9636 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (111): * Single equations (assignments): 111 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002631/12.05, allocations: 131 kB / 4.356 GB, free: 117.8 MB / 0.9636 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001137/12.05, allocations: 0.6977 MB / 4.357 GB, free: 117.7 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001693/12.05, allocations: 133.1 kB / 4.357 GB, free: 117.6 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001426/12.05, allocations: 0.7599 MB / 4.358 GB, free: 117.5 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.167e-05/12.05, allocations: 7.5 kB / 4.358 GB, free: 117.5 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.446e-06/12.05, allocations: 0 / 4.358 GB, free: 117.5 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008302/12.05, allocations: 0.7572 MB / 4.359 GB, free: 117.2 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003803/12.05, allocations: 2.132 MB / 4.361 GB, free: 116.9 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.102e-06/12.05, allocations: 3.438 kB / 4.361 GB, free: 116.9 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008073/12.05, allocations: 166.3 kB / 4.361 GB, free: 116.9 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.065e-05/12.05, allocations: 3.906 kB / 4.361 GB, free: 116.9 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.039e-05/12.05, allocations: 9.594 kB / 4.361 GB, free: 116.9 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.754e-06/12.05, allocations: 9.594 kB / 4.361 GB, free: 116.9 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.029e-06/12.05, allocations: 4.312 kB / 4.361 GB, free: 116.9 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001783/12.06, allocations: 1.342 MB / 4.362 GB, free: 116.5 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007322/12.06, allocations: 305.4 kB / 4.363 GB, free: 116.3 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001749/12.06, allocations: 6.094 kB / 4.363 GB, free: 116.3 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001079/12.06, allocations: 85.73 kB / 4.363 GB, free: 116.3 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.211e-05/12.06, allocations: 47.7 kB / 4.363 GB, free: 116.3 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.226e-05/12.06, allocations: 35.2 kB / 4.363 GB, free: 116.3 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.001142/12.06, allocations: 0.6846 MB / 4.363 GB, free: 116.2 MB / 0.9636 GB Notification: Performance of sort global known variables: time 1.51e-07/12.06, allocations: 0 / 4.363 GB, free: 116.2 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.003413/12.06, allocations: 1.051 MB / 4.364 GB, free: 116.1 MB / 0.9636 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 6 (humBac.vol.dynBal.U,humBac.vol.dynBal.m,humBac.vol.dynBal.mXi[1],humFor.vol.dynBal.U,humFor.vol.dynBal.m,humFor.vol.dynBal.mXi[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (72): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.007111/12.07, allocations: 5.711 MB / 4.37 GB, free: 113.5 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.002322/12.07, allocations: 1.201 MB / 4.371 GB, free: 113.5 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 9.838e-06/12.07, allocations: 1.219 kB / 4.371 GB, free: 113.5 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0004758/12.07, allocations: 332.8 kB / 4.371 GB, free: 113.5 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004381/12.08, allocations: 0.7563 MB / 4.372 GB, free: 113.5 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005777/12.08, allocations: 2.607 MB / 4.375 GB, free: 112.8 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008184/12.08, allocations: 1.386 MB / 4.376 GB, free: 112 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.002387/12.09, allocations: 0.4894 MB / 4.377 GB, free: 112 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007703/12.09, allocations: 0.5812 MB / 4.377 GB, free: 112 MB / 0.9636 GB Notification: Performance of SimCode: time 1.303e-06/12.09, allocations: 1.188 kB / 4.377 GB, free: 112 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1125/12.2, allocations: 61.3 MB / 4.437 GB, free: 96.52 MB / 0.9636 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001675/12.2, allocations: 171.5 kB / 4.437 GB, free: 96.33 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.651/16.85, allocations: 0 / 4.437 GB, free: 96.33 MB / 0.9636 GB (rm -f Buildings_8_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe ; mkfifo Buildings_8_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe >> ../files/Buildings_8_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Interfaces_Examples_ReverseFlowHumidifier_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Interfaces_Examples_ReverseFlowHumidifier.fmu > Buildings_8_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe 2>&1)