Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Interfaces_Examples_ReverseFlowHumidifier",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Interfaces_Examples_ReverseFlowHumidifier",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.663/1.663, allocations: 249.3 MB / 261.8 MB, free: 5.938 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0012/0.001199, allocations: 174.7 kB / 321.3 MB, free: 14.64 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.954/1.954, allocations: 205.2 MB / 0.572 GB, free: 10.68 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001121/0.001122, allocations: 88.05 kB / 0.6764 GB, free: 15.65 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 4.641e-05/4.643e-05, allocations: 4 kB / 0.788 GB, free: 97 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2951/0.2952, allocations: 106.3 MB / 0.8919 GB, free: 6.57 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.722/7.017, allocations: 2.201 GB / 3.093 GB, free: 167.6 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002378/7.018, allocations: 91.95 kB / 3.093 GB, free: 167.6 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 5.14/12.16, allocations: 1.255 GB / 4.348 GB, free: 117.4 MB / 0.9011 GB Notification: Performance of FrontEnd: time 2.204e-06/12.16, allocations: 6.969 kB / 4.348 GB, free: 117.4 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 0.0001946/12.16, allocations: 46.47 kB / 4.348 GB, free: 117.4 MB / 0.9011 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 332 * Number of variables: 332 Notification: Performance of Generate backend data structure: time 0.007627/12.17, allocations: 2.081 MB / 4.35 GB, free: 116.4 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 8.692e-05/12.17, allocations: 12.53 kB / 4.35 GB, free: 116.4 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000827/12.17, allocations: 206.4 kB / 4.35 GB, free: 116.4 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005749/12.17, allocations: 498.5 kB / 4.351 GB, free: 116.3 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006087/12.18, allocations: 1.738 MB / 4.352 GB, free: 116 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.458e-05/12.18, allocations: 109.3 kB / 4.352 GB, free: 116 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002782/12.18, allocations: 136.4 kB / 4.352 GB, free: 116 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003123/12.18, allocations: 1.562 MB / 4.354 GB, free: 115.8 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.376e-05/12.18, allocations: 2.344 kB / 4.354 GB, free: 115.8 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001458/12.18, allocations: 62.75 kB / 4.354 GB, free: 115.8 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.147e-05/12.18, allocations: 44.27 kB / 4.354 GB, free: 115.8 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002258/12.18, allocations: 1.236 MB / 4.355 GB, free: 115.7 MB / 0.9011 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.008757/12.19, allocations: 7.211 MB / 4.362 GB, free: 112 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009197/12.19, allocations: 0.6518 MB / 4.363 GB, free: 111.9 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004632/12.19, allocations: 371 kB / 4.363 GB, free: 111.9 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002089/12.2, allocations: 114.3 kB / 4.363 GB, free: 111.8 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.525e-05/12.2, allocations: 45.97 kB / 4.363 GB, free: 111.8 MB / 0.9011 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00113/12.2, allocations: 173.9 kB / 4.364 GB, free: 111.8 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=67): time 3.226e-06/12.2, allocations: 0 / 4.364 GB, free: 111.8 MB / 0.9011 GB Notification: Performance of matching and sorting (n=67): time 0.001418/12.2, allocations: 0.7589 MB / 4.364 GB, free: 111.6 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.369e-05/12.2, allocations: 57.94 kB / 4.364 GB, free: 111.6 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001435/12.2, allocations: 1.144 MB / 4.366 GB, free: 111.4 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 7.08e-05/12.2, allocations: 43.8 kB / 4.366 GB, free: 111.4 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005385/12.2, allocations: 0.7736 MB / 4.366 GB, free: 111.2 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001741/12.2, allocations: 241.3 kB / 4.367 GB, free: 111 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.169e-05/12.2, allocations: 23.48 kB / 4.367 GB, free: 111 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 9.196e-05/12.2, allocations: 341.5 kB / 4.367 GB, free: 110.7 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004354/12.2, allocations: 309.1 kB / 4.367 GB, free: 110.7 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006021/12.2, allocations: 0.6081 MB / 4.368 GB, free: 110.4 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000574/12.2, allocations: 416.8 kB / 4.368 GB, free: 110.3 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.021e-06/12.2, allocations: 3.125 kB / 4.368 GB, free: 110.3 MB / 0.9011 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.001433/12.2, allocations: 1.041 MB / 4.369 GB, free: 110.2 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006805/12.2, allocations: 2.675 MB / 4.372 GB, free: 107.5 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.33e-05/12.2, allocations: 6.438 kB / 4.372 GB, free: 107.5 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.279e-05/12.2, allocations: 14.88 kB / 4.372 GB, free: 107.5 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000844/12.2, allocations: 194 kB / 4.372 GB, free: 107.5 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.619e-05/12.2, allocations: 19.06 kB / 4.372 GB, free: 107.5 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001664/12.21, allocations: 127 kB / 4.372 GB, free: 107.5 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.379e-05/12.21, allocations: 40.41 kB / 4.372 GB, free: 107.5 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 9.668e-06/12.21, allocations: 5.406 kB / 4.372 GB, free: 107.5 MB / 0.9011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001255/12.21, allocations: 0.8863 MB / 4.373 GB, free: 107.5 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.598e-06/12.21, allocations: 6.938 kB / 4.373 GB, free: 107.5 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.383e-05/12.21, allocations: 17.72 kB / 4.373 GB, free: 107.5 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007203/12.21, allocations: 194.3 kB / 4.373 GB, free: 107.5 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.517e-05/12.21, allocations: 16.23 kB / 4.373 GB, free: 107.5 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001397/12.21, allocations: 125.1 kB / 4.373 GB, free: 107.4 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.958e-05/12.21, allocations: 42.16 kB / 4.373 GB, free: 107.4 MB / 0.9011 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 () * 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.0002664/12.21, allocations: 159 kB / 4.374 GB, free: 107.3 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002245/12.21, allocations: 152.8 kB / 4.374 GB, free: 107.3 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001597/12.21, allocations: 0.8245 MB / 4.375 GB, free: 107.2 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.728e-06/12.21, allocations: 7.656 kB / 4.375 GB, free: 107.2 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.187e-06/12.21, allocations: 6.672 kB / 4.375 GB, free: 107.2 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008973/12.21, allocations: 0.7786 MB / 4.375 GB, free: 106.9 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00394/12.22, allocations: 2.343 MB / 4.378 GB, free: 106.5 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.971e-06/12.22, allocations: 0 / 4.378 GB, free: 106.5 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000802/12.22, allocations: 179 kB / 4.378 GB, free: 106.5 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.177e-05/12.22, allocations: 6.469 kB / 4.378 GB, free: 106.5 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.381e-05/12.22, allocations: 17.5 kB / 4.378 GB, free: 106.5 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.232e-06/12.22, allocations: 3.125 kB / 4.378 GB, free: 106.5 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.489e-06/12.22, allocations: 4.312 kB / 4.378 GB, free: 106.5 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001739/12.22, allocations: 1.4 MB / 4.379 GB, free: 106.1 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008479/12.22, allocations: 342 kB / 4.38 GB, free: 105.9 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000192/12.22, allocations: 20.17 kB / 4.38 GB, free: 105.9 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001147/12.22, allocations: 108.7 kB / 4.38 GB, free: 105.9 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.64e-05/12.22, allocations: 40.05 kB / 4.38 GB, free: 105.9 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.336e-05/12.22, allocations: 36.11 kB / 4.38 GB, free: 105.9 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.001251/12.22, allocations: 0.884 MB / 4.381 GB, free: 105.8 MB / 0.9011 GB Notification: Performance of sort global known variables: time 1.503e-06/12.22, allocations: 0 / 4.381 GB, free: 105.8 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.003865/12.23, allocations: 1.169 MB / 4.382 GB, free: 105.7 MB / 0.9011 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.007882/12.24, allocations: 5.437 MB / 4.387 GB, free: 103.1 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.00252/12.24, allocations: 1.255 MB / 4.388 GB, free: 103.1 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 1.13e-05/12.24, allocations: 2.812 kB / 4.388 GB, free: 103.1 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0005117/12.24, allocations: 352.6 kB / 4.389 GB, free: 103.1 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005157/12.24, allocations: 0.905 MB / 4.39 GB, free: 103 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006392/12.25, allocations: 2.708 MB / 4.392 GB, free: 102.3 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000814/12.25, allocations: 1.39 MB / 4.394 GB, free: 101.6 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.002914/12.25, allocations: 0.5514 MB / 4.394 GB, free: 101.6 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001093/12.26, allocations: 0.5816 MB / 4.395 GB, free: 101.6 MB / 0.9011 GB Notification: Performance of SimCode: time 2.244e-06/12.26, allocations: 0 / 4.395 GB, free: 101.6 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1581/12.41, allocations: 95.9 MB / 4.488 GB, free: 79.98 MB / 0.9011 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002073/12.41, allocations: 201.8 kB / 4.488 GB, free: 79.76 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.409/17.82, allocations: 3.828 kB / 4.488 GB, free: 79.76 MB / 0.9011 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Interfaces_Examples_ReverseFlowHumidifier_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Interfaces_Examples_ReverseFlowHumidifier.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe 2>&1)