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: translateModel(Buildings.Fluid.Humidifiers.Examples.Humidifier_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Humidifiers.Examples.Humidifier_u") translateModel(Buildings.Fluid.Humidifiers.Examples.Humidifier_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Humidifiers.Examples.Humidifier_u") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.743/1.743, allocations: 292.6 MB / 307.5 MB, free: 5.238 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.001138/0.001138, allocations: 197 kB / 377.1 MB, free: 1.543 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.678/1.678, allocations: 205.4 MB / 0.6367 GB, free: 8.539 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.001055/0.001055, allocations: 94.86 kB / 0.751 GB, free: 63.22 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003763/0.0003763, allocations: 11.98 kB / 0.8748 GB, free: 11.21 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3003/0.3007, allocations: 116.3 MB / 0.9884 GB, free: 6.762 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.264/5.565, allocations: 2.088 GB / 3.076 GB, free: 93.42 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003001/5.566, allocations: 95.2 kB / 3.077 GB, free: 93.37 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 4.484/10.05, allocations: 1.037 GB / 4.114 GB, free: 117.3 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.615e-06/10.05, allocations: 0 / 4.114 GB, free: 117.3 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0004096/10.05, allocations: 49.77 kB / 4.114 GB, free: 117.3 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.008847/10.06, allocations: 2.369 MB / 4.116 GB, free: 115.6 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.649e-05/10.06, allocations: 7.844 kB / 4.116 GB, free: 115.6 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00466/10.06, allocations: 0.6117 MB / 4.117 GB, free: 115.3 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005617/10.07, allocations: 1.447 MB / 4.118 GB, free: 114.2 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004556/10.07, allocations: 164.5 kB / 4.118 GB, free: 114.1 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006681/10.07, allocations: 124.8 kB / 4.118 GB, free: 114.1 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004675/10.07, allocations: 1.478 MB / 4.12 GB, free: 113.2 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.423e-05/10.07, allocations: 0 / 4.12 GB, free: 113.2 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003049/10.08, allocations: 47.03 kB / 4.12 GB, free: 113.1 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.157e-05/10.08, allocations: 48.12 kB / 4.12 GB, free: 113.1 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003335/10.08, allocations: 1.246 MB / 4.121 GB, free: 112.5 MB / 0.948 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.01182/10.09, allocations: 6.013 MB / 4.127 GB, free: 106.6 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001905/10.09, allocations: 1.065 MB / 4.128 GB, free: 105.5 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005942/10.09, allocations: 311.9 kB / 4.128 GB, free: 105.1 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001191/10.09, allocations: 0.591 MB / 4.129 GB, free: 104.5 MB / 0.948 GB Notification: Performance of pre-optimization done (n=79): time 4.879e-06/10.09, allocations: 0 / 4.129 GB, free: 104.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=79): time 0.004269/10.1, allocations: 1.834 MB / 4.131 GB, free: 102.6 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.342e-05/10.1, allocations: 196.6 kB / 4.131 GB, free: 102.4 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002494/10.1, allocations: 1.143 MB / 4.132 GB, free: 101.3 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001511/10.1, allocations: 45.7 kB / 4.132 GB, free: 101.2 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008772/10.1, allocations: 0.7403 MB / 4.133 GB, free: 100.5 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002981/10.1, allocations: 276 kB / 4.133 GB, free: 100.2 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.678e-05/10.1, allocations: 16 kB / 4.133 GB, free: 100.2 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.763e-05/10.1, allocations: 341.9 kB / 4.133 GB, free: 99.83 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009081/10.1, allocations: 433.8 kB / 4.134 GB, free: 99.4 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001091/10.1, allocations: 0.679 MB / 4.134 GB, free: 98.62 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009534/10.11, allocations: 0.5178 MB / 4.135 GB, free: 98.1 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.459e-06/10.11, allocations: 0 / 4.135 GB, free: 98.1 MB / 0.948 GB Notification: Performance of matching and sorting (n=104) (initialization): time 0.002734/10.11, allocations: 1.347 MB / 4.136 GB, free: 96.74 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004424/10.11, allocations: 1.744 MB / 4.138 GB, free: 94.83 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.241e-05/10.11, allocations: 4 kB / 4.138 GB, free: 94.82 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000242/10.11, allocations: 52.83 kB / 4.138 GB, free: 94.77 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009067/10.11, allocations: 199.7 kB / 4.138 GB, free: 94.57 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000384/10.11, allocations: 0.5991 MB / 4.139 GB, free: 93.95 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002169/10.11, allocations: 191 kB / 4.139 GB, free: 93.76 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001133/10.11, allocations: 43.98 kB / 4.139 GB, free: 93.72 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.43e-05/10.11, allocations: 0.7812 kB / 4.139 GB, free: 93.72 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002603/10.12, allocations: 1.199 MB / 4.14 GB, free: 92.51 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.048e-05/10.12, allocations: 4 kB / 4.14 GB, free: 92.51 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000175/10.12, allocations: 53.27 kB / 4.14 GB, free: 92.45 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000988/10.12, allocations: 203.7 kB / 4.14 GB, free: 92.25 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001528/10.12, allocations: 1.6 MB / 4.142 GB, free: 90.51 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001971/10.12, allocations: 183.1 kB / 4.142 GB, free: 90.33 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.965e-05/10.12, allocations: 43.98 kB / 4.142 GB, free: 90.29 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 () * Number of clocked 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.001085/10.12, allocations: 0.4985 MB / 4.143 GB, free: 89.77 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002655/10.12, allocations: 154.1 kB / 4.143 GB, free: 89.62 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002421/10.12, allocations: 1.284 MB / 4.144 GB, free: 88.31 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.672e-06/10.12, allocations: 8 kB / 4.144 GB, free: 88.3 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.364e-06/10.12, allocations: 0 / 4.144 GB, free: 88.3 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001866/10.13, allocations: 1.154 MB / 4.145 GB, free: 87.11 MB / 0.948 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.004907/10.13, allocations: 2.947 MB / 4.148 GB, free: 84.05 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.35e-06/10.13, allocations: 4.031 kB / 4.148 GB, free: 84.05 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008936/10.13, allocations: 187.8 kB / 4.148 GB, free: 83.87 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001411/10.13, allocations: 40.84 kB / 4.148 GB, free: 83.82 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.632e-05/10.13, allocations: 27.98 kB / 4.148 GB, free: 83.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003309/10.13, allocations: 0.5875 MB / 4.149 GB, free: 83.18 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/10.13, allocations: 4.062 kB / 4.149 GB, free: 83.18 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003252/10.14, allocations: 2.141 MB / 4.151 GB, free: 80.93 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008525/10.14, allocations: 354.9 kB / 4.151 GB, free: 80.56 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001852/10.14, allocations: 27.95 kB / 4.151 GB, free: 80.53 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001193/10.14, allocations: 135.8 kB / 4.151 GB, free: 80.4 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001157/10.14, allocations: 44.5 kB / 4.151 GB, free: 80.36 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.262e-05/10.14, allocations: 31.98 kB / 4.151 GB, free: 80.32 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001296/10.14, allocations: 0.9019 MB / 4.152 GB, free: 79.43 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.613e-06/10.14, allocations: 0 / 4.152 GB, free: 79.43 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.003526/10.14, allocations: 1.047 MB / 4.153 GB, free: 78.38 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) * 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.004092/10.15, allocations: 2.366 MB / 4.156 GB, free: 75.93 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.003667/10.15, allocations: 1.898 MB / 4.158 GB, free: 74 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 6.372e-06/10.15, allocations: 0 / 4.158 GB, free: 74 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0009955/10.15, allocations: 0.6045 MB / 4.158 GB, free: 73.38 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004/10.16, allocations: 0.8093 MB / 4.159 GB, free: 72.58 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00754/10.16, allocations: 3.851 MB / 4.163 GB, free: 68.66 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000742/10.16, allocations: 1.363 MB / 4.164 GB, free: 67.27 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001965/10.17, allocations: 372.2 kB / 4.164 GB, free: 66.91 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003298/10.17, allocations: 103.4 kB / 4.164 GB, free: 66.8 MB / 0.948 GB Notification: Performance of SimCode: time 1.543e-06/10.17, allocations: 0 / 4.164 GB, free: 66.8 MB / 0.948 GB Notification: Performance of Templates: time 0.07748/10.24, allocations: 53.83 MB / 4.217 GB, free: 13.18 MB / 0.948 GB make -j1 -f Buildings_8_Buildings.Fluid.Humidifiers.Examples.Humidifier_u.makefile (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 & ./Buildings_8_Buildings.Fluid.Humidifiers.Examples.Humidifier_u -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Humidifiers.Examples.Humidifier_u.pipe 2>&1)