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.285/1.285, allocations: 252 MB / 267.9 MB, free: 10.91 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.0009091/0.0009092, allocations: 180.9 kB / 327.6 MB, free: 2.141 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.487/1.487, allocations: 205.4 MB / 0.5785 GB, free: 20.14 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.0007805/0.0007805, allocations: 94.55 kB / 0.6831 GB, free: 12.81 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003684/0.0003688, allocations: 13.91 kB / 0.7974 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1741/0.1745, allocations: 106.3 MB / 0.9012 GB, free: 63.68 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.999/4.173, allocations: 2.206 GB / 3.107 GB, free: 11.34 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002798/4.174, allocations: 91.95 kB / 3.107 GB, free: 11.25 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 3.311/7.484, allocations: 0.9953 GB / 4.102 GB, free: 30.39 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.663e-06/7.484, allocations: 4 kB / 4.102 GB, free: 30.39 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0002807/7.485, allocations: 40 kB / 4.102 GB, free: 30.35 MB / 0.8855 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.006137/7.491, allocations: 2.352 MB / 4.104 GB, free: 27.92 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.294e-05/7.491, allocations: 8.031 kB / 4.104 GB, free: 27.91 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003583/7.494, allocations: 0.6072 MB / 4.105 GB, free: 27.3 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00365/7.498, allocations: 1.513 MB / 4.107 GB, free: 25.73 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000328/7.498, allocations: 162.3 kB / 4.107 GB, free: 25.57 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003595/7.499, allocations: 127.9 kB / 4.107 GB, free: 25.45 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002955/7.502, allocations: 1.5 MB / 4.108 GB, free: 23.88 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.149e-05/7.502, allocations: 0 / 4.108 GB, free: 23.88 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001534/7.502, allocations: 48 kB / 4.108 GB, free: 23.83 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.205e-05/7.502, allocations: 46.28 kB / 4.108 GB, free: 23.78 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002548/7.505, allocations: 1.266 MB / 4.11 GB, free: 22.51 MB / 0.8855 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.008343/7.513, allocations: 6.043 MB / 4.116 GB, free: 16.11 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001566/7.514, allocations: 1.089 MB / 4.117 GB, free: 14.98 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008674/7.515, allocations: 0.5443 MB / 4.117 GB, free: 14.43 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004484/7.516, allocations: 311.9 kB / 4.117 GB, free: 14.07 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001013/7.517, allocations: 0.6105 MB / 4.118 GB, free: 13.44 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=82): time 3.055e-06/7.517, allocations: 0 / 4.118 GB, free: 13.44 MB / 0.8855 GB Notification: Performance of matching and sorting (n=82): time 0.003858/7.521, allocations: 1.795 MB / 4.12 GB, free: 11.61 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.21e-05/7.521, allocations: 196.6 kB / 4.12 GB, free: 11.38 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001811/7.523, allocations: 1.326 MB / 4.121 GB, free: 10.04 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0001127/7.523, allocations: 45.7 kB / 4.121 GB, free: 9.988 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005072/7.523, allocations: 0.7442 MB / 4.122 GB, free: 9.234 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002436/7.524, allocations: 283.9 kB / 4.122 GB, free: 8.953 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.559e-05/7.524, allocations: 16 kB / 4.122 GB, free: 8.938 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 8.486e-05/7.524, allocations: 345.9 kB / 4.123 GB, free: 8.594 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008256/7.524, allocations: 437.8 kB / 4.123 GB, free: 8.168 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000952/7.525, allocations: 0.6951 MB / 4.124 GB, free: 7.371 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001708/7.527, allocations: 1.108 MB / 4.125 GB, free: 6.195 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.831e-06/7.527, allocations: 4 kB / 4.125 GB, free: 6.191 MB / 0.8855 GB Notification: Performance of matching and sorting (n=107) (initialization): time 0.002553/7.53, allocations: 1.384 MB / 4.126 GB, free: 4.793 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001238/7.53, allocations: 253.2 kB / 4.126 GB, free: 4.477 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.012e-05/7.53, allocations: 4 kB / 4.126 GB, free: 4.473 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003464/7.53, allocations: 68.81 kB / 4.126 GB, free: 4.402 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008004/7.531, allocations: 207.7 kB / 4.127 GB, free: 4.199 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003301/7.531, allocations: 0.5913 MB / 4.127 GB, free: 3.582 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001571/7.533, allocations: 195.1 kB / 4.127 GB, free: 3.391 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.752e-05/7.533, allocations: 43.92 kB / 4.127 GB, free: 3.348 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 8.026e-06/7.533, allocations: 4 kB / 4.127 GB, free: 3.344 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002096/7.535, allocations: 1.22 MB / 4.129 GB, free: 2.113 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.714e-06/7.535, allocations: 7.938 kB / 4.129 GB, free: 2.105 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001193/7.535, allocations: 53.2 kB / 4.129 GB, free: 2.051 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007807/7.536, allocations: 207.8 kB / 4.129 GB, free: 1.848 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001256/7.537, allocations: 1.603 MB / 4.13 GB, free: 96 kB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001545/7.539, allocations: 187.2 kB / 4.131 GB, free: 15.91 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.91e-05/7.539, allocations: 43.97 kB / 4.131 GB, free: 15.87 MB / 0.9011 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.001027/7.54, allocations: 0.5039 MB / 4.131 GB, free: 15.35 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003623/7.541, allocations: 166 kB / 4.131 GB, free: 15.18 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002863/7.543, allocations: 1.309 MB / 4.133 GB, free: 13.86 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.726e-06/7.543, allocations: 8 kB / 4.133 GB, free: 13.85 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.527e-06/7.543, allocations: 3.984 kB / 4.133 GB, free: 13.84 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002371/7.546, allocations: 1.178 MB / 4.134 GB, free: 12.63 MB / 0.9011 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.007364/7.553, allocations: 2.977 MB / 4.137 GB, free: 9.531 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.348e-06/7.553, allocations: 8.062 kB / 4.137 GB, free: 9.523 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009853/7.554, allocations: 191.7 kB / 4.137 GB, free: 9.336 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002112/7.554, allocations: 44.84 kB / 4.137 GB, free: 9.289 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000102/7.555, allocations: 23.98 kB / 4.137 GB, free: 9.266 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005138/7.555, allocations: 0.5913 MB / 4.138 GB, free: 8.648 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.26e-06/7.555, allocations: 4 kB / 4.138 GB, free: 8.645 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004018/7.559, allocations: 2.043 MB / 4.14 GB, free: 6.551 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009667/7.56, allocations: 366.8 kB / 4.14 GB, free: 6.172 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004133/7.561, allocations: 20 kB / 4.14 GB, free: 6.152 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00142/7.562, allocations: 143.7 kB / 4.14 GB, free: 6.012 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001172/7.562, allocations: 52.44 kB / 4.14 GB, free: 5.961 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.744e-05/7.562, allocations: 35.97 kB / 4.14 GB, free: 5.926 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.001776/7.564, allocations: 0.9021 MB / 4.141 GB, free: 5.027 MB / 0.9011 GB Notification: Performance of sort global known variables: time 1.6e-07/7.564, allocations: 0 / 4.141 GB, free: 5.027 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.003941/7.568, allocations: 1.022 MB / 4.142 GB, free: 4.004 MB / 0.9011 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.003908/7.572, allocations: 2.34 MB / 4.144 GB, free: 1.484 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.4592/8.031, allocations: 1.926 MB / 4.146 GB, free: 139.5 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 1.096e-05/8.031, allocations: 1.438 kB / 4.146 GB, free: 139.5 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.001223/8.032, allocations: 0.6118 MB / 4.147 GB, free: 139.4 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004144/8.037, allocations: 0.8026 MB / 4.148 GB, free: 139.4 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007704/8.044, allocations: 3.955 MB / 4.151 GB, free: 137.9 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001462/8.046, allocations: 1.336 MB / 4.153 GB, free: 137.1 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.00235/8.048, allocations: 379.8 kB / 4.153 GB, free: 137.1 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004577/8.049, allocations: 113.4 kB / 4.153 GB, free: 137.1 MB / 0.9011 GB Notification: Performance of SimCode: time 1.543e-06/8.049, allocations: 0 / 4.153 GB, free: 137.1 MB / 0.9011 GB Notification: Performance of Templates: time 0.07658/8.125, allocations: 54.04 MB / 4.206 GB, free: 136.3 MB / 0.9011 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)