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.36/1.36, allocations: 251.5 MB / 267.4 MB, free: 11.04 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.0009975/0.0009974, allocations: 179.4 kB / 326.5 MB, free: 2.68 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.596/1.596, allocations: 205 MB / 0.5766 GB, free: 21.01 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.0007638/0.0007638, allocations: 83.61 kB / 0.6804 GB, free: 14.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003219/0.0003219, allocations: 12.12 kB / 0.7938 GB, free: 136.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1961/0.1964, allocations: 105.4 MB / 0.8967 GB, free: 68.2 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Humidifiers.Examples.Humidifier_u): time 0.8048/1.001, allocations: 253.8 MB / 1.145 GB, free: 0.5859 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.02031/1.022, allocations: 9.764 MB / 1.154 GB, free: 312 kB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004817/1.026, allocations: 71.94 kB / 1.154 GB, free: 312 kB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.003727/1.03, allocations: 0.8141 MB / 1.155 GB, free: 292 kB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.01022/1.041, allocations: 2.559 MB / 1.157 GB, free: 160 kB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0075/1.048, allocations: 1.972 MB / 1.159 GB, free: 15.47 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.008571/1.057, allocations: 5.509 MB / 1.165 GB, free: 14.28 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003225/1.06, allocations: 1.392 MB / 1.166 GB, free: 13.62 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004898/1.065, allocations: 1.657 MB / 1.168 GB, free: 12.99 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004318/1.069, allocations: 1.293 MB / 1.169 GB, free: 12.41 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 0.0007244/1.07, allocations: 61.03 kB / 1.169 GB, free: 12.41 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007935/1.078, allocations: 3.428 MB / 1.172 GB, free: 11.02 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.001147/1.079, allocations: 480.1 kB / 1.173 GB, free: 10.72 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.002691/1.082, allocations: 0.8928 MB / 1.174 GB, free: 10.17 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.005249/1.087, allocations: 2.681 MB / 1.176 GB, free: 8.598 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 6.261e-06/1.087, allocations: 4 kB / 1.176 GB, free: 8.594 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.986e-06/1.087, allocations: 0 / 1.176 GB, free: 8.594 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0001262/1.087, allocations: 0 / 1.176 GB, free: 8.594 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.005566/1.093, allocations: 2.129 MB / 1.178 GB, free: 7 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.406e-05/1.093, allocations: 13.7 kB / 1.178 GB, free: 6.996 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003645/1.096, allocations: 0.6163 MB / 1.179 GB, free: 6.727 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002833/1.099, allocations: 1.378 MB / 1.18 GB, free: 5.73 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003903/1.1, allocations: 169.8 kB / 1.181 GB, free: 5.656 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002273/1.1, allocations: 125.1 kB / 1.181 GB, free: 5.617 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002935/1.103, allocations: 1.465 MB / 1.182 GB, free: 4.715 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.833e-05/1.103, allocations: 3.656 kB / 1.182 GB, free: 4.715 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001163/1.103, allocations: 54.03 kB / 1.182 GB, free: 4.676 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.329e-05/1.103, allocations: 41.5 kB / 1.182 GB, free: 4.672 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002498/1.106, allocations: 1.223 MB / 1.183 GB, free: 4.078 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.008467/1.114, allocations: 5.788 MB / 1.189 GB, free: 15.3 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001638/1.116, allocations: 0.9883 MB / 1.19 GB, free: 14.27 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009056/1.117, allocations: 0.5179 MB / 1.191 GB, free: 13.76 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005918/1.117, allocations: 331.6 kB / 1.191 GB, free: 13.38 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001056/1.118, allocations: 0.5559 MB / 1.191 GB, free: 12.8 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=79): time 4.689e-06/1.118, allocations: 0 / 1.191 GB, free: 12.8 MB / 0.7292 GB Notification: Performance of matching and sorting (n=79): time 0.004033/1.122, allocations: 1.652 MB / 1.193 GB, free: 11.12 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.769e-05/1.123, allocations: 89.77 kB / 1.193 GB, free: 11.02 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001747/1.124, allocations: 1.334 MB / 1.194 GB, free: 9.672 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 9.396e-05/1.124, allocations: 45.7 kB / 1.194 GB, free: 9.621 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006489/1.125, allocations: 0.749 MB / 1.195 GB, free: 8.867 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002568/1.125, allocations: 275 kB / 1.195 GB, free: 8.602 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001171/1.125, allocations: 89.61 kB / 1.196 GB, free: 8.508 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001376/1.126, allocations: 341.9 kB / 1.196 GB, free: 8.168 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008737/1.126, allocations: 421.8 kB / 1.196 GB, free: 7.758 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001054/1.128, allocations: 0.6679 MB / 1.197 GB, free: 6.996 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00195/1.129, allocations: 1.1 MB / 1.198 GB, free: 5.836 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.3e-06/1.129, allocations: 0 / 1.198 GB, free: 5.836 MB / 0.7292 GB Notification: Performance of matching and sorting (n=119) (initialization): time 0.002943/1.132, allocations: 1.382 MB / 1.199 GB, free: 4.469 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002362/1.133, allocations: 280.3 kB / 1.2 GB, free: 4.117 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.378e-05/1.133, allocations: 4 kB / 1.2 GB, free: 4.113 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004362/1.133, allocations: 76.8 kB / 1.2 GB, free: 4.035 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009205/1.134, allocations: 207.8 kB / 1.2 GB, free: 3.844 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005003/1.135, allocations: 0.5938 MB / 1.2 GB, free: 3.227 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001889/1.136, allocations: 202.1 kB / 1.201 GB, free: 3.031 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.119e-05/1.137, allocations: 47.17 kB / 1.201 GB, free: 2.988 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.555e-05/1.137, allocations: 4 kB / 1.201 GB, free: 2.984 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002739/1.139, allocations: 1.206 MB / 1.202 GB, free: 1.801 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.549e-05/1.139, allocations: 4 kB / 1.202 GB, free: 1.797 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001888/1.14, allocations: 44.84 kB / 1.202 GB, free: 1.75 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009311/1.141, allocations: 217.8 kB / 1.202 GB, free: 1.551 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001854/1.142, allocations: 1.607 MB / 1.204 GB, free: 15.8 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001959/1.144, allocations: 187 kB / 1.204 GB, free: 15.62 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001253/1.145, allocations: 43.98 kB / 1.204 GB, free: 15.58 MB / 0.7448 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 (TSet.nextEventScaled,TSet.nextEvent,$PRE.TSet.nextEvent,TSet.last,TSet.b,TSet.a,$whenCondition1,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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.001237/1.146, allocations: 0.5025 MB / 1.204 GB, free: 15.07 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006415/1.146, allocations: 158.1 kB / 1.205 GB, free: 14.92 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003035/1.149, allocations: 1.198 MB / 1.206 GB, free: 13.7 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.4e-05/1.149, allocations: 8 kB / 1.206 GB, free: 13.69 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/1.15, allocations: 3.094 kB / 1.206 GB, free: 13.69 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002104/1.152, allocations: 1.083 MB / 1.207 GB, free: 12.57 MB / 0.7448 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.005653/1.157, allocations: 2.798 MB / 1.21 GB, free: 9.699 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.821e-06/1.157, allocations: 0 / 1.21 GB, free: 9.699 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008759/1.158, allocations: 177.9 kB / 1.21 GB, free: 9.535 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001643/1.158, allocations: 56.48 kB / 1.21 GB, free: 9.48 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.62e-05/1.158, allocations: 31.92 kB / 1.21 GB, free: 9.449 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003987/1.159, allocations: 0.5871 MB / 1.21 GB, free: 8.84 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/1.159, allocations: 0 / 1.21 GB, free: 8.84 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003696/1.163, allocations: 1.864 MB / 1.212 GB, free: 6.93 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009399/1.164, allocations: 339 kB / 1.212 GB, free: 6.578 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003956/1.164, allocations: 27.98 kB / 1.213 GB, free: 6.551 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001355/1.165, allocations: 104.5 kB / 1.213 GB, free: 6.449 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001304/1.165, allocations: 56 kB / 1.213 GB, free: 6.398 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.984e-05/1.166, allocations: 43.97 kB / 1.213 GB, free: 6.355 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.001722/1.167, allocations: 0.9019 MB / 1.214 GB, free: 5.457 MB / 0.7448 GB Notification: Performance of sort global known variables: time 2.81e-07/1.167, allocations: 0 / 1.214 GB, free: 5.457 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.002802/1.17, allocations: 0.791 MB / 1.214 GB, free: 4.664 MB / 0.7448 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007461/1.171, allocations: 289.6 kB / 1.215 GB, free: 4.398 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.003973/1.175, allocations: 1.904 MB / 1.217 GB, free: 2.5 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 5.74e-06/1.175, allocations: 0 / 1.217 GB, free: 2.5 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.001119/1.176, allocations: 0.5759 MB / 1.217 GB, free: 1.934 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004813/1.181, allocations: 0.7892 MB / 1.218 GB, free: 1.156 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008443/1.189, allocations: 3.886 MB / 1.222 GB, free: 13.21 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001181/1.19, allocations: 1.331 MB / 1.223 GB, free: 11.85 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004822/1.191, allocations: 119.4 kB / 1.223 GB, free: 11.73 MB / 0.7605 GB Notification: Performance of SimCode: time 5.51e-07/1.191, allocations: 0 / 1.223 GB, free: 11.73 MB / 0.7605 GB Notification: Performance of Templates: time 0.0475/1.239, allocations: 31.86 MB / 1.254 GB, free: 12 MB / 0.7917 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)