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.1-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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-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.1-maint.8.1.x/package.mo): time 1.578/1.578, allocations: 293 MB / 309 MB, free: 4.844 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.0009797/0.0009796, allocations: 179.8 kB / 378.7 MB, free: 1.043 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.407/1.407, allocations: 205.4 MB / 0.6383 GB, free: 8.176 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.0007988/0.0007988, allocations: 94.78 kB / 0.7527 GB, free: 62.79 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004116/0.0004117, allocations: 12 kB / 0.8768 GB, free: 10.45 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2419/0.2423, allocations: 116.4 MB / 0.9904 GB, free: 5.906 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.486/5.728, allocations: 2.088 GB / 3.079 GB, free: 127.3 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003869/5.729, allocations: 91.95 kB / 3.079 GB, free: 127.2 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 3.997/9.726, allocations: 1.025 GB / 4.104 GB, free: 143 MB / 0.9636 GB Notification: Performance of FrontEnd: time 2.064e-06/9.726, allocations: 0 / 4.104 GB, free: 143 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 0.000177/9.726, allocations: 50.48 kB / 4.104 GB, free: 143 MB / 0.9636 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.006698/9.733, allocations: 2.35 MB / 4.107 GB, free: 141.7 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 5.53e-05/9.733, allocations: 8.406 kB / 4.107 GB, free: 141.7 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003984/9.737, allocations: 0.6104 MB / 4.107 GB, free: 141.6 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003771/9.741, allocations: 1.513 MB / 4.109 GB, free: 141.1 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003536/9.741, allocations: 163.4 kB / 4.109 GB, free: 141.1 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002577/9.741, allocations: 123.5 kB / 4.109 GB, free: 141.1 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003288/9.745, allocations: 1.491 MB / 4.11 GB, free: 140.9 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.515e-05/9.745, allocations: 0 / 4.11 GB, free: 140.9 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001351/9.745, allocations: 51 kB / 4.11 GB, free: 140.9 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.916e-05/9.745, allocations: 42.17 kB / 4.11 GB, free: 140.9 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002844/9.748, allocations: 1.253 MB / 4.112 GB, free: 140.9 MB / 0.9636 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.01092/9.759, allocations: 6.055 MB / 4.118 GB, free: 138.3 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002001/9.761, allocations: 1.095 MB / 4.119 GB, free: 138 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001003/9.762, allocations: 0.5406 MB / 4.119 GB, free: 137.8 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005743/9.762, allocations: 317.4 kB / 4.119 GB, free: 137.5 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001133/9.763, allocations: 0.6037 MB / 4.12 GB, free: 137.3 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=82): time 4.379e-06/9.763, allocations: 3.938 kB / 4.12 GB, free: 137.3 MB / 0.9636 GB Notification: Performance of matching and sorting (n=82): time 0.004525/9.768, allocations: 1.808 MB / 4.122 GB, free: 136.6 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001192/9.768, allocations: 199.4 kB / 4.122 GB, free: 136.4 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002115/9.77, allocations: 1.314 MB / 4.123 GB, free: 135.9 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.0001542/9.77, allocations: 41.39 kB / 4.123 GB, free: 135.8 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006637/9.771, allocations: 0.745 MB / 4.124 GB, free: 135.2 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002969/9.771, allocations: 288.3 kB / 4.124 GB, free: 135 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.797e-05/9.771, allocations: 15.91 kB / 4.124 GB, free: 135 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001097/9.772, allocations: 343.6 kB / 4.125 GB, free: 134.7 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009063/9.772, allocations: 439.4 kB / 4.125 GB, free: 134.6 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001055/9.774, allocations: 0.6926 MB / 4.126 GB, free: 134.1 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001913/9.775, allocations: 1.11 MB / 4.127 GB, free: 133.6 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.342e-06/9.776, allocations: 7.625 kB / 4.127 GB, free: 133.6 MB / 0.9636 GB Notification: Performance of matching and sorting (n=107) (initialization): time 0.003067/9.779, allocations: 1.389 MB / 4.128 GB, free: 133 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001556/9.779, allocations: 250.9 kB / 4.128 GB, free: 132.8 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.355e-05/9.779, allocations: 5.906 kB / 4.129 GB, free: 132.8 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003693/9.779, allocations: 75.72 kB / 4.129 GB, free: 132.7 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008688/9.78, allocations: 210.1 kB / 4.129 GB, free: 132.7 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004491/9.78, allocations: 0.5935 MB / 4.129 GB, free: 132.2 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001954/9.782, allocations: 187.8 kB / 4.13 GB, free: 132.1 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001288/9.783, allocations: 43.56 kB / 4.13 GB, free: 132.1 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.024e-05/9.783, allocations: 5.594 kB / 4.13 GB, free: 132.1 MB / 0.9636 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002464/9.785, allocations: 1.226 MB / 4.131 GB, free: 131.7 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.162e-05/9.785, allocations: 7.562 kB / 4.131 GB, free: 131.7 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001402/9.785, allocations: 46.81 kB / 4.131 GB, free: 131.6 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008496/9.786, allocations: 204.8 kB / 4.131 GB, free: 131.6 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00151/9.788, allocations: 1.601 MB / 4.133 GB, free: 130.1 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002021/9.79, allocations: 186.7 kB / 4.133 GB, free: 130 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001266/9.79, allocations: 43.08 kB / 4.133 GB, free: 130 MB / 0.9636 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 (98): * Single equations (assignments): 96 * 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.001363/9.791, allocations: 0.4967 MB / 4.133 GB, free: 129.7 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005657/9.792, allocations: 165.8 kB / 4.133 GB, free: 129.6 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003097/9.795, allocations: 1.318 MB / 4.135 GB, free: 129.1 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.104e-05/9.795, allocations: 7.656 kB / 4.135 GB, free: 129.1 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/9.795, allocations: 0 / 4.135 GB, free: 129.1 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002093/9.797, allocations: 1.173 MB / 4.136 GB, free: 128.6 MB / 0.9636 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.00675/9.804, allocations: 2.998 MB / 4.139 GB, free: 127.2 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.662e-06/9.804, allocations: 0 / 4.139 GB, free: 127.2 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008972/9.805, allocations: 185.9 kB / 4.139 GB, free: 127.2 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001804/9.805, allocations: 61.55 kB / 4.139 GB, free: 127.1 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.197e-05/9.805, allocations: 26.08 kB / 4.139 GB, free: 127.1 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000384/9.805, allocations: 0.5897 MB / 4.14 GB, free: 126.6 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.367e-06/9.805, allocations: 0 / 4.14 GB, free: 126.6 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004211/9.81, allocations: 2.056 MB / 4.142 GB, free: 125.7 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001459/9.811, allocations: 360.9 kB / 4.142 GB, free: 125.4 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006934/9.812, allocations: 19.25 kB / 4.142 GB, free: 125.4 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0021/9.814, allocations: 132.8 kB / 4.142 GB, free: 125.4 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001906/9.814, allocations: 46.52 kB / 4.142 GB, free: 125.4 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001051/9.814, allocations: 35.77 kB / 4.142 GB, free: 125.4 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.002661/9.817, allocations: 0.8975 MB / 4.143 GB, free: 125 MB / 0.9636 GB Notification: Performance of sort global known variables: time 2.5e-07/9.817, allocations: 0 / 4.143 GB, free: 125 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.006295/9.823, allocations: 1.041 MB / 4.144 GB, free: 124.7 MB / 0.9636 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 (73): * Single equations (assignments): 71 * 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.004807/9.828, allocations: 2.353 MB / 4.146 GB, free: 123.8 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.004265/9.832, allocations: 1.932 MB / 4.148 GB, free: 123 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 8.235e-06/9.832, allocations: 3.812 kB / 4.148 GB, free: 123 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.001152/9.834, allocations: 0.6164 MB / 4.149 GB, free: 122.7 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005508/9.839, allocations: 0.803 MB / 4.15 GB, free: 122.5 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009295/9.848, allocations: 3.931 MB / 4.154 GB, free: 120.4 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001408/9.85, allocations: 1.336 MB / 4.155 GB, free: 119.7 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.00241/9.852, allocations: 378.7 kB / 4.155 GB, free: 119.6 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005406/9.853, allocations: 117.7 kB / 4.155 GB, free: 119.6 MB / 0.9636 GB Notification: Performance of SimCode: time 9.32e-07/9.853, allocations: 0 / 4.155 GB, free: 119.6 MB / 0.9636 GB Notification: Performance of Templates: time 0.08943/9.942, allocations: 54.06 MB / 4.208 GB, free: 83.2 MB / 0.9636 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)