Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Humidifiers.Examples.Humidifier_u.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.Humidifiers.Examples.Humidifier_u,fileNamePrefix="Buildings_8_Buildings_Fluid_Humidifiers_Examples_Humidifier_u",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Humidifiers.Examples.Humidifier_u,fileNamePrefix="Buildings_8_Buildings_Fluid_Humidifiers_Examples_Humidifier_u",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.758/1.758, allocations: 289.7 MB / 302.2 MB, free: 2.09 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.00139/0.00139, allocations: 181.2 kB / 371.6 MB, free: 3.355 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.821/1.821, allocations: 205.2 MB / 0.6309 GB, free: 11.75 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.0009118/0.0009121, allocations: 87.91 kB / 0.745 GB, free: 54.39 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 3.302e-05/3.304e-05, allocations: 0 / 0.8663 GB, free: 14.95 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2767/0.2767, allocations: 116.3 MB / 0.9799 GB, free: 10.5 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.405/6.681, allocations: 2.088 GB / 3.068 GB, free: 105.9 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002848/6.682, allocations: 83.77 kB / 3.068 GB, free: 105.9 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 4.173/10.85, allocations: 1.036 GB / 4.104 GB, free: 124.5 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.463e-06/10.85, allocations: 3.938 kB / 4.104 GB, free: 124.5 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001613/10.86, allocations: 47.83 kB / 4.104 GB, free: 124.5 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 300 * Number of variables: 300 Notification: Performance of Generate backend data structure: time 0.004996/10.86, allocations: 2.06 MB / 4.106 GB, free: 123.2 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 6.86e-05/10.86, allocations: 17.59 kB / 4.106 GB, free: 123.2 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002981/10.86, allocations: 173 kB / 4.106 GB, free: 123.1 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003811/10.86, allocations: 0.6152 MB / 4.107 GB, free: 122.9 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003277/10.87, allocations: 1.432 MB / 4.108 GB, free: 122.1 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003603/10.87, allocations: 159.7 kB / 4.108 GB, free: 122.1 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002327/10.87, allocations: 125.4 kB / 4.108 GB, free: 122.1 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002323/10.87, allocations: 1.362 MB / 4.11 GB, free: 121.4 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.527e-05/10.87, allocations: 3.938 kB / 4.11 GB, free: 121.4 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001209/10.87, allocations: 53.06 kB / 4.11 GB, free: 121.4 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.504e-05/10.87, allocations: 40.55 kB / 4.11 GB, free: 121.4 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001648/10.87, allocations: 1.051 MB / 4.111 GB, free: 120.9 MB / 0.948 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.008681/10.88, allocations: 6.014 MB / 4.117 GB, free: 116.8 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001353/10.88, allocations: 0.9005 MB / 4.118 GB, free: 116.3 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006106/10.88, allocations: 449.1 kB / 4.118 GB, free: 116.1 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005922/10.88, allocations: 315.3 kB / 4.118 GB, free: 115.7 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007798/10.88, allocations: 0.4925 MB / 4.119 GB, free: 115.4 MB / 0.948 GB Notification: Performance of pre-optimization done (n=79): time 4.889e-06/10.88, allocations: 0 / 4.119 GB, free: 115.4 MB / 0.948 GB Notification: Performance of matching and sorting (n=79): time 0.002351/10.89, allocations: 1.032 MB / 4.12 GB, free: 114.9 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.557e-05/10.89, allocations: 191.7 kB / 4.12 GB, free: 114.7 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001647/10.89, allocations: 1.123 MB / 4.121 GB, free: 114.1 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 9.42e-05/10.89, allocations: 43.77 kB / 4.121 GB, free: 114.1 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006034/10.89, allocations: 0.7486 MB / 4.122 GB, free: 113.4 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002319/10.89, allocations: 278 kB / 4.122 GB, free: 113.2 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.576e-05/10.89, allocations: 15.34 kB / 4.122 GB, free: 113.2 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.948e-05/10.89, allocations: 337.2 kB / 4.122 GB, free: 112.9 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005114/10.89, allocations: 338 kB / 4.123 GB, free: 112.7 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006662/10.89, allocations: 0.585 MB / 4.123 GB, free: 112.2 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005677/10.89, allocations: 427.4 kB / 4.124 GB, free: 112 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.591e-06/10.89, allocations: 0 / 4.124 GB, free: 112 MB / 0.948 GB Notification: Performance of matching and sorting (n=104) (initialization): time 0.001752/10.89, allocations: 1.154 MB / 4.125 GB, free: 111.4 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005513/10.89, allocations: 1.743 MB / 4.127 GB, free: 109.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.199e-05/10.89, allocations: 6.406 kB / 4.127 GB, free: 109.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002518/10.89, allocations: 54.28 kB / 4.127 GB, free: 109.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008611/10.9, allocations: 202 kB / 4.127 GB, free: 109.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000378/10.9, allocations: 0.5865 MB / 4.127 GB, free: 108.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001735/10.9, allocations: 191.2 kB / 4.128 GB, free: 108.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001028/10.9, allocations: 41.72 kB / 4.128 GB, free: 108.8 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.308e-05/10.9, allocations: 5.281 kB / 4.128 GB, free: 108.8 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001756/10.9, allocations: 1.004 MB / 4.129 GB, free: 108.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.377e-06/10.9, allocations: 3.812 kB / 4.129 GB, free: 108.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000187/10.9, allocations: 51.39 kB / 4.129 GB, free: 108.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009271/10.9, allocations: 201.8 kB / 4.129 GB, free: 108.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001397/10.9, allocations: 1.593 MB / 4.13 GB, free: 106.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001817/10.9, allocations: 185.8 kB / 4.131 GB, free: 106.5 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.619e-05/10.9, allocations: 35.55 kB / 4.131 GB, free: 106.5 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition1,TSet.a,TSet.b,TSet.last,$PRE.TSet.nextEvent,TSet.nextEvent,TSet.nextEventScaled,con2.I.trigger_internal,con1.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (95): * Single equations (assignments): 93 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0003358/10.9, allocations: 194.3 kB / 4.131 GB, free: 106.3 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002478/10.9, allocations: 158.2 kB / 4.131 GB, free: 106.3 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00214/10.91, allocations: 1.096 MB / 4.132 GB, free: 105.6 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.754e-06/10.91, allocations: 7.875 kB / 4.132 GB, free: 105.6 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.465e-06/10.91, allocations: 0 / 4.132 GB, free: 105.6 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001311/10.91, allocations: 0.9672 MB / 4.133 GB, free: 105.1 MB / 0.948 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 postOpt removeSimpleEquations (simulation): time 0.004572/10.91, allocations: 2.765 MB / 4.136 GB, free: 103.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.39e-06/10.91, allocations: 0 / 4.136 GB, free: 103.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008708/10.91, allocations: 182.5 kB / 4.136 GB, free: 103.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001417/10.91, allocations: 45.64 kB / 4.136 GB, free: 103.1 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.389e-05/10.91, allocations: 23.16 kB / 4.136 GB, free: 103.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002894/10.91, allocations: 0.5862 MB / 4.136 GB, free: 102.6 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.948e-06/10.91, allocations: 7.844 kB / 4.136 GB, free: 102.6 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002293/10.92, allocations: 1.855 MB / 4.138 GB, free: 101.1 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007343/10.92, allocations: 354.9 kB / 4.139 GB, free: 100.8 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001886/10.92, allocations: 30.56 kB / 4.139 GB, free: 100.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001156/10.92, allocations: 127.8 kB / 4.139 GB, free: 100.6 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001103/10.92, allocations: 52.44 kB / 4.139 GB, free: 100.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.24e-05/10.92, allocations: 35.17 kB / 4.139 GB, free: 100.5 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001155/10.92, allocations: 0.8815 MB / 4.14 GB, free: 99.66 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.4e-07/10.92, allocations: 0 / 4.14 GB, free: 99.66 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.003472/10.92, allocations: 1.048 MB / 4.141 GB, free: 98.61 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 6 (senTem1.T,con1.I.y,humDyn.vol.dynBal.U,humDyn.vol.dynBal.mXi[1],senTem2.T,con2.I.y) * Number of discrete variables: 6 ($whenCondition1,TSet.a,TSet.b,TSet.last,TSet.nextEvent,TSet.nextEventScaled) * Number of discrete states: 6 (TSet.nextEvent,TSet.last,TSet.nextEventScaled,TSet.b,TSet.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (70): * Single equations (assignments): 68 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.006041/10.93, allocations: 5.208 MB / 4.146 GB, free: 93.25 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002489/10.93, allocations: 1.658 MB / 4.147 GB, free: 91.55 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 6.502e-06/10.93, allocations: 3.938 kB / 4.147 GB, free: 91.55 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0006298/10.93, allocations: 0.508 MB / 4.148 GB, free: 91.03 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003876/10.94, allocations: 0.8186 MB / 4.149 GB, free: 90.23 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006917/10.94, allocations: 2.923 MB / 4.152 GB, free: 87.24 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006973/10.94, allocations: 1.366 MB / 4.153 GB, free: 85.85 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.002132/10.95, allocations: 0.4946 MB / 4.153 GB, free: 85.37 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007217/10.95, allocations: 0.6047 MB / 4.154 GB, free: 84.76 MB / 0.948 GB Notification: Performance of SimCode: time 9.31e-07/10.95, allocations: 0 / 4.154 GB, free: 84.76 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1328/11.08, allocations: 83.28 MB / 4.235 GB, free: 1.82 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001983/11.08, allocations: 214.1 kB / 4.236 GB, free: 1.598 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.994/16.07, allocations: 3.938 kB / 4.236 GB, free: 1.594 MB / 0.948 GB (rm -f Buildings_8_Buildings.Fluid.Humidifiers.Examples.Humidifier_u.pipe ; mkfifo Buildings_8_Buildings.Fluid.Humidifiers.Examples.Humidifier_u.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Humidifiers.Examples.Humidifier_u.pipe >> ../files/Buildings_8_Buildings.Fluid.Humidifiers.Examples.Humidifier_u.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Humidifiers_Examples_Humidifier_u_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Humidifiers_Examples_Humidifier_u.fmu > Buildings_8_Buildings.Fluid.Humidifiers.Examples.Humidifier_u.pipe 2>&1)