Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Humidifiers.Examples.Humidifier_u.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: translateModel(Buildings.Fluid.Humidifiers.Examples.Humidifier_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Humidifiers.Examples.Humidifier_u") translateModel(Buildings.Fluid.Humidifiers.Examples.Humidifier_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Humidifiers.Examples.Humidifier_u") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.564/2.564, allocations: 287.3 MB / 302.3 MB, free: 8.332 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.001515/0.001515, allocations: 170.7 kB / 370.8 MB, free: 10.87 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.249/2.249, allocations: 205.4 MB / 0.6295 GB, free: 10.63 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001164/0.001164, allocations: 96.59 kB / 0.7428 GB, free: 6.625 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006515/0.0006518, allocations: 15.89 kB / 0.8656 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.244/0.2447, allocations: 115.3 MB / 0.9782 GB, free: 28.41 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Humidifiers.Examples.Humidifier_u): time 1.05/1.295, allocations: 209.2 MB / 1.183 GB, free: 15.47 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.02259/1.317, allocations: 9.559 MB / 1.192 GB, free: 7.777 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003018/1.32, allocations: 61.16 kB / 1.192 GB, free: 7.75 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.004344/1.325, allocations: 0.8552 MB / 1.193 GB, free: 7.027 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.01267/1.337, allocations: 2.744 MB / 1.195 GB, free: 4.793 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.008155/1.346, allocations: 1.77 MB / 1.197 GB, free: 3.551 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.006723/1.352, allocations: 2.437 MB / 1.2 GB, free: 1.961 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002809/1.355, allocations: 1.178 MB / 1.201 GB, free: 1.258 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005216/1.36, allocations: 1.479 MB / 1.202 GB, free: 336 kB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002411/1.363, allocations: 0.8201 MB / 1.203 GB, free: 15.84 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 0.0005093/1.363, allocations: 59.72 kB / 1.203 GB, free: 15.84 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005944/1.369, allocations: 1.577 MB / 1.205 GB, free: 15.11 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.001143/1.371, allocations: 437.7 kB / 1.205 GB, free: 14.83 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.000938/1.372, allocations: 396.5 kB / 1.205 GB, free: 14.61 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.005609/1.377, allocations: 2.353 MB / 1.208 GB, free: 13.05 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.636e-06/1.377, allocations: 3.938 kB / 1.208 GB, free: 13.05 MB / 0.7448 GB Notification: Performance of FrontEnd: time 3.066e-06/1.377, allocations: 0 / 1.208 GB, free: 13.05 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 9.289e-05/1.377, allocations: 0 / 1.208 GB, free: 13.05 MB / 0.7448 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.00616/1.384, allocations: 2.086 MB / 1.21 GB, free: 11.47 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.697e-05/1.384, allocations: 9.875 kB / 1.21 GB, free: 11.47 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006043/1.39, allocations: 0.6457 MB / 1.21 GB, free: 11.18 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004686/1.394, allocations: 1.318 MB / 1.212 GB, free: 10.18 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007109/1.395, allocations: 178.2 kB / 1.212 GB, free: 10.1 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003887/1.396, allocations: 119 kB / 1.212 GB, free: 10.06 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005159/1.401, allocations: 1.433 MB / 1.213 GB, free: 8.574 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.617e-05/1.401, allocations: 3.938 kB / 1.213 GB, free: 8.57 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002023/1.401, allocations: 52 kB / 1.213 GB, free: 8.52 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.939e-05/1.401, allocations: 42.27 kB / 1.213 GB, free: 8.477 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005248/1.406, allocations: 1.207 MB / 1.215 GB, free: 7.262 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 preOpt removeSimpleEquations (simulation): time 0.01518/1.422, allocations: 5.902 MB / 1.22 GB, free: 1.004 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003362/1.425, allocations: 1.002 MB / 1.221 GB, free: 15.96 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000699/1.426, allocations: 153.6 kB / 1.221 GB, free: 15.79 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002042/1.428, allocations: 0.5442 MB / 1.222 GB, free: 15.23 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=79): time 4.438e-06/1.428, allocations: 0 / 1.222 GB, free: 15.23 MB / 0.7605 GB Notification: Performance of matching and sorting (n=79): time 0.007882/1.436, allocations: 1.748 MB / 1.224 GB, free: 13.43 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.741e-05/1.436, allocations: 85.77 kB / 1.224 GB, free: 13.32 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003182/1.439, allocations: 1.31 MB / 1.225 GB, free: 12 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 0.0002582/1.439, allocations: 45.7 kB / 1.225 GB, free: 11.95 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.001031/1.44, allocations: 0.7361 MB / 1.226 GB, free: 11.21 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005291/1.441, allocations: 280 kB / 1.226 GB, free: 10.93 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.6e-05/1.441, allocations: 19.94 kB / 1.226 GB, free: 10.91 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001932/1.441, allocations: 345.9 kB / 1.226 GB, free: 10.57 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001801/1.443, allocations: 413.8 kB / 1.227 GB, free: 10.16 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002324/1.446, allocations: 0.6653 MB / 1.227 GB, free: 9.398 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002045/1.448, allocations: 0.5043 MB / 1.228 GB, free: 8.891 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.239e-05/1.448, allocations: 4 kB / 1.228 GB, free: 8.887 MB / 0.7605 GB Notification: Performance of matching and sorting (n=119) (initialization): time 0.005537/1.453, allocations: 1.365 MB / 1.229 GB, free: 7.504 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 0.001196/1.454, allocations: 2.101 MB / 1.231 GB, free: 5.203 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.529e-05/1.455, allocations: 7.984 kB / 1.231 GB, free: 5.195 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006913/1.455, allocations: 80.77 kB / 1.231 GB, free: 5.113 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00198/1.457, allocations: 203.7 kB / 1.232 GB, free: 4.914 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007413/1.458, allocations: 0.603 MB / 1.232 GB, free: 4.285 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002976/1.461, allocations: 198.9 kB / 1.232 GB, free: 4.09 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002253/1.461, allocations: 36 kB / 1.232 GB, free: 4.055 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.816e-05/1.461, allocations: 4 kB / 1.232 GB, free: 4.051 MB / 0.7605 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004695/1.466, allocations: 1.201 MB / 1.234 GB, free: 2.84 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.056e-05/1.466, allocations: 8 kB / 1.234 GB, free: 2.832 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002592/1.466, allocations: 48.83 kB / 1.234 GB, free: 2.781 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001883/1.468, allocations: 212 kB / 1.234 GB, free: 2.574 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002706/1.471, allocations: 1.607 MB / 1.235 GB, free: 0.8164 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004529/1.476, allocations: 183.1 kB / 1.236 GB, free: 0.6367 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003537/1.476, allocations: 47.92 kB / 1.236 GB, free: 0.5898 MB / 0.7605 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.002298/1.478, allocations: 0.4907 MB / 1.236 GB, free: 84 kB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008858/1.479, allocations: 158.1 kB / 1.236 GB, free: 15.93 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00738/1.487, allocations: 1.206 MB / 1.237 GB, free: 14.7 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.329e-05/1.487, allocations: 8 kB / 1.237 GB, free: 14.7 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.522e-06/1.487, allocations: 0 / 1.237 GB, free: 14.7 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006201/1.493, allocations: 1.076 MB / 1.239 GB, free: 13.58 MB / 0.7761 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.01369/1.507, allocations: 2.815 MB / 1.241 GB, free: 10.66 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.349e-05/1.507, allocations: 0 / 1.241 GB, free: 10.66 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002734/1.51, allocations: 188 kB / 1.241 GB, free: 10.47 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003506/1.51, allocations: 40.84 kB / 1.241 GB, free: 10.43 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000165/1.51, allocations: 27.98 kB / 1.242 GB, free: 10.4 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008437/1.511, allocations: 0.5874 MB / 1.242 GB, free: 9.789 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.791e-06/1.511, allocations: 0 / 1.242 GB, free: 9.789 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01001/1.521, allocations: 2 MB / 1.244 GB, free: 7.672 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00171/1.523, allocations: 327 kB / 1.244 GB, free: 7.332 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006748/1.524, allocations: 23.98 kB / 1.244 GB, free: 7.309 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003607/1.527, allocations: 116.9 kB / 1.244 GB, free: 7.195 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00034/1.528, allocations: 60.56 kB / 1.245 GB, free: 7.137 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002007/1.528, allocations: 27.98 kB / 1.245 GB, free: 7.109 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.00364/1.531, allocations: 0.8861 MB / 1.245 GB, free: 6.227 MB / 0.7761 GB Notification: Performance of sort global known variables: time 1.202e-06/1.531, allocations: 0 / 1.245 GB, free: 6.227 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.005607/1.537, allocations: 0.7988 MB / 1.246 GB, free: 5.426 MB / 0.7761 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.001355/1.539, allocations: 302.3 kB / 1.246 GB, free: 5.125 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.01062/1.549, allocations: 1.898 MB / 1.248 GB, free: 3.195 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.546e-05/1.549, allocations: 4 kB / 1.248 GB, free: 3.191 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.003338/1.553, allocations: 0.5734 MB / 1.249 GB, free: 2.605 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01083/1.564, allocations: 0.7802 MB / 1.25 GB, free: 1.832 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02105/1.585, allocations: 3.808 MB / 1.253 GB, free: 13.96 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001449/1.586, allocations: 1.363 MB / 1.255 GB, free: 12.57 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.002771/1.589, allocations: 364.4 kB / 1.255 GB, free: 12.21 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005776/1.59, allocations: 107.4 kB / 1.255 GB, free: 12.11 MB / 0.7917 GB Notification: Performance of SimCode: time 1.012e-06/1.59, allocations: 0 / 1.255 GB, free: 12.11 MB / 0.7917 GB Notification: Performance of Templates: time 0.07599/1.666, allocations: 26.48 MB / 1.281 GB, free: 1.879 MB / 0.8073 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Humidifiers.Examples.Humidifier_u.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.Humidifiers.Examples.Humidifier_u.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Humidifiers.Examples.Humidifier_u.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Humidifiers.Examples.Humidifier_u.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Humidifiers.Examples.Humidifier_u.sim & ./Buildings_8.0.0_Buildings.Fluid.Humidifiers.Examples.Humidifier_u -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Humidifiers.Examples.Humidifier_u.pipe 2>&1)