Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.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 4.0.0+maint.om/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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.HeatExchangers.BaseClasses.Examples.HACoilInside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside") translateModel(BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8191/0.8191, allocations: 141.7 MB / 154.3 MB, free: 15.48 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001043/0.001043, allocations: 184.2 kB / 187.3 MB, free: 11.88 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.431/1.431, allocations: 221.3 MB / 441.4 MB, free: 4.578 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008983/0.0008982, allocations: 96.8 kB / 0.5124 GB, free: 24.24 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001944/0.001943, allocations: 272 kB / 0.5939 GB, free: 7.934 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 5.203e-05/5.23e-05, allocations: 4 kB / 0.6834 GB, free: 12.21 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5043/0.5043, allocations: 82.76 MB / 0.7643 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1267/0.631, allocations: 110.5 MB / 0.8722 GB, free: 14 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002163/0.6313, allocations: 87.83 kB / 0.8723 GB, free: 13.92 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.01546/0.6468, allocations: 5.337 MB / 0.8775 GB, free: 8.59 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.735e-06/0.6468, allocations: 0 / 0.8775 GB, free: 8.59 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 1.155e-05/0.6468, allocations: 7.938 kB / 0.8775 GB, free: 8.582 MB / 0.5417 GB 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.0004438/0.6473, allocations: 399.6 kB / 0.8779 GB, free: 8.148 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.06e-05/0.6473, allocations: 8.031 kB / 0.8779 GB, free: 8.141 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001012/0.6474, allocations: 7.906 kB / 0.8779 GB, free: 8.133 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002333/0.6477, allocations: 202.8 kB / 0.8781 GB, free: 7.895 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.306e-05/0.6477, allocations: 7.938 kB / 0.8781 GB, free: 7.887 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.169e-05/0.6477, allocations: 0 / 0.8781 GB, free: 7.887 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000131/0.6479, allocations: 53.69 kB / 0.8781 GB, free: 7.828 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.666e-06/0.6479, allocations: 0 / 0.8781 GB, free: 7.828 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.509e-05/0.6479, allocations: 4 kB / 0.8782 GB, free: 7.824 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.6479, allocations: 0 / 0.8782 GB, free: 7.824 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.941e-05/0.648, allocations: 23.98 kB / 0.8782 GB, free: 7.801 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004916/0.6485, allocations: 308.8 kB / 0.8785 GB, free: 7.449 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 8.8e-05/0.6486, allocations: 46.52 kB / 0.8785 GB, free: 7.395 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.196e-05/0.6486, allocations: 24.97 kB / 0.8785 GB, free: 7.367 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 1.474e-05/0.6487, allocations: 4.062 kB / 0.8785 GB, free: 7.363 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.058e-05/0.6487, allocations: 30.56 kB / 0.8786 GB, free: 7.324 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=5): time 1.212e-06/0.6487, allocations: 0 / 0.8786 GB, free: 7.324 MB / 0.5417 GB Notification: Performance of matching and sorting (n=5): time 0.0002138/0.6489, allocations: 69.59 kB / 0.8786 GB, free: 7.25 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.95e-05/0.649, allocations: 55.41 kB / 0.8787 GB, free: 7.184 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.488e-05/0.6491, allocations: 123.6 kB / 0.8788 GB, free: 7.055 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.586e-05/0.6491, allocations: 25.7 kB / 0.8788 GB, free: 7.023 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 5.779e-05/0.6491, allocations: 92.14 kB / 0.8789 GB, free: 6.93 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 2.033e-05/0.6492, allocations: 19.64 kB / 0.8789 GB, free: 6.91 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.292e-06/0.6492, allocations: 4 kB / 0.8789 GB, free: 6.906 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001084/0.6493, allocations: 318.8 kB / 0.8792 GB, free: 6.586 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.278e-05/0.6493, allocations: 16 kB / 0.8793 GB, free: 6.57 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.281e-05/0.6494, allocations: 24.05 kB / 0.8793 GB, free: 6.547 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.675e-05/0.6494, allocations: 12 kB / 0.8793 GB, free: 6.535 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.6494, allocations: 0 / 0.8793 GB, free: 6.535 MB / 0.5417 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000132/0.6496, allocations: 65.69 kB / 0.8794 GB, free: 6.465 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.358e-05/0.6496, allocations: 8 kB / 0.8794 GB, free: 6.457 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.612e-06/0.6496, allocations: 3.281 kB / 0.8794 GB, free: 6.457 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.591e-05/0.6496, allocations: 7.875 kB / 0.8794 GB, free: 6.449 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001209/0.6497, allocations: 19.92 kB / 0.8794 GB, free: 6.43 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.313e-06/0.6498, allocations: 0 / 0.8794 GB, free: 6.43 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.073e-05/0.6498, allocations: 19.89 kB / 0.8794 GB, free: 6.41 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.929e-06/0.6498, allocations: 4 kB / 0.8794 GB, free: 6.406 MB / 0.5417 GB 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 () * 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 7.436e-05/0.6499, allocations: 104.9 kB / 0.8795 GB, free: 6.297 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.852e-05/0.65, allocations: 7.906 kB / 0.8795 GB, free: 6.289 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002082/0.6502, allocations: 77.77 kB / 0.8796 GB, free: 6.211 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.118e-06/0.6502, allocations: 4 kB / 0.8796 GB, free: 6.207 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.6502, allocations: 0 / 0.8796 GB, free: 6.207 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.6502, allocations: 0 / 0.8796 GB, free: 6.207 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001867/0.6504, allocations: 193.5 kB / 0.8798 GB, free: 5.969 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.51e-07/0.6504, allocations: 0 / 0.8798 GB, free: 5.969 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.671e-05/0.6505, allocations: 19.92 kB / 0.8798 GB, free: 5.949 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.848e-06/0.6505, allocations: 4 kB / 0.8798 GB, free: 5.945 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.628e-06/0.6505, allocations: 0 / 0.8798 GB, free: 5.945 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.6505, allocations: 0 / 0.8798 GB, free: 5.945 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.6506, allocations: 0 / 0.8798 GB, free: 5.945 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001885/0.6507, allocations: 175.7 kB / 0.88 GB, free: 5.758 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 5.031e-05/0.6508, allocations: 85.02 kB / 0.8801 GB, free: 5.656 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.027e-05/0.6508, allocations: 4 kB / 0.8801 GB, free: 5.652 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.56e-05/0.6509, allocations: 7.984 kB / 0.8801 GB, free: 5.645 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.207e-05/0.651, allocations: 4 kB / 0.8801 GB, free: 5.641 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.344e-06/0.651, allocations: 7.984 kB / 0.8801 GB, free: 5.633 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 7.504e-05/0.6511, allocations: 93.94 kB / 0.8802 GB, free: 5.543 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6511, allocations: 0 / 0.8802 GB, free: 5.543 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002386/0.6513, allocations: 28 kB / 0.8802 GB, free: 5.516 MB / 0.5417 GB 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 () * 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.0002309/0.6516, allocations: 123.1 kB / 0.8803 GB, free: 5.387 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0001242/0.6517, allocations: 36 kB / 0.8804 GB, free: 5.352 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.6517, allocations: 0 / 0.8804 GB, free: 5.352 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 5.32e-05/0.6518, allocations: 23.92 kB / 0.8804 GB, free: 5.328 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002526/0.652, allocations: 11.95 kB / 0.8804 GB, free: 5.316 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003798/0.6524, allocations: 105 kB / 0.8805 GB, free: 5.191 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004883/0.6529, allocations: 0.6965 MB / 0.8812 GB, free: 4.469 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 6.038e-05/0.653, allocations: 12.16 kB / 0.8812 GB, free: 4.457 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.097e-05/0.653, allocations: 11.44 kB / 0.8812 GB, free: 4.445 MB / 0.5417 GB Notification: Performance of SimCode: time 5.41e-07/0.653, allocations: 0 / 0.8812 GB, free: 4.445 MB / 0.5417 GB Notification: Performance of Templates: time 0.004544/0.6576, allocations: 0.958 MB / 0.8821 GB, free: 3.5 MB / 0.5417 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.sim & ./BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe 2>&1)