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.625/1.625, allocations: 289.7 MB / 302.2 MB, free: 2.203 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.001103/0.001103, allocations: 178.9 kB / 371.6 MB, free: 3.367 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.727/1.727, allocations: 205.1 MB / 0.6309 GB, free: 11.77 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.001019/0.001019, allocations: 90 kB / 0.745 GB, free: 54.58 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 3.719e-05/3.722e-05, allocations: 0 / 0.8662 GB, free: 15.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3179/0.318, allocations: 116.3 MB / 0.9798 GB, free: 10.63 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.964/6.282, allocations: 2.088 GB / 3.068 GB, free: 158 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002351/6.283, allocations: 88.47 kB / 3.068 GB, free: 157.9 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 3.815/10.1, allocations: 1.036 GB / 4.104 GB, free: 124.6 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.402e-06/10.1, allocations: 0 / 4.104 GB, free: 124.6 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001714/10.1, allocations: 46.89 kB / 4.104 GB, free: 124.6 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.004321/10.1, allocations: 2.058 MB / 4.106 GB, free: 123.5 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.383e-05/10.1, allocations: 6.969 kB / 4.106 GB, free: 123.5 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003614/10.11, allocations: 0.6128 MB / 4.106 GB, free: 123.4 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002982/10.11, allocations: 1.44 MB / 4.108 GB, free: 123 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003628/10.11, allocations: 161.9 kB / 4.108 GB, free: 123 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001964/10.11, allocations: 120.3 kB / 4.108 GB, free: 123 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002388/10.11, allocations: 1.363 MB / 4.109 GB, free: 122.8 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.868e-05/10.11, allocations: 3.938 kB / 4.109 GB, free: 122.8 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001283/10.11, allocations: 48.38 kB / 4.109 GB, free: 122.8 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.99e-05/10.11, allocations: 43.23 kB / 4.109 GB, free: 122.8 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001843/10.11, allocations: 1.036 MB / 4.11 GB, free: 122.7 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.008957/10.12, allocations: 6.025 MB / 4.116 GB, free: 120.1 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001098/10.12, allocations: 0.9064 MB / 4.117 GB, free: 119.9 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000596/10.12, allocations: 450.5 kB / 4.118 GB, free: 119.8 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005568/10.13, allocations: 309.7 kB / 4.118 GB, free: 119.5 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007655/10.13, allocations: 0.494 MB / 4.118 GB, free: 119.3 MB / 0.948 GB Notification: Performance of pre-optimization done (n=79): time 2.645e-06/10.13, allocations: 0 / 4.118 GB, free: 119.3 MB / 0.948 GB Notification: Performance of matching and sorting (n=79): time 0.002203/10.13, allocations: 1.036 MB / 4.119 GB, free: 118.9 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.687e-05/10.13, allocations: 191.9 kB / 4.12 GB, free: 118.6 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001515/10.13, allocations: 1.131 MB / 4.121 GB, free: 118.2 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001184/10.13, allocations: 41.61 kB / 4.121 GB, free: 118.1 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005759/10.13, allocations: 0.7422 MB / 4.122 GB, free: 117.6 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.000235/10.13, allocations: 271.2 kB / 4.122 GB, free: 117.4 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.461e-05/10.13, allocations: 15.66 kB / 4.122 GB, free: 117.3 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.768e-05/10.13, allocations: 342.1 kB / 4.122 GB, free: 117 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004688/10.13, allocations: 332.8 kB / 4.122 GB, free: 116.9 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006245/10.13, allocations: 0.5818 MB / 4.123 GB, free: 116.5 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005838/10.13, allocations: 427.2 kB / 4.123 GB, free: 116.3 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.73e-06/10.13, allocations: 3.281 kB / 4.123 GB, free: 116.3 MB / 0.948 GB Notification: Performance of matching and sorting (n=104) (initialization): time 0.001896/10.13, allocations: 1.161 MB / 4.125 GB, free: 115.8 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004584/10.14, allocations: 1.738 MB / 4.126 GB, free: 113.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.097e-05/10.14, allocations: 3.594 kB / 4.126 GB, free: 113.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002159/10.14, allocations: 58.64 kB / 4.126 GB, free: 113.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008549/10.14, allocations: 200.5 kB / 4.127 GB, free: 113.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003696/10.14, allocations: 0.5841 MB / 4.127 GB, free: 113.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001758/10.14, allocations: 197.3 kB / 4.127 GB, free: 113.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.839e-05/10.14, allocations: 33.84 kB / 4.127 GB, free: 113.3 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.103e-05/10.14, allocations: 7.75 kB / 4.127 GB, free: 113.3 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001539/10.14, allocations: 1.006 MB / 4.128 GB, free: 112.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.163e-06/10.14, allocations: 6.984 kB / 4.128 GB, free: 112.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001377/10.14, allocations: 44.92 kB / 4.128 GB, free: 112.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007967/10.14, allocations: 205.6 kB / 4.129 GB, free: 112.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001161/10.14, allocations: 1.593 MB / 4.13 GB, free: 111.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001726/10.14, allocations: 188 kB / 4.13 GB, free: 111.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.603e-05/10.14, allocations: 33.97 kB / 4.13 GB, free: 111.3 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.0003019/10.14, allocations: 197.7 kB / 4.13 GB, free: 111.1 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002449/10.14, allocations: 159.5 kB / 4.131 GB, free: 111 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001885/10.15, allocations: 1.091 MB / 4.132 GB, free: 110.5 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.334e-06/10.15, allocations: 7.5 kB / 4.132 GB, free: 110.5 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.906e-06/10.15, allocations: 3.219 kB / 4.132 GB, free: 110.5 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001205/10.15, allocations: 0.9648 MB / 4.133 GB, free: 110 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.00421/10.15, allocations: 2.759 MB / 4.135 GB, free: 108.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.482e-06/10.15, allocations: 7.688 kB / 4.135 GB, free: 108.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008652/10.15, allocations: 179.1 kB / 4.136 GB, free: 108.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001357/10.15, allocations: 43.72 kB / 4.136 GB, free: 108.7 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.611e-05/10.15, allocations: 27.69 kB / 4.136 GB, free: 108.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002935/10.15, allocations: 0.5855 MB / 4.136 GB, free: 108.1 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.935e-06/10.15, allocations: 3.656 kB / 4.136 GB, free: 108.1 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00231/10.16, allocations: 1.86 MB / 4.138 GB, free: 107 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001057/10.16, allocations: 347.4 kB / 4.138 GB, free: 106.8 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002008/10.16, allocations: 22.47 kB / 4.138 GB, free: 106.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001234/10.16, allocations: 137.4 kB / 4.138 GB, free: 106.8 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000137/10.16, allocations: 53.45 kB / 4.139 GB, free: 106.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.862e-05/10.16, allocations: 36.06 kB / 4.139 GB, free: 106.8 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001469/10.16, allocations: 0.8787 MB / 4.139 GB, free: 106.4 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.4e-07/10.16, allocations: 3.172 kB / 4.139 GB, free: 106.4 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.003438/10.16, allocations: 1.043 MB / 4.14 GB, free: 106.1 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.003546/10.17, allocations: 2.37 MB / 4.143 GB, free: 105.2 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002491/10.17, allocations: 1.657 MB / 4.144 GB, free: 104.4 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 5.881e-06/10.17, allocations: 0 / 4.144 GB, free: 104.4 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.00066/10.17, allocations: 0.5071 MB / 4.145 GB, free: 104.2 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004016/10.17, allocations: 0.8077 MB / 4.146 GB, free: 104 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006592/10.18, allocations: 2.553 MB / 4.148 GB, free: 103 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009059/10.18, allocations: 1.364 MB / 4.149 GB, free: 102.2 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.002335/10.18, allocations: 0.4939 MB / 4.15 GB, free: 102.1 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002422/10.18, allocations: 92.05 kB / 4.15 GB, free: 102.1 MB / 0.948 GB Notification: Performance of SimCode: time 9.42e-07/10.18, allocations: 0 / 4.15 GB, free: 102.1 MB / 0.948 GB Notification: Performance of Templates: time 0.07766/10.26, allocations: 62.37 MB / 4.211 GB, free: 66.46 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)