Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Humidifiers.Examples.Humidifier_u.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/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 BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Fluid.Humidifiers.Examples.Humidifier_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Humidifiers.Examples.Humidifier_u") translateModel(BuildSysPro.IBPSA.Fluid.Humidifiers.Examples.Humidifier_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Humidifiers.Examples.Humidifier_u") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7159/0.7159, allocations: 127.4 MB / 134.6 MB, free: 4.086 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001159/0.001159, allocations: 185.3 kB / 164.4 MB, free: 6.879 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.83/1.83, allocations: 205.1 MB / 399.1 MB, free: 6.211 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001174/0.001174, allocations: 96.39 kB / 476.3 MB, free: 8.961 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 8.346e-06/8.476e-06, allocations: 0 / 0.546 GB, free: 42.78 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2132/0.2132, allocations: 76.74 MB / 0.6209 GB, free: 13.97 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.039/5.252, allocations: 2.164 GB / 2.785 GB, free: 33 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003013/5.253, allocations: 93.58 kB / 2.785 GB, free: 32.91 MB / 0.6355 GB Notification: Performance of FrontEnd: time 4.397/9.65, allocations: 1.031 GB / 3.815 GB, free: 83.11 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 0.0004025/9.651, allocations: 54.14 kB / 3.815 GB, free: 83.11 MB / 0.6667 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 304 * Number of variables: 304 Notification: Performance of Generate backend data structure: time 0.008352/9.659, allocations: 2.077 MB / 3.817 GB, free: 82.46 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.997e-05/9.659, allocations: 7.781 kB / 3.817 GB, free: 82.46 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005142/9.664, allocations: 0.6277 MB / 3.818 GB, free: 82.35 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00706/9.672, allocations: 1.618 MB / 3.82 GB, free: 82.01 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000139/9.672, allocations: 45.94 kB / 3.82 GB, free: 82.01 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007571/9.672, allocations: 77.12 kB / 3.82 GB, free: 82.01 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00366/9.676, allocations: 0.9828 MB / 3.821 GB, free: 82 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004086/9.68, allocations: 1.213 MB / 3.822 GB, free: 81.8 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.373e-05/9.68, allocations: 1.594 kB / 3.822 GB, free: 81.8 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002795/9.681, allocations: 3.594 kB / 3.822 GB, free: 81.8 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.732e-05/9.681, allocations: 41.08 kB / 3.822 GB, free: 81.79 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01285/9.694, allocations: 5.913 MB / 3.828 GB, free: 79.21 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009244/9.695, allocations: 0.5034 MB / 3.828 GB, free: 79.2 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006473/9.695, allocations: 420 kB / 3.829 GB, free: 79.19 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007626/9.696, allocations: 466.1 kB / 3.829 GB, free: 78.72 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008165/9.697, allocations: 492.8 kB / 3.83 GB, free: 78.64 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=78): time 4.729e-06/9.697, allocations: 3.938 kB / 3.83 GB, free: 78.64 MB / 0.6667 GB Notification: Performance of matching and sorting (n=78): time 0.005265/9.702, allocations: 1.155 MB / 3.831 GB, free: 78.51 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000128/9.702, allocations: 195 kB / 3.831 GB, free: 78.29 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002841/9.705, allocations: 0.906 MB / 3.832 GB, free: 78.14 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0002802/9.706, allocations: 29.45 kB / 3.832 GB, free: 78.11 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.001025/9.707, allocations: 0.5091 MB / 3.832 GB, free: 77.89 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004811/9.707, allocations: 259.2 kB / 3.832 GB, free: 77.76 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.333e-05/9.707, allocations: 0 / 3.832 GB, free: 77.76 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001766/9.707, allocations: 340.9 kB / 3.833 GB, free: 77.46 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006752/9.708, allocations: 311.6 kB / 3.833 GB, free: 77.45 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009401/9.709, allocations: 0.5505 MB / 3.834 GB, free: 77.18 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001324/9.71, allocations: 445.7 kB / 3.834 GB, free: 77.18 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.746e-06/9.71, allocations: 3.781 kB / 3.834 GB, free: 77.18 MB / 0.6667 GB Notification: Performance of matching and sorting (n=104) (initialization): time 0.004108/9.714, allocations: 1.152 MB / 3.835 GB, free: 77.04 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.00108/9.716, allocations: 1.693 MB / 3.837 GB, free: 75.32 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.716e-05/9.716, allocations: 6.344 kB / 3.837 GB, free: 75.32 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003845/9.716, allocations: 58.48 kB / 3.837 GB, free: 75.31 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00106/9.717, allocations: 178 kB / 3.837 GB, free: 75.31 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008264/9.718, allocations: 0.5986 MB / 3.838 GB, free: 74.79 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002457/9.72, allocations: 131.3 kB / 3.838 GB, free: 74.78 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002034/9.721, allocations: 39.52 kB / 3.838 GB, free: 74.78 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.424e-05/9.721, allocations: 6.281 kB / 3.838 GB, free: 74.78 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002452/9.723, allocations: 0.9487 MB / 3.839 GB, free: 74.66 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.265e-05/9.723, allocations: 3.875 kB / 3.839 GB, free: 74.66 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000158/9.723, allocations: 42.64 kB / 3.839 GB, free: 74.65 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008333/9.724, allocations: 157.8 kB / 3.839 GB, free: 74.65 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001587/9.726, allocations: 1.436 MB / 3.84 GB, free: 73.38 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001855/9.728, allocations: 106.8 kB / 3.84 GB, free: 73.36 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001295/9.728, allocations: 38.67 kB / 3.84 GB, free: 73.36 MB / 0.6667 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.0004821/9.728, allocations: 161.8 kB / 3.841 GB, free: 73.22 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006855/9.729, allocations: 148.2 kB / 3.841 GB, free: 73.15 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003839/9.733, allocations: 1.069 MB / 3.842 GB, free: 73.07 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.682e-05/9.733, allocations: 7.094 kB / 3.842 GB, free: 73.07 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.486e-06/9.733, allocations: 0 / 3.842 GB, free: 73.07 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002599/9.735, allocations: 0.9639 MB / 3.843 GB, free: 72.89 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008032/9.743, allocations: 2.449 MB / 3.845 GB, free: 72.5 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.246e-05/9.744, allocations: 1.406 kB / 3.845 GB, free: 72.5 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001026/9.745, allocations: 159.1 kB / 3.845 GB, free: 72.5 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002301/9.745, allocations: 53.44 kB / 3.845 GB, free: 72.49 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001119/9.745, allocations: 18.48 kB / 3.845 GB, free: 72.49 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003299/9.748, allocations: 1.571 MB / 3.847 GB, free: 71.22 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.866e-06/9.748, allocations: 3.031 kB / 3.847 GB, free: 71.22 MB / 0.6667 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005151/9.753, allocations: 1.784 MB / 3.849 GB, free: 70.75 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001886/9.755, allocations: 330.6 kB / 3.849 GB, free: 70.58 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008474/9.756, allocations: 7.531 kB / 3.849 GB, free: 70.57 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002117/9.758, allocations: 95.48 kB / 3.849 GB, free: 70.57 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002134/9.759, allocations: 51.97 kB / 3.849 GB, free: 70.57 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001589/9.759, allocations: 32.8 kB / 3.849 GB, free: 70.57 MB / 0.6667 GB Notification: Performance of sort global known variables: time 0.002497/9.761, allocations: 0.6834 MB / 3.85 GB, free: 70.46 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.006196/9.768, allocations: 0.9477 MB / 3.851 GB, free: 70.38 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 (69): * Single equations (assignments): 67 * 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.006389/9.774, allocations: 2.663 MB / 3.853 GB, free: 69.56 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.003924/9.778, allocations: 1.46 MB / 3.855 GB, free: 69.38 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 1.11e-05/9.778, allocations: 0 / 3.855 GB, free: 69.38 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.001084/9.779, allocations: 0.5623 MB / 3.855 GB, free: 69.25 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004759/9.784, allocations: 0.653 MB / 3.856 GB, free: 69.23 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01047/9.794, allocations: 2.5 MB / 3.858 GB, free: 68.6 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002168/9.796, allocations: 1.482 MB / 3.86 GB, free: 67.88 MB / 0.6667 GB Notification: Performance of SimCode: time 2.174e-06/9.797, allocations: 0 / 3.86 GB, free: 67.88 MB / 0.6667 GB Notification: Performance of Templates: time 0.08972/9.886, allocations: 44 MB / 3.903 GB, free: 66.54 MB / 0.6667 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Humidifiers.Examples.Humidifier_u.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Humidifiers.Examples.Humidifier_u.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Humidifiers.Examples.Humidifier_u.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Humidifiers.Examples.Humidifier_u.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Humidifiers.Examples.Humidifier_u.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Humidifiers.Examples.Humidifier_u -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Humidifiers.Examples.Humidifier_u.pipe 2>&1)