Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Humidifiers.Examples.Humidifier_u.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo", uses=false) Using package NcDataReader2 with version 2.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Fluid.Humidifiers.Examples.Humidifier_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Humidifiers.Examples.Humidifier_u") translateModel(BuildingSystems.Fluid.Humidifiers.Examples.Humidifier_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Humidifiers.Examples.Humidifier_u") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8593/0.8593, allocations: 140.1 MB / 156 MB, free: 5.176 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001047/0.001047, allocations: 171.3 kB / 188.5 MB, free: 15.84 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.457/1.457, allocations: 205.4 MB / 426.3 MB, free: 8.473 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007739/0.0007739, allocations: 93 kB / 0.4945 GB, free: 8.414 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo): time 0.001579/0.001579, allocations: 269.2 kB / 0.5728 GB, free: 66.24 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004907/0.0004906, allocations: 19.98 kB / 0.662 GB, free: 6.828 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3725/0.373, allocations: 79.3 MB / 0.7395 GB, free: 46.36 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.688/5.061, allocations: 2.057 GB / 2.797 GB, free: 231.3 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003158/5.062, allocations: 87.95 kB / 2.797 GB, free: 231.2 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 3.665/8.727, allocations: 1.025 GB / 3.822 GB, free: 95.59 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.314e-06/8.727, allocations: 0 / 3.822 GB, free: 95.59 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0003228/8.727, allocations: 48.92 kB / 3.822 GB, free: 95.59 MB / 0.698 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.007491/8.734, allocations: 2.357 MB / 3.824 GB, free: 94.84 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.879e-05/8.734, allocations: 9.969 kB / 3.824 GB, free: 94.84 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004229/8.739, allocations: 0.6048 MB / 3.825 GB, free: 94.73 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004952/8.744, allocations: 1.511 MB / 3.827 GB, free: 94.35 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004807/8.744, allocations: 161.4 kB / 3.827 GB, free: 94.35 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007239/8.745, allocations: 128.8 kB / 3.827 GB, free: 94.34 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004264/8.749, allocations: 1.494 MB / 3.828 GB, free: 94.13 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.656e-05/8.749, allocations: 0 / 3.828 GB, free: 94.13 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002396/8.75, allocations: 49.28 kB / 3.828 GB, free: 94.13 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.016e-05/8.75, allocations: 46.14 kB / 3.828 GB, free: 94.13 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002932/8.753, allocations: 1.256 MB / 3.83 GB, free: 94.11 MB / 0.698 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.01026/8.763, allocations: 6.033 MB / 3.835 GB, free: 91.63 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001802/8.765, allocations: 1.083 MB / 3.837 GB, free: 91.41 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001193/8.766, allocations: 0.5477 MB / 3.837 GB, free: 91.4 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005/8.766, allocations: 314.7 kB / 3.837 GB, free: 91.12 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001101/8.768, allocations: 0.612 MB / 3.838 GB, free: 91.04 MB / 0.698 GB Notification: Performance of pre-optimization done (n=82): time 4.208e-06/8.768, allocations: 0 / 3.838 GB, free: 91.04 MB / 0.698 GB Notification: Performance of matching and sorting (n=82): time 0.004502/8.772, allocations: 1.807 MB / 3.84 GB, free: 90.77 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.297e-05/8.772, allocations: 197.4 kB / 3.84 GB, free: 90.55 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002617/8.775, allocations: 1.314 MB / 3.841 GB, free: 90.38 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001533/8.775, allocations: 43.02 kB / 3.841 GB, free: 90.35 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007068/8.776, allocations: 0.7457 MB / 3.842 GB, free: 90.16 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002985/8.776, allocations: 287.8 kB / 3.842 GB, free: 90.02 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.499e-05/8.776, allocations: 18.41 kB / 3.842 GB, free: 90.02 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.85e-05/8.776, allocations: 336.4 kB / 3.843 GB, free: 89.71 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008759/8.777, allocations: 441.3 kB / 3.843 GB, free: 89.71 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001148/8.778, allocations: 0.6965 MB / 3.844 GB, free: 89.44 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002029/8.78, allocations: 1.112 MB / 3.845 GB, free: 89.21 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.745e-06/8.78, allocations: 3.938 kB / 3.845 GB, free: 89.21 MB / 0.698 GB Notification: Performance of matching and sorting (n=107) (initialization): time 0.003143/8.783, allocations: 1.39 MB / 3.846 GB, free: 89.04 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001523/8.784, allocations: 251.4 kB / 3.846 GB, free: 88.77 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.227e-05/8.784, allocations: 5.938 kB / 3.846 GB, free: 88.77 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003852/8.784, allocations: 77.67 kB / 3.846 GB, free: 88.76 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008699/8.785, allocations: 204.5 kB / 3.847 GB, free: 88.76 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003906/8.785, allocations: 0.5977 MB / 3.847 GB, free: 88.24 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001948/8.787, allocations: 193.5 kB / 3.847 GB, free: 88.21 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001362/8.787, allocations: 41.66 kB / 3.847 GB, free: 88.21 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.096e-05/8.787, allocations: 3.5 kB / 3.847 GB, free: 88.21 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002442/8.79, allocations: 1.221 MB / 3.849 GB, free: 88.15 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.488e-06/8.79, allocations: 3.188 kB / 3.849 GB, free: 88.15 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001474/8.79, allocations: 56.8 kB / 3.849 GB, free: 88.14 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008304/8.791, allocations: 207.7 kB / 3.849 GB, free: 88.14 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001447/8.792, allocations: 1.604 MB / 3.85 GB, free: 86.75 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001927/8.794, allocations: 191.9 kB / 3.851 GB, free: 86.72 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001192/8.794, allocations: 36.59 kB / 3.851 GB, free: 86.72 MB / 0.698 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.001206/8.796, allocations: 0.5 MB / 3.851 GB, free: 86.5 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005404/8.796, allocations: 167.4 kB / 3.851 GB, free: 86.42 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002992/8.799, allocations: 1.307 MB / 3.853 GB, free: 86.3 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.648e-06/8.799, allocations: 8.812 kB / 3.853 GB, free: 86.3 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/8.799, allocations: 2.375 kB / 3.853 GB, free: 86.3 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002083/8.801, allocations: 1.186 MB / 3.854 GB, free: 86.09 MB / 0.698 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.006333/8.808, allocations: 2.996 MB / 3.857 GB, free: 85.56 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.794e-06/8.808, allocations: 0 / 3.857 GB, free: 85.56 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008766/8.809, allocations: 191.4 kB / 3.857 GB, free: 85.56 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001544/8.809, allocations: 51 kB / 3.857 GB, free: 85.55 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.143e-05/8.809, allocations: 21.67 kB / 3.857 GB, free: 85.55 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003084/8.809, allocations: 0.5876 MB / 3.858 GB, free: 85.04 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.477e-06/8.809, allocations: 7.188 kB / 3.858 GB, free: 85.04 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003663/8.813, allocations: 2.047 MB / 3.86 GB, free: 84.68 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001122/8.814, allocations: 360.7 kB / 3.86 GB, free: 84.5 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005133/8.815, allocations: 30.55 kB / 3.86 GB, free: 84.5 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001558/8.816, allocations: 126.9 kB / 3.86 GB, free: 84.5 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001271/8.816, allocations: 54.58 kB / 3.86 GB, free: 84.5 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.661e-05/8.816, allocations: 36.75 kB / 3.86 GB, free: 84.5 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001888/8.818, allocations: 0.8943 MB / 3.861 GB, free: 84.39 MB / 0.698 GB Notification: Performance of sort global known variables: time 3e-07/8.818, allocations: 3.594 kB / 3.861 GB, free: 84.39 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.004394/8.823, allocations: 1.035 MB / 3.862 GB, free: 84.32 MB / 0.698 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.004387/8.827, allocations: 2.353 MB / 3.864 GB, free: 83.5 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.004076/8.831, allocations: 1.931 MB / 3.866 GB, free: 83.25 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.054e-05/8.831, allocations: 2.625 kB / 3.866 GB, free: 83.25 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001174/8.832, allocations: 0.6202 MB / 3.867 GB, free: 83.18 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005447/8.838, allocations: 0.8096 MB / 3.868 GB, free: 83.16 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009614/8.847, allocations: 3.938 MB / 3.871 GB, free: 81.59 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001512/8.849, allocations: 1.334 MB / 3.873 GB, free: 80.88 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.002479/8.852, allocations: 378.2 kB / 3.873 GB, free: 80.87 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005142/8.852, allocations: 108.8 kB / 3.873 GB, free: 80.86 MB / 0.698 GB Notification: Performance of SimCode: time 8.91e-07/8.852, allocations: 3.656 kB / 3.873 GB, free: 80.86 MB / 0.698 GB Notification: Performance of Templates: time 0.08731/8.939, allocations: 54.08 MB / 3.926 GB, free: 78.38 MB / 0.698 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Humidifiers.Examples.Humidifier_u.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Humidifiers.Examples.Humidifier_u.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Humidifiers.Examples.Humidifier_u.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Humidifiers.Examples.Humidifier_u.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Humidifiers.Examples.Humidifier_u.sim & ./BuildingSystems_BuildingSystems.Fluid.Humidifiers.Examples.Humidifier_u -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Humidifiers.Examples.Humidifier_u.pipe 2>&1)