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.665/1.665, allocations: 289.7 MB / 302.2 MB, free: 2.207 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.001225/0.001225, allocations: 178.8 kB / 371.6 MB, free: 3.328 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.089/2.089, allocations: 205.1 MB / 0.6309 GB, free: 11.78 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.001149/0.001149, allocations: 85.64 kB / 0.745 GB, free: 54.55 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 4.109e-05/4.112e-05, allocations: 4 kB / 0.8663 GB, free: 14.98 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3175/0.3175, allocations: 116.3 MB / 0.9799 GB, free: 10.53 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.959/7.276, allocations: 2.084 GB / 3.064 GB, free: 157.2 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003045/7.277, allocations: 93.94 kB / 3.064 GB, free: 157.1 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 5.72/13, allocations: 1.289 GB / 4.353 GB, free: 114.3 MB / 0.9792 GB Notification: Performance of FrontEnd: time 1.863e-06/13, allocations: 0 / 4.353 GB, free: 114.3 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 0.0003704/13, allocations: 54.03 kB / 4.353 GB, free: 114.3 MB / 0.9792 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.008506/13.01, allocations: 2.094 MB / 4.355 GB, free: 113.7 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 5.296e-05/13.01, allocations: 10.19 kB / 4.355 GB, free: 113.7 MB / 0.9792 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008343/13.01, allocations: 187.3 kB / 4.355 GB, free: 113.7 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005401/13.01, allocations: 0.4951 MB / 4.356 GB, free: 113.6 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006202/13.02, allocations: 1.728 MB / 4.358 GB, free: 113.2 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001719/13.02, allocations: 105.3 kB / 4.358 GB, free: 113.2 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006117/13.02, allocations: 135.4 kB / 4.358 GB, free: 113.2 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005091/13.02, allocations: 1.533 MB / 4.359 GB, free: 113 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.673e-05/13.02, allocations: 3.25 kB / 4.359 GB, free: 113 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003678/13.02, allocations: 63.7 kB / 4.359 GB, free: 113 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.12e-05/13.02, allocations: 42.89 kB / 4.359 GB, free: 113 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003049/13.03, allocations: 1.23 MB / 4.361 GB, free: 113 MB / 0.9792 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.01091/13.04, allocations: 7.195 MB / 4.368 GB, free: 109.2 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001024/13.04, allocations: 0.6679 MB / 4.368 GB, free: 109.2 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005555/13.04, allocations: 379.8 kB / 4.369 GB, free: 109.2 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002446/13.04, allocations: 102.5 kB / 4.369 GB, free: 109.1 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.234e-05/13.04, allocations: 42.22 kB / 4.369 GB, free: 109.1 MB / 0.9792 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001482/13.04, allocations: 178.2 kB / 4.369 GB, free: 109 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=67): time 4.167e-06/13.04, allocations: 0 / 4.369 GB, free: 109 MB / 0.9792 GB Notification: Performance of matching and sorting (n=67): time 0.001547/13.04, allocations: 0.7738 MB / 4.37 GB, free: 108.9 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.253e-05/13.04, allocations: 60.88 kB / 4.37 GB, free: 108.9 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001461/13.05, allocations: 1.134 MB / 4.371 GB, free: 108.7 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 7.157e-05/13.05, allocations: 43.89 kB / 4.371 GB, free: 108.7 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005633/13.05, allocations: 0.7816 MB / 4.372 GB, free: 108.4 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002128/13.05, allocations: 240.8 kB / 4.372 GB, free: 108.3 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.381e-05/13.05, allocations: 23.81 kB / 4.372 GB, free: 108.3 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0001156/13.05, allocations: 338.8 kB / 4.372 GB, free: 108 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004768/13.05, allocations: 310.2 kB / 4.373 GB, free: 108 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006607/13.05, allocations: 0.6414 MB / 4.373 GB, free: 107.6 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005963/13.05, allocations: 420.6 kB / 4.374 GB, free: 107.6 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.899e-06/13.05, allocations: 3.062 kB / 4.374 GB, free: 107.6 MB / 0.9792 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.001538/13.05, allocations: 1.055 MB / 4.375 GB, free: 107.5 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005262/13.05, allocations: 2.51 MB / 4.377 GB, free: 105 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.261e-05/13.05, allocations: 6.125 kB / 4.377 GB, free: 105 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.882e-05/13.05, allocations: 15.94 kB / 4.377 GB, free: 105 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008187/13.05, allocations: 195.6 kB / 4.377 GB, free: 105 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.491e-05/13.05, allocations: 17.27 kB / 4.377 GB, free: 105 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001789/13.05, allocations: 118.9 kB / 4.377 GB, free: 105 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001123/13.05, allocations: 42.91 kB / 4.378 GB, free: 105 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 5.448e-05/13.05, allocations: 3.688 kB / 4.378 GB, free: 105 MB / 0.9792 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001461/13.05, allocations: 0.8907 MB / 4.378 GB, free: 104.9 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.018e-05/13.05, allocations: 6.156 kB / 4.378 GB, free: 104.9 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.357e-05/13.05, allocations: 16.7 kB / 4.378 GB, free: 104.9 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007665/13.06, allocations: 202.9 kB / 4.379 GB, free: 104.9 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.26e-05/13.06, allocations: 8.906 kB / 4.379 GB, free: 104.9 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001895/13.06, allocations: 117.2 kB / 4.379 GB, free: 104.9 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.692e-05/13.06, allocations: 38.81 kB / 4.379 GB, free: 104.9 MB / 0.9792 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.0003685/13.06, allocations: 167.1 kB / 4.379 GB, free: 104.8 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002733/13.06, allocations: 148.4 kB / 4.379 GB, free: 104.8 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001779/13.06, allocations: 0.8272 MB / 4.38 GB, free: 104.7 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.114e-05/13.06, allocations: 9.234 kB / 4.38 GB, free: 104.7 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.608e-06/13.06, allocations: 5.188 kB / 4.38 GB, free: 104.7 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001005/13.06, allocations: 0.7907 MB / 4.381 GB, free: 104.4 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004848/13.07, allocations: 2.334 MB / 4.383 GB, free: 104 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.683e-06/13.07, allocations: 3 kB / 4.383 GB, free: 104 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008107/13.07, allocations: 166.9 kB / 4.383 GB, free: 104 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.361e-05/13.07, allocations: 3.438 kB / 4.383 GB, free: 104 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.455e-05/13.07, allocations: 26.48 kB / 4.383 GB, free: 104 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.853e-06/13.07, allocations: 3.156 kB / 4.383 GB, free: 104 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.999e-06/13.07, allocations: 5.688 kB / 4.383 GB, free: 104 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001814/13.07, allocations: 1.422 MB / 4.385 GB, free: 103.6 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008066/13.07, allocations: 324.6 kB / 4.385 GB, free: 103.4 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001756/13.07, allocations: 18.77 kB / 4.385 GB, free: 103.4 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001095/13.07, allocations: 95.58 kB / 4.385 GB, free: 103.4 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001016/13.07, allocations: 54.7 kB / 4.385 GB, free: 103.4 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.652e-05/13.07, allocations: 35.08 kB / 4.385 GB, free: 103.4 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.001393/13.07, allocations: 0.8737 MB / 4.386 GB, free: 103.3 MB / 0.9792 GB Notification: Performance of sort global known variables: time 1.5e-07/13.07, allocations: 3.188 kB / 4.386 GB, free: 103.3 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.003728/13.08, allocations: 1.161 MB / 4.387 GB, free: 103.2 MB / 0.9792 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.007314/13.08, allocations: 5.429 MB / 4.392 GB, free: 100.7 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.002382/13.09, allocations: 1.276 MB / 4.394 GB, free: 100.7 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 9.778e-06/13.09, allocations: 3.75 kB / 4.394 GB, free: 100.7 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.0004985/13.09, allocations: 351.1 kB / 4.394 GB, free: 100.7 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005279/13.09, allocations: 0.8938 MB / 4.395 GB, free: 100.6 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006185/13.1, allocations: 2.699 MB / 4.397 GB, free: 99.95 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009023/13.1, allocations: 1.385 MB / 4.399 GB, free: 99.23 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.002753/13.1, allocations: 0.5631 MB / 4.399 GB, free: 99.21 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007268/13.1, allocations: 0.5797 MB / 4.4 GB, free: 99.2 MB / 0.9792 GB Notification: Performance of SimCode: time 1.152e-06/13.1, allocations: 3.312 kB / 4.4 GB, free: 99.2 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1817/13.28, allocations: 95.93 MB / 4.494 GB, free: 95.91 MB / 0.9792 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001695/13.28, allocations: 196.1 kB / 4.494 GB, free: 95.68 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.717/19, allocations: 4 kB / 4.494 GB, free: 95.68 MB / 0.9792 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)