Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IBPSA with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside") translateModel(IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00101/0.00101, allocations: 173 kB / 16.76 MB, free: 5.059 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 0.4956/0.4956, allocations: 86.27 MB / 103.8 MB, free: 14.55 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.313/1.313, allocations: 223.3 MB / 348.4 MB, free: 4.977 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009069/0.0009068, allocations: 90.98 kB / 420.2 MB, free: 9.652 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004028/0.0004029, allocations: 15.98 kB / 0.4901 GB, free: 8.004 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3295/0.3299, allocations: 71.02 MB / 0.5595 GB, free: 43.71 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1178/0.4477, allocations: 102.1 MB / 0.6592 GB, free: 7.422 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002053/0.448, allocations: 83.95 kB / 0.6592 GB, free: 7.34 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01613/0.4641, allocations: 5.34 MB / 0.6645 GB, free: 1.988 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.954e-06/0.4642, allocations: 0 / 0.6645 GB, free: 1.988 MB / 474.7 MB Notification: Performance of Transformations before backend: time 1.086e-05/0.4642, allocations: 0 / 0.6645 GB, free: 1.988 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005243/0.4647, allocations: 415.1 kB / 0.6648 GB, free: 1.531 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.321e-05/0.4648, allocations: 8.031 kB / 0.6649 GB, free: 1.523 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001093/0.4649, allocations: 12.84 kB / 0.6649 GB, free: 1.512 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002526/0.4652, allocations: 192.3 kB / 0.665 GB, free: 1.285 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.763e-05/0.4652, allocations: 16.34 kB / 0.6651 GB, free: 1.27 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.151e-05/0.4652, allocations: 384 / 0.6651 GB, free: 1.27 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001785/0.4654, allocations: 70.22 kB / 0.6651 GB, free: 1.195 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.769e-06/0.4654, allocations: 7.875 kB / 0.6651 GB, free: 1.188 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.068e-05/0.4654, allocations: 0 / 0.6651 GB, free: 1.188 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.352e-06/0.4654, allocations: 4 kB / 0.6651 GB, free: 1.184 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001484/0.4656, allocations: 51.91 kB / 0.6652 GB, free: 1.133 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005162/0.4661, allocations: 304.8 kB / 0.6655 GB, free: 0.7852 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001387/0.4663, allocations: 62.55 kB / 0.6655 GB, free: 0.7148 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.864e-05/0.4663, allocations: 28.97 kB / 0.6656 GB, free: 0.6836 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.771e-05/0.4664, allocations: 4 kB / 0.6656 GB, free: 0.6797 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.077e-05/0.4664, allocations: 30.56 kB / 0.6656 GB, free: 0.6406 MB / 474.7 MB Notification: Performance of pre-optimization done (n=5): time 1.423e-06/0.4664, allocations: 0 / 0.6656 GB, free: 0.6406 MB / 474.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003793/0.4668, allocations: 125.5 kB / 0.6657 GB, free: 0.5117 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.515e-05/0.4668, allocations: 51.41 kB / 0.6658 GB, free: 460 kB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001212/0.467, allocations: 135.6 kB / 0.6659 GB, free: 316 kB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 1.494e-05/0.467, allocations: 29.7 kB / 0.6659 GB, free: 280 kB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.072e-05/0.467, allocations: 92.14 kB / 0.666 GB, free: 184 kB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.252e-05/0.4671, allocations: 19.66 kB / 0.666 GB, free: 164 kB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.298e-06/0.4671, allocations: 0 / 0.666 GB, free: 164 kB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001385/0.4672, allocations: 322.8 kB / 0.6663 GB, free: 15.84 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.662e-05/0.4673, allocations: 27.98 kB / 0.6664 GB, free: 15.81 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.797e-05/0.4674, allocations: 27.98 kB / 0.6664 GB, free: 15.78 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001512/0.4676, allocations: 64.77 kB / 0.6665 GB, free: 15.71 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.4676, allocations: 0 / 0.6665 GB, free: 15.71 MB / 490.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002304/0.4678, allocations: 101.9 kB / 0.6666 GB, free: 15.61 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.566e-05/0.4678, allocations: 4 kB / 0.6666 GB, free: 15.61 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/0.4678, allocations: 0 / 0.6666 GB, free: 15.61 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.213e-05/0.4679, allocations: 4.062 kB / 0.6666 GB, free: 15.6 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001177/0.468, allocations: 23.98 kB / 0.6666 GB, free: 15.58 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.394e-06/0.468, allocations: 0 / 0.6666 GB, free: 15.58 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.867e-05/0.4681, allocations: 4 kB / 0.6666 GB, free: 15.57 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.328e-05/0.4681, allocations: 11.97 kB / 0.6666 GB, free: 15.56 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.172e-05/0.4682, allocations: 117.8 kB / 0.6667 GB, free: 15.44 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.161e-05/0.4682, allocations: 11.84 kB / 0.6667 GB, free: 15.43 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002489/0.4685, allocations: 106 kB / 0.6668 GB, free: 15.32 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.916e-06/0.4685, allocations: 0 / 0.6668 GB, free: 15.32 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/0.4685, allocations: 0 / 0.6668 GB, free: 15.32 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.6e-06/0.4685, allocations: 4 kB / 0.6668 GB, free: 15.31 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001956/0.4687, allocations: 189.6 kB / 0.667 GB, free: 15.08 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.4687, allocations: 4 kB / 0.667 GB, free: 15.07 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.418e-05/0.4688, allocations: 15.98 kB / 0.667 GB, free: 15.06 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.4688, allocations: 0 / 0.667 GB, free: 15.06 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.828e-06/0.4688, allocations: 4 kB / 0.667 GB, free: 15.05 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.953e-06/0.4689, allocations: 0 / 0.667 GB, free: 15.05 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.4689, allocations: 0 / 0.667 GB, free: 15.05 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002741/0.4691, allocations: 203.3 kB / 0.6672 GB, free: 14.84 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.046e-05/0.4692, allocations: 85.02 kB / 0.6673 GB, free: 14.74 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.535e-05/0.4692, allocations: 0 / 0.6673 GB, free: 14.74 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.259e-05/0.4693, allocations: 7.984 kB / 0.6673 GB, free: 14.73 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.815e-05/0.4694, allocations: 8 kB / 0.6673 GB, free: 14.72 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.52e-06/0.4694, allocations: 0 / 0.6673 GB, free: 14.72 MB / 490.7 MB Notification: Performance of sorting global known variables: time 6.299e-05/0.4694, allocations: 108.3 kB / 0.6674 GB, free: 14.62 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4694, allocations: 0 / 0.6674 GB, free: 14.62 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002396/0.4697, allocations: 19.94 kB / 0.6674 GB, free: 14.6 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000181/0.4699, allocations: 115.8 kB / 0.6676 GB, free: 14.47 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.000199/0.4701, allocations: 72.02 kB / 0.6676 GB, free: 14.4 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.4701, allocations: 3.938 kB / 0.6676 GB, free: 14.4 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 8.198e-05/0.4702, allocations: 31.98 kB / 0.6677 GB, free: 14.37 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002997/0.4705, allocations: 17.98 kB / 0.6677 GB, free: 14.35 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004217/0.4709, allocations: 222.4 kB / 0.6679 GB, free: 14.11 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002725/0.4712, allocations: 0.6887 MB / 0.6686 GB, free: 13.39 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 5.422e-05/0.4713, allocations: 11.98 kB / 0.6686 GB, free: 13.38 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.932e-05/0.4713, allocations: 11.42 kB / 0.6686 GB, free: 13.37 MB / 490.7 MB Notification: Performance of SimCode: time 2.4e-07/0.4713, allocations: 7.938 kB / 0.6686 GB, free: 13.36 MB / 490.7 MB Notification: Performance of Templates: time 0.003348/0.4747, allocations: 0.9517 MB / 0.6695 GB, free: 12.42 MB / 490.7 MB make -j1 -f IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.makefile (rm -f IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.sim & ./IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe 2>&1)