Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Interfaces_Examples_ReverseFlowHumidifier",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 2.465/2.465, allocations: 284.9 MB / 292.4 MB, free: 10.57 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.00151/0.00151, allocations: 172.9 kB / 360.6 MB, free: 7.301 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.212/2.212, allocations: 205.3 MB / 0.6191 GB, free: 12.18 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.001031/0.001031, allocations: 93.8 kB / 0.7321 GB, free: 44.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.661e-05/2.692e-05, allocations: 4 kB / 0.8508 GB, free: 3.336 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8268/0.8269, allocations: 115.3 MB / 0.9634 GB, free: 78.63 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.131/6.958, allocations: 2.082 GB / 3.046 GB, free: 36.26 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002988/6.958, allocations: 91.38 kB / 3.046 GB, free: 36.22 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 7.492/14.45, allocations: 1.276 GB / 4.321 GB, free: 128.7 MB / 0.9636 GB Notification: Performance of FrontEnd: time 4.86e-06/14.45, allocations: 0 / 4.321 GB, free: 128.7 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 0.000336/14.45, allocations: 54.5 kB / 4.321 GB, free: 128.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.009883/14.46, allocations: 2.089 MB / 4.323 GB, free: 127.8 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 6.303e-05/14.46, allocations: 8.469 kB / 4.323 GB, free: 127.8 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0112/14.47, allocations: 0.492 MB / 4.324 GB, free: 127.7 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009349/14.48, allocations: 1.733 MB / 4.326 GB, free: 127.4 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.396e-05/14.48, allocations: 37.03 kB / 4.326 GB, free: 127.4 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004595/14.48, allocations: 87.03 kB / 4.326 GB, free: 127.4 MB / 0.9636 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004844/14.49, allocations: 1.148 MB / 4.327 GB, free: 127.4 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005648/14.49, allocations: 1.267 MB / 4.328 GB, free: 127.2 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.887e-05/14.49, allocations: 3.281 kB / 4.328 GB, free: 127.2 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000282/14.49, allocations: 3.906 kB / 4.328 GB, free: 127.2 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.931e-05/14.49, allocations: 43.89 kB / 4.328 GB, free: 127.2 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.02055/14.51, allocations: 6.927 MB / 4.335 GB, free: 123.4 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001577/14.51, allocations: 0.6421 MB / 4.335 GB, free: 123.4 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007406/14.52, allocations: 374.5 kB / 4.336 GB, free: 123.4 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002804/14.52, allocations: 102.5 kB / 4.336 GB, free: 123.3 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.728e-05/14.52, allocations: 46.88 kB / 4.336 GB, free: 123.2 MB / 0.9636 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001581/14.52, allocations: 140.7 kB / 4.336 GB, free: 123.2 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=67): time 5.811e-06/14.52, allocations: 3.219 kB / 4.336 GB, free: 123.2 MB / 0.9636 GB Notification: Performance of matching and sorting (n=67): time 0.00264/14.52, allocations: 0.7201 MB / 4.337 GB, free: 123.1 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.237e-05/14.52, allocations: 60.88 kB / 4.337 GB, free: 123 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001905/14.52, allocations: 0.9029 MB / 4.338 GB, free: 122.9 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.0002724/14.52, allocations: 28.8 kB / 4.338 GB, free: 122.9 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006976/14.52, allocations: 0.7859 MB / 4.339 GB, free: 122.5 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003327/14.52, allocations: 232.6 kB / 4.339 GB, free: 122.4 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.62e-05/14.52, allocations: 0 / 4.339 GB, free: 122.4 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 9.94e-05/14.52, allocations: 342.8 kB / 4.339 GB, free: 122.1 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000689/14.52, allocations: 296.2 kB / 4.339 GB, free: 122.1 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009084/14.53, allocations: 0.6207 MB / 4.34 GB, free: 121.7 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008816/14.53, allocations: 409.4 kB / 4.34 GB, free: 121.7 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.476e-06/14.53, allocations: 3.812 kB / 4.34 GB, free: 121.7 MB / 0.9636 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.002412/14.53, allocations: 0.9653 MB / 4.341 GB, free: 121.6 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005448/14.53, allocations: 2.473 MB / 4.344 GB, free: 119 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.87e-05/14.53, allocations: 7.094 kB / 4.344 GB, free: 119 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.761e-05/14.53, allocations: 10.72 kB / 4.344 GB, free: 119 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001756/14.53, allocations: 199.2 kB / 4.344 GB, free: 119 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.997e-05/14.53, allocations: 16.34 kB / 4.344 GB, free: 119 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002968/14.53, allocations: 100.9 kB / 4.344 GB, free: 119 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001958/14.53, allocations: 39.94 kB / 4.344 GB, free: 119 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.663e-05/14.53, allocations: 3.719 kB / 4.344 GB, free: 119 MB / 0.9636 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001958/14.54, allocations: 0.7959 MB / 4.345 GB, free: 119 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.539e-05/14.54, allocations: 6.656 kB / 4.345 GB, free: 119 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.126e-05/14.54, allocations: 13.11 kB / 4.345 GB, free: 119 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00151/14.54, allocations: 200 kB / 4.345 GB, free: 119 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.434e-05/14.54, allocations: 14.16 kB / 4.345 GB, free: 119 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002703/14.54, allocations: 84.19 kB / 4.345 GB, free: 119 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001589/14.54, allocations: 43 kB / 4.345 GB, free: 119 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.0003548/14.54, allocations: 130.5 kB / 4.345 GB, free: 118.9 MB / 0.9636 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001824/14.54, allocations: 0.6977 MB / 4.346 GB, free: 118.7 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003537/14.54, allocations: 136.3 kB / 4.346 GB, free: 118.7 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001945/14.55, allocations: 0.7667 MB / 4.347 GB, free: 118.6 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.066e-05/14.55, allocations: 7.875 kB / 4.347 GB, free: 118.6 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.444e-06/14.55, allocations: 0 / 4.347 GB, free: 118.6 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001266/14.55, allocations: 0.7494 MB / 4.348 GB, free: 118.3 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005563/14.55, allocations: 2.133 MB / 4.35 GB, free: 118 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.015e-06/14.55, allocations: 0 / 4.35 GB, free: 118 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00158/14.55, allocations: 166.3 kB / 4.35 GB, free: 118 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.709e-05/14.55, allocations: 6.688 kB / 4.35 GB, free: 118 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.674e-05/14.55, allocations: 13.75 kB / 4.35 GB, free: 118 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.566e-06/14.55, allocations: 5.938 kB / 4.35 GB, free: 118 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.756e-06/14.55, allocations: 6.828 kB / 4.35 GB, free: 118 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002708/14.56, allocations: 1.347 MB / 4.351 GB, free: 117.6 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001186/14.56, allocations: 298 kB / 4.352 GB, free: 117.4 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003653/14.56, allocations: 7.375 kB / 4.352 GB, free: 117.4 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002246/14.56, allocations: 86.27 kB / 4.352 GB, free: 117.4 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001347/14.56, allocations: 45.56 kB / 4.352 GB, free: 117.4 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001134/14.56, allocations: 33.77 kB / 4.352 GB, free: 117.4 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.001404/14.56, allocations: 0.6832 MB / 4.352 GB, free: 117.3 MB / 0.9636 GB Notification: Performance of sort global known variables: time 4.81e-07/14.56, allocations: 0 / 4.352 GB, free: 117.3 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.004482/14.57, allocations: 1.053 MB / 4.353 GB, free: 117.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.009003/14.58, allocations: 5.708 MB / 4.359 GB, free: 114.6 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.002892/14.58, allocations: 1.194 MB / 4.36 GB, free: 114.6 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.077e-05/14.58, allocations: 3.875 kB / 4.36 GB, free: 114.6 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0006997/14.58, allocations: 334.1 kB / 4.36 GB, free: 114.6 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006695/14.59, allocations: 0.7619 MB / 4.361 GB, free: 114.5 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007734/14.59, allocations: 2.61 MB / 4.364 GB, free: 113.8 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001123/14.6, allocations: 1.381 MB / 4.365 GB, free: 113.1 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.003767/14.6, allocations: 0.4942 MB / 4.366 GB, free: 113.1 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001312/14.6, allocations: 0.574 MB / 4.366 GB, free: 113.1 MB / 0.9636 GB Notification: Performance of SimCode: time 1.674e-06/14.6, allocations: 5.156 kB / 4.366 GB, free: 113.1 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1593/14.76, allocations: 61.29 MB / 4.426 GB, free: 107.3 MB / 0.9636 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000204/14.76, allocations: 179.7 kB / 4.426 GB, free: 107.1 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.478/20.24, allocations: 0 / 4.426 GB, free: 107.1 MB / 0.9636 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Interfaces_Examples_ReverseFlowHumidifier_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Interfaces_Examples_ReverseFlowHumidifier.fmu > Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe 2>&1)