Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Humidifiers.Examples.Humidifier_u.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: translateModel(Buildings.Fluid.Humidifiers.Examples.Humidifier_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Humidifiers.Examples.Humidifier_u") translateModel(Buildings.Fluid.Humidifiers.Examples.Humidifier_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Humidifiers.Examples.Humidifier_u") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.371/1.371, allocations: 252 MB / 267.6 MB, free: 10.89 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009659/0.0009659, allocations: 178 kB / 327.3 MB, free: 2.18 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.65/1.65, allocations: 205.4 MB / 0.5783 GB, free: 20.55 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.0007158/0.0007159, allocations: 93.62 kB / 0.6829 GB, free: 13.31 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003853/0.0003854, allocations: 11.72 kB / 0.797 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2045/0.2049, allocations: 106.3 MB / 0.9008 GB, free: 64.27 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Humidifiers.Examples.Humidifier_u): time 0.6673/0.8722, allocations: 233.9 MB / 1.129 GB, free: 3.301 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.01383/0.8861, allocations: 9.096 MB / 1.138 GB, free: 3.066 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002784/0.8889, allocations: 65.44 kB / 1.138 GB, free: 3.066 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.002325/0.8912, allocations: 0.6351 MB / 1.139 GB, free: 3.055 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.006484/0.8978, allocations: 1.986 MB / 1.141 GB, free: 2.969 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.004962/0.9027, allocations: 1.56 MB / 1.142 GB, free: 2.91 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.006701/0.9094, allocations: 4.704 MB / 1.147 GB, free: 2.906 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002362/0.9118, allocations: 1.167 MB / 1.148 GB, free: 2.746 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004678/0.9165, allocations: 1.565 MB / 1.15 GB, free: 2.727 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00341/0.92, allocations: 1.212 MB / 1.151 GB, free: 2.727 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.000384/0.9204, allocations: 60.72 kB / 1.151 GB, free: 2.727 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005161/0.9256, allocations: 1.854 MB / 1.153 GB, free: 2.375 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0007478/0.9263, allocations: 478.6 kB / 1.153 GB, free: 2.227 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.001136/0.9275, allocations: 403.8 kB / 1.153 GB, free: 18.2 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.004142/0.9316, allocations: 2.531 MB / 1.156 GB, free: 16.96 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 7.204e-06/0.9317, allocations: 2.625 kB / 1.156 GB, free: 16.96 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.655e-06/0.9317, allocations: 0 / 1.156 GB, free: 16.96 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 5.106e-05/0.9317, allocations: 0 / 1.156 GB, free: 16.96 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 302 * Number of variables: 302 Notification: Performance of Generate backend data structure: time 0.003999/0.9358, allocations: 2.163 MB / 1.158 GB, free: 15.5 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.881e-05/0.9358, allocations: 7.969 kB / 1.158 GB, free: 15.5 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003485/0.9393, allocations: 0.6145 MB / 1.159 GB, free: 15.26 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002805/0.9421, allocations: 1.317 MB / 1.16 GB, free: 14.62 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003712/0.9425, allocations: 162.3 kB / 1.16 GB, free: 14.59 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001813/0.9427, allocations: 130 kB / 1.16 GB, free: 14.59 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002739/0.9454, allocations: 1.452 MB / 1.162 GB, free: 14.14 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.699e-05/0.9455, allocations: 6.625 kB / 1.162 GB, free: 14.14 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001114/0.9456, allocations: 47.53 kB / 1.162 GB, free: 14.14 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.343e-05/0.9457, allocations: 46 kB / 1.162 GB, free: 14.13 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00244/0.9481, allocations: 1.209 MB / 1.163 GB, free: 13.93 MB / 0.7136 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.008865/0.957, allocations: 5.793 MB / 1.169 GB, free: 10.52 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001662/0.9587, allocations: 0.9832 MB / 1.169 GB, free: 10.18 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009288/0.9596, allocations: 0.5145 MB / 1.17 GB, free: 10.1 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006337/0.9603, allocations: 326 kB / 1.17 GB, free: 9.793 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001078/0.9614, allocations: 0.5616 MB / 1.171 GB, free: 9.59 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=79): time 3.797e-06/0.9614, allocations: 0 / 1.171 GB, free: 9.59 MB / 0.7136 GB Notification: Performance of matching and sorting (n=79): time 0.004058/0.9655, allocations: 1.657 MB / 1.172 GB, free: 9.09 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.012e-05/0.9655, allocations: 86.95 kB / 1.173 GB, free: 8.996 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001748/0.9673, allocations: 1.321 MB / 1.174 GB, free: 8.617 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0001049/0.9674, allocations: 43.14 kB / 1.174 GB, free: 8.586 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006417/0.9681, allocations: 0.7426 MB / 1.175 GB, free: 8.258 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002741/0.9683, allocations: 275.9 kB / 1.175 GB, free: 8.059 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.956e-05/0.9684, allocations: 24.16 kB / 1.175 GB, free: 8.059 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.000135/0.9685, allocations: 350.1 kB / 1.175 GB, free: 7.734 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008733/0.9694, allocations: 413.5 kB / 1.176 GB, free: 7.668 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001057/0.9705, allocations: 0.6615 MB / 1.176 GB, free: 7.32 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009896/0.9715, allocations: 0.5035 MB / 1.177 GB, free: 7.23 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.281e-06/0.9715, allocations: 2.969 kB / 1.177 GB, free: 7.23 MB / 0.7136 GB Notification: Performance of matching and sorting (n=119) (initialization): time 0.002958/0.9745, allocations: 1.353 MB / 1.178 GB, free: 6.906 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002123/0.9747, allocations: 285.5 kB / 1.178 GB, free: 6.582 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.508e-05/0.9747, allocations: 11.44 kB / 1.178 GB, free: 6.578 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004206/0.9752, allocations: 72.86 kB / 1.178 GB, free: 6.555 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009461/0.9761, allocations: 211.7 kB / 1.179 GB, free: 6.52 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004657/0.9766, allocations: 0.5947 MB / 1.179 GB, free: 5.988 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001604/0.9782, allocations: 195 kB / 1.179 GB, free: 5.895 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.472e-05/0.9783, allocations: 43.98 kB / 1.179 GB, free: 5.891 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.082e-05/0.9783, allocations: 3.281 kB / 1.179 GB, free: 5.891 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00231/0.9806, allocations: 1.203 MB / 1.181 GB, free: 5.68 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.646e-06/0.9807, allocations: 3.062 kB / 1.181 GB, free: 5.68 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001493/0.9808, allocations: 62.58 kB / 1.181 GB, free: 5.656 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008704/0.9817, allocations: 204.9 kB / 1.181 GB, free: 5.625 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001608/0.9833, allocations: 1.606 MB / 1.182 GB, free: 4.16 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001675/0.985, allocations: 184.3 kB / 1.183 GB, free: 4.074 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.015e-05/0.9851, allocations: 45.52 kB / 1.183 GB, free: 4.07 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (108): * Single equations (assignments): 104 * Array equations: 2 * 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.001023/0.9861, allocations: 0.4913 MB / 1.183 GB, free: 3.742 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003409/0.9865, allocations: 161.5 kB / 1.183 GB, free: 3.586 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002611/0.9891, allocations: 1.198 MB / 1.184 GB, free: 2.723 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.277e-06/0.9891, allocations: 8 kB / 1.184 GB, free: 2.715 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.395e-06/0.9891, allocations: 0 / 1.184 GB, free: 2.715 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001963/0.9911, allocations: 1.069 MB / 1.186 GB, free: 1.875 MB / 0.7136 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.00489/0.996, allocations: 2.806 MB / 1.188 GB, free: 15.77 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.182e-06/0.996, allocations: 0 / 1.188 GB, free: 15.77 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009293/0.997, allocations: 171.1 kB / 1.188 GB, free: 15.61 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001556/0.9971, allocations: 61.78 kB / 1.188 GB, free: 15.56 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.204e-05/0.9972, allocations: 30.22 kB / 1.189 GB, free: 15.54 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004039/0.9976, allocations: 0.5777 MB / 1.189 GB, free: 14.97 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.138e-06/0.9976, allocations: 4 kB / 1.189 GB, free: 14.96 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003503/1.001, allocations: 1.86 MB / 1.191 GB, free: 13.54 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007328/1.002, allocations: 349.5 kB / 1.191 GB, free: 13.24 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001993/1.002, allocations: 22 kB / 1.191 GB, free: 13.23 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001172/1.003, allocations: 118.1 kB / 1.191 GB, free: 13.13 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001115/1.003, allocations: 51.7 kB / 1.191 GB, free: 13.09 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.063e-05/1.003, allocations: 31.73 kB / 1.191 GB, free: 13.06 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.001345/1.005, allocations: 0.897 MB / 1.192 GB, free: 12.41 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.012e-06/1.005, allocations: 0 / 1.192 GB, free: 12.41 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.00225/1.007, allocations: 0.794 MB / 1.193 GB, free: 11.66 MB / 0.7292 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) * Number of clocked states: 0 () * 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.0006664/1.008, allocations: 290.6 kB / 1.193 GB, free: 11.41 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.003845/1.012, allocations: 1.895 MB / 1.195 GB, free: 9.996 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 5.29e-06/1.012, allocations: 4 kB / 1.195 GB, free: 9.992 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.001166/1.013, allocations: 0.5682 MB / 1.196 GB, free: 9.57 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003869/1.017, allocations: 0.7922 MB / 1.197 GB, free: 8.922 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007826/1.025, allocations: 3.906 MB / 1.2 GB, free: 5.27 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008965/1.026, allocations: 1.329 MB / 1.202 GB, free: 3.953 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004436/1.026, allocations: 113.9 kB / 1.202 GB, free: 3.844 MB / 0.7292 GB Notification: Performance of SimCode: time 6.61e-07/1.026, allocations: 0 / 1.202 GB, free: 3.844 MB / 0.7292 GB Notification: Performance of Templates: time 0.0476/1.074, allocations: 31.89 MB / 1.233 GB, free: 4.449 MB / 0.7605 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Humidifiers.Examples.Humidifier_u.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Humidifiers.Examples.Humidifier_u.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Humidifiers.Examples.Humidifier_u.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Humidifiers.Examples.Humidifier_u.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Humidifiers.Examples.Humidifier_u.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Humidifiers.Examples.Humidifier_u -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Humidifiers.Examples.Humidifier_u.pipe 2>&1)