Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Interfaces_Examples_ReverseFlowHumidifier",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier,fileNamePrefix="Buildings_maint_8_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 8.0.1-maint.8.0.x/package.mo): time 1.74/1.74, allocations: 285.6 MB / 293.1 MB, free: 10.21 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.001121/0.001121, allocations: 180.4 kB / 361.4 MB, free: 6.82 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.904/1.904, allocations: 205.2 MB / 0.62 GB, free: 11.65 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.0009772/0.0009772, allocations: 97.64 kB / 0.733 GB, free: 44.18 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.541e-05/2.558e-05, allocations: 4 kB / 0.8518 GB, free: 2.652 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8053/0.8054, allocations: 115.3 MB / 0.9644 GB, free: 78.85 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.655/6.46, allocations: 2.082 GB / 3.047 GB, free: 32.88 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003179/6.46, allocations: 96.12 kB / 3.047 GB, free: 32.84 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 5.664/12.12, allocations: 1.276 GB / 4.322 GB, free: 128.4 MB / 0.9636 GB Notification: Performance of FrontEnd: time 2.204e-06/12.12, allocations: 0 / 4.322 GB, free: 128.4 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 0.0003191/12.13, allocations: 46.06 kB / 4.323 GB, free: 128.4 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.008861/12.13, allocations: 2.091 MB / 4.325 GB, free: 127.5 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 6.23e-05/12.13, allocations: 11.5 kB / 4.325 GB, free: 127.5 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005509/12.14, allocations: 0.4927 MB / 4.325 GB, free: 127.4 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005617/12.15, allocations: 1.733 MB / 4.327 GB, free: 127.1 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001094/12.15, allocations: 40.62 kB / 4.327 GB, free: 127.1 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005746/12.15, allocations: 81.97 kB / 4.327 GB, free: 127.1 MB / 0.9636 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003023/12.15, allocations: 1.155 MB / 4.328 GB, free: 127.1 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003575/12.15, allocations: 1.266 MB / 4.329 GB, free: 126.9 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.389e-05/12.15, allocations: 0 / 4.329 GB, free: 126.9 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002394/12.15, allocations: 3.5 kB / 4.329 GB, free: 126.9 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.75e-05/12.15, allocations: 46.69 kB / 4.329 GB, free: 126.9 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.01106/12.16, allocations: 6.925 MB / 4.336 GB, free: 123.1 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009207/12.16, allocations: 0.6499 MB / 4.337 GB, free: 123.1 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004305/12.17, allocations: 354.8 kB / 4.337 GB, free: 123.1 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002097/12.17, allocations: 117.6 kB / 4.337 GB, free: 123 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.936e-05/12.17, allocations: 42.12 kB / 4.337 GB, free: 122.9 MB / 0.9636 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001208/12.17, allocations: 134.9 kB / 4.337 GB, free: 122.9 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=67): time 4.93e-06/12.17, allocations: 0 / 4.337 GB, free: 122.9 MB / 0.9636 GB Notification: Performance of matching and sorting (n=67): time 0.00146/12.17, allocations: 0.727 MB / 4.338 GB, free: 122.8 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.86e-05/12.17, allocations: 59.78 kB / 4.338 GB, free: 122.7 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001341/12.17, allocations: 0.9131 MB / 4.339 GB, free: 122.6 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 7.364e-05/12.17, allocations: 27.33 kB / 4.339 GB, free: 122.5 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005728/12.17, allocations: 0.782 MB / 4.34 GB, free: 122.2 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002164/12.17, allocations: 232.4 kB / 4.34 GB, free: 122.1 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.008e-05/12.17, allocations: 0 / 4.34 GB, free: 122.1 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001044/12.17, allocations: 342.5 kB / 4.34 GB, free: 121.8 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004824/12.17, allocations: 297.6 kB / 4.341 GB, free: 121.7 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006598/12.17, allocations: 0.6205 MB / 4.341 GB, free: 121.4 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005448/12.17, allocations: 407.6 kB / 4.342 GB, free: 121.4 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.14e-06/12.17, allocations: 3.938 kB / 4.342 GB, free: 121.4 MB / 0.9636 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.001344/12.17, allocations: 0.9642 MB / 4.343 GB, free: 121.2 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005297/12.17, allocations: 2.479 MB / 4.345 GB, free: 118.7 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.204e-05/12.17, allocations: 7.812 kB / 4.345 GB, free: 118.7 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.386e-05/12.17, allocations: 11.78 kB / 4.345 GB, free: 118.7 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008284/12.18, allocations: 195.3 kB / 4.345 GB, free: 118.7 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.511e-05/12.18, allocations: 13.5 kB / 4.345 GB, free: 118.7 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001561/12.18, allocations: 97.75 kB / 4.345 GB, free: 118.7 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.833e-05/12.18, allocations: 41.66 kB / 4.345 GB, free: 118.7 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 8.796e-06/12.18, allocations: 3.781 kB / 4.345 GB, free: 118.7 MB / 0.9636 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001115/12.18, allocations: 0.7972 MB / 4.346 GB, free: 118.6 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.799e-06/12.18, allocations: 11.12 kB / 4.346 GB, free: 118.6 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.223e-05/12.18, allocations: 11.03 kB / 4.346 GB, free: 118.6 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000719/12.18, allocations: 198.3 kB / 4.346 GB, free: 118.6 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.47e-05/12.18, allocations: 19.45 kB / 4.346 GB, free: 118.6 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001361/12.18, allocations: 82.39 kB / 4.346 GB, free: 118.6 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.492e-05/12.18, allocations: 43.66 kB / 4.346 GB, free: 118.6 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.0002375/12.18, allocations: 131.5 kB / 4.347 GB, free: 118.5 MB / 0.9636 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001001/12.18, allocations: 0.6966 MB / 4.347 GB, free: 118.4 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000165/12.18, allocations: 133.5 kB / 4.347 GB, free: 118.3 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001322/12.18, allocations: 0.7594 MB / 4.348 GB, free: 118.3 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.895e-06/12.18, allocations: 11.02 kB / 4.348 GB, free: 118.3 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.05e-06/12.18, allocations: 0 / 4.348 GB, free: 118.3 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008341/12.18, allocations: 0.7523 MB / 4.349 GB, free: 118 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003535/12.19, allocations: 2.125 MB / 4.351 GB, free: 117.7 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.322e-06/12.19, allocations: 2.219 kB / 4.351 GB, free: 117.7 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008089/12.19, allocations: 171.9 kB / 4.351 GB, free: 117.7 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.116e-05/12.19, allocations: 3.625 kB / 4.351 GB, free: 117.7 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.876e-05/12.19, allocations: 9.438 kB / 4.351 GB, free: 117.7 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.683e-06/12.19, allocations: 6.719 kB / 4.351 GB, free: 117.7 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.153e-06/12.19, allocations: 5.031 kB / 4.351 GB, free: 117.7 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001677/12.19, allocations: 1.347 MB / 4.352 GB, free: 117.2 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006681/12.19, allocations: 305.4 kB / 4.353 GB, free: 117.1 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001586/12.19, allocations: 3.812 kB / 4.353 GB, free: 117.1 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001066/12.19, allocations: 86.03 kB / 4.353 GB, free: 117.1 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.342e-05/12.19, allocations: 49.34 kB / 4.353 GB, free: 117.1 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.631e-05/12.19, allocations: 37.05 kB / 4.353 GB, free: 117.1 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.000936/12.19, allocations: 0.6787 MB / 4.354 GB, free: 117 MB / 0.9636 GB Notification: Performance of sort global known variables: time 1.8e-07/12.19, allocations: 1.875 kB / 4.354 GB, free: 117 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.003322/12.2, allocations: 1.049 MB / 4.355 GB, free: 116.8 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.007185/12.2, allocations: 5.694 MB / 4.36 GB, free: 114.3 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.002101/12.21, allocations: 1.204 MB / 4.361 GB, free: 114.2 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 8.215e-06/12.21, allocations: 0 / 4.361 GB, free: 114.2 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0004225/12.21, allocations: 340.8 kB / 4.362 GB, free: 114.2 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004181/12.21, allocations: 0.7534 MB / 4.362 GB, free: 114.2 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005106/12.22, allocations: 2.603 MB / 4.365 GB, free: 113.5 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007983/12.22, allocations: 1.387 MB / 4.366 GB, free: 112.8 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.002272/12.22, allocations: 0.5022 MB / 4.367 GB, free: 112.8 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006923/12.22, allocations: 0.579 MB / 4.367 GB, free: 112.8 MB / 0.9636 GB Notification: Performance of SimCode: time 1.112e-06/12.22, allocations: 0 / 4.367 GB, free: 112.8 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1069/12.33, allocations: 61.31 MB / 4.427 GB, free: 103.8 MB / 0.9636 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002214/12.33, allocations: 179.8 kB / 4.427 GB, free: 103.6 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.151/16.48, allocations: 0 / 4.427 GB, free: 103.6 MB / 0.9636 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_Interfaces_Examples_ReverseFlowHumidifier_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Interfaces_Examples_ReverseFlowHumidifier.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe 2>&1)