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.95/1.95, allocations: 289.9 MB / 297.4 MB, free: 6.344 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.001231/0.001231, allocations: 180.9 kB / 366.7 MB, free: 1.637 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.682/1.682, allocations: 205.3 MB / 0.626 GB, free: 7.129 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.0009661/0.0009662, allocations: 87.98 kB / 0.74 GB, free: 39.52 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.713e-05/2.715e-05, allocations: 4 kB / 0.8598 GB, free: 12.96 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7848/0.7848, allocations: 116.3 MB / 0.9733 GB, free: 76.02 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.598/6.383, allocations: 2.087 GB / 3.061 GB, free: 40.73 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002538/6.383, allocations: 84.45 kB / 3.061 GB, free: 40.64 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 3.822/10.21, allocations: 1.025 GB / 4.086 GB, free: 93.93 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.583e-06/10.21, allocations: 3.719 kB / 4.086 GB, free: 93.93 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.000154/10.21, allocations: 47.98 kB / 4.086 GB, free: 93.88 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.004514/10.21, allocations: 2.06 MB / 4.088 GB, free: 91.75 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.602e-05/10.21, allocations: 12.03 kB / 4.088 GB, free: 91.74 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003808/10.21, allocations: 0.6103 MB / 4.088 GB, free: 91.13 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003188/10.22, allocations: 1.438 MB / 4.09 GB, free: 89.64 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003376/10.22, allocations: 114.3 kB / 4.09 GB, free: 89.53 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002035/10.22, allocations: 72 kB / 4.09 GB, free: 89.46 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001753/10.22, allocations: 0.9731 MB / 4.091 GB, free: 88.48 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001871/10.22, allocations: 1.197 MB / 4.092 GB, free: 87.21 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.848e-05/10.22, allocations: 4 kB / 4.092 GB, free: 87.21 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001061/10.22, allocations: 3.984 kB / 4.092 GB, free: 87.2 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.563e-05/10.22, allocations: 50.2 kB / 4.092 GB, free: 87.15 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.008129/10.23, allocations: 5.765 MB / 4.098 GB, free: 81.06 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009449/10.23, allocations: 0.8709 MB / 4.099 GB, free: 80.14 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004613/10.23, allocations: 423.7 kB / 4.099 GB, free: 79.73 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000499/10.23, allocations: 312 kB / 4.099 GB, free: 79.37 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006016/10.23, allocations: 485.4 kB / 4.1 GB, free: 78.88 MB / 0.948 GB Notification: Performance of pre-optimization done (n=79): time 6.352e-06/10.23, allocations: 3.984 kB / 4.1 GB, free: 78.87 MB / 0.948 GB Notification: Performance of matching and sorting (n=79): time 0.002249/10.24, allocations: 1.023 MB / 4.101 GB, free: 77.84 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.067e-05/10.24, allocations: 192.7 kB / 4.101 GB, free: 77.61 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001125/10.24, allocations: 0.9295 MB / 4.102 GB, free: 76.67 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001035/10.24, allocations: 29.7 kB / 4.102 GB, free: 76.64 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005306/10.24, allocations: 0.7587 MB / 4.103 GB, free: 75.87 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002193/10.24, allocations: 264.1 kB / 4.103 GB, free: 75.61 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.402e-05/10.24, allocations: 7.938 kB / 4.103 GB, free: 75.6 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.561e-05/10.24, allocations: 334 kB / 4.103 GB, free: 75.27 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003951/10.24, allocations: 322.5 kB / 4.103 GB, free: 74.95 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005162/10.24, allocations: 0.5511 MB / 4.104 GB, free: 74.3 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007267/10.24, allocations: 448.2 kB / 4.104 GB, free: 73.87 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.258e-06/10.24, allocations: 0 / 4.104 GB, free: 73.87 MB / 0.948 GB Notification: Performance of matching and sorting (n=104) (initialization): time 0.001826/10.24, allocations: 1.11 MB / 4.106 GB, free: 72.75 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003423/10.24, allocations: 1.731 MB / 4.107 GB, free: 70.91 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.003e-05/10.24, allocations: 4 kB / 4.107 GB, free: 70.91 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000177/10.24, allocations: 52.83 kB / 4.107 GB, free: 70.86 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008483/10.24, allocations: 199.7 kB / 4.107 GB, free: 70.66 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003782/10.24, allocations: 0.5993 MB / 4.108 GB, free: 70.04 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001582/10.24, allocations: 163.2 kB / 4.108 GB, free: 69.88 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.914e-05/10.24, allocations: 39.98 kB / 4.108 GB, free: 69.84 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 9.227e-06/10.24, allocations: 4 kB / 4.108 GB, free: 69.83 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001544/10.25, allocations: 0.9286 MB / 4.109 GB, free: 68.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.416e-06/10.25, allocations: 7.984 kB / 4.109 GB, free: 68.89 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001288/10.25, allocations: 52.22 kB / 4.109 GB, free: 68.84 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008187/10.25, allocations: 204.1 kB / 4.109 GB, free: 68.64 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001166/10.25, allocations: 1.528 MB / 4.111 GB, free: 66.98 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001834/10.25, allocations: 155.3 kB / 4.111 GB, free: 66.83 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.173e-05/10.25, allocations: 43.92 kB / 4.111 GB, free: 66.79 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.0003257/10.25, allocations: 162.4 kB / 4.111 GB, free: 66.61 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001858/10.25, allocations: 0.9717 MB / 4.112 GB, free: 65.63 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001836/10.25, allocations: 146.3 kB / 4.112 GB, free: 65.48 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001899/10.25, allocations: 1.043 MB / 4.113 GB, free: 64.43 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.086e-06/10.25, allocations: 8 kB / 4.113 GB, free: 64.42 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/10.25, allocations: 0 / 4.113 GB, free: 64.42 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001295/10.26, allocations: 0.9486 MB / 4.114 GB, free: 63.44 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.004137/10.26, allocations: 2.561 MB / 4.117 GB, free: 60.78 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.923e-06/10.26, allocations: 11.3 kB / 4.117 GB, free: 60.77 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000892/10.26, allocations: 187.8 kB / 4.117 GB, free: 60.59 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001037/10.26, allocations: 36.84 kB / 4.117 GB, free: 60.55 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.076e-05/10.26, allocations: 12 kB / 4.117 GB, free: 60.54 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003114/10.26, allocations: 0.5913 MB / 4.118 GB, free: 59.92 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/10.26, allocations: 0 / 4.118 GB, free: 59.92 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002078/10.26, allocations: 1.792 MB / 4.119 GB, free: 58.01 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006081/10.26, allocations: 343 kB / 4.12 GB, free: 57.66 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001839/10.26, allocations: 4 kB / 4.12 GB, free: 57.65 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001159/10.27, allocations: 124 kB / 4.12 GB, free: 57.53 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001041/10.27, allocations: 60.36 kB / 4.12 GB, free: 57.47 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.798e-05/10.27, allocations: 35.98 kB / 4.12 GB, free: 57.43 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0009691/10.27, allocations: 0.7072 MB / 4.121 GB, free: 56.73 MB / 0.948 GB Notification: Performance of sort global known variables: time 4.81e-07/10.27, allocations: 4 kB / 4.121 GB, free: 56.72 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.003101/10.27, allocations: 0.9585 MB / 4.122 GB, free: 55.76 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.00594/10.28, allocations: 5.429 MB / 4.127 GB, free: 50.07 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002297/10.28, allocations: 1.579 MB / 4.128 GB, free: 48.46 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 6.102e-06/10.28, allocations: 4.25 kB / 4.128 GB, free: 48.45 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0005682/10.28, allocations: 499.6 kB / 4.129 GB, free: 47.95 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003593/10.28, allocations: 0.6967 MB / 4.13 GB, free: 47.26 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00723/10.29, allocations: 2.829 MB / 4.132 GB, free: 44.35 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006868/10.29, allocations: 1.365 MB / 4.134 GB, free: 42.95 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.002063/10.29, allocations: 455 kB / 4.134 GB, free: 42.5 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006476/10.29, allocations: 0.5969 MB / 4.135 GB, free: 41.91 MB / 0.948 GB Notification: Performance of SimCode: time 1.282e-06/10.29, allocations: 0 / 4.135 GB, free: 41.91 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09467/10.39, allocations: 55.86 MB / 4.189 GB, free: 2.27 MB / 0.9636 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002657/10.39, allocations: 157.7 kB / 4.189 GB, free: 2.082 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.111/14.5, allocations: 0 / 4.189 GB, free: 2.082 MB / 0.9636 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)