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.8733/0.8733, allocations: 143.4 MB / 158.3 MB, free: 5.789 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001196/0.001196, allocations: 169.1 kB / 191.5 MB, free: 5.742 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.579/1.579, allocations: 223.2 MB / 447.7 MB, free: 4.789 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.0009876/0.0009878, allocations: 104.2 kB / 0.5188 GB, free: 1.137 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001859/0.001859, allocations: 263.4 kB / 0.6005 GB, free: 48.73 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004483/0.0004483, allocations: 12.47 kB / 0.6929 GB, free: 59.59 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1925/0.1929, allocations: 82.8 MB / 0.7737 GB, free: 13.83 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5617/0.7546, allocations: 110.6 MB / 0.8817 GB, free: 108.4 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002374/0.7549, allocations: 86.48 kB / 0.8818 GB, free: 108.4 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.01646/0.7714, allocations: 5.342 MB / 0.887 GB, free: 107.8 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.375e-06/0.7715, allocations: 4 kB / 0.887 GB, free: 107.8 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 1.083e-05/0.7715, allocations: 0 / 0.887 GB, free: 107.8 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.0005169/0.772, allocations: 413.9 kB / 0.8874 GB, free: 107.4 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.733e-05/0.7721, allocations: 10.5 kB / 0.8874 GB, free: 107.4 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001217/0.7722, allocations: 11.45 kB / 0.8874 GB, free: 107.4 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002085/0.7724, allocations: 197.6 kB / 0.8876 GB, free: 107.2 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.174e-05/0.7724, allocations: 4 kB / 0.8876 GB, free: 107.2 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.371e-05/0.7724, allocations: 3.312 kB / 0.8876 GB, free: 107.2 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001996/0.7726, allocations: 63.73 kB / 0.8877 GB, free: 107.2 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.127e-06/0.7727, allocations: 4.641 kB / 0.8877 GB, free: 107.2 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.192e-05/0.7727, allocations: 0.875 kB / 0.8877 GB, free: 107.2 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.54e-06/0.7727, allocations: 1.062 kB / 0.8877 GB, free: 107.2 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001579/0.7729, allocations: 53.77 kB / 0.8877 GB, free: 107.1 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004865/0.7734, allocations: 307.3 kB / 0.888 GB, free: 106.9 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000132/0.7735, allocations: 55.86 kB / 0.8881 GB, free: 106.9 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 1.902e-05/0.7735, allocations: 3 kB / 0.8881 GB, free: 106.9 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.133e-05/0.7736, allocations: 42.38 kB / 0.8881 GB, free: 106.8 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=5): time 2.495e-06/0.7736, allocations: 3.984 kB / 0.8881 GB, free: 106.8 MB / 0.5417 GB Notification: Performance of matching and sorting (n=5): time 0.0003694/0.7739, allocations: 118.9 kB / 0.8883 GB, free: 106.8 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.927e-05/0.774, allocations: 54.62 kB / 0.8883 GB, free: 106.7 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.78e-05/0.7741, allocations: 117.1 kB / 0.8884 GB, free: 106.6 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.099e-05/0.7741, allocations: 25.7 kB / 0.8884 GB, free: 106.6 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 4.268e-05/0.7741, allocations: 96.91 kB / 0.8885 GB, free: 106.5 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 1.862e-05/0.7742, allocations: 23.5 kB / 0.8886 GB, free: 106.5 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.498e-06/0.7742, allocations: 0 / 0.8886 GB, free: 106.5 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 6.017e-05/0.7742, allocations: 323.5 kB / 0.8889 GB, free: 106.2 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.603e-05/0.7743, allocations: 24.33 kB / 0.8889 GB, free: 106.2 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.692e-05/0.7744, allocations: 28.67 kB / 0.8889 GB, free: 106.2 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.128e-05/0.7745, allocations: 40.45 kB / 0.889 GB, free: 106.1 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.7745, allocations: 0 / 0.889 GB, free: 106.1 MB / 0.5417 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002088/0.7747, allocations: 95.78 kB / 0.889 GB, free: 106.1 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 2.004e-05/0.7747, allocations: 7.484 kB / 0.8891 GB, free: 106.1 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.7747, allocations: 0 / 0.8891 GB, free: 106.1 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.654e-05/0.7748, allocations: 5.344 kB / 0.8891 GB, free: 106.1 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001224/0.7749, allocations: 16.69 kB / 0.8891 GB, free: 106.1 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.021e-06/0.7749, allocations: 0 / 0.8891 GB, free: 106.1 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.409e-05/0.775, allocations: 7.406 kB / 0.8891 GB, free: 106.1 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.063e-05/0.775, allocations: 4.062 kB / 0.8891 GB, free: 106.1 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 () * 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 7.151e-05/0.7751, allocations: 121.6 kB / 0.8892 GB, free: 106 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.723e-05/0.7751, allocations: 5.219 kB / 0.8892 GB, free: 106 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002543/0.7754, allocations: 110.9 kB / 0.8893 GB, free: 105.9 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.7754, allocations: 0 / 0.8893 GB, free: 105.9 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.65e-06/0.7754, allocations: 0.6562 kB / 0.8893 GB, free: 105.9 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.446e-06/0.7754, allocations: 0 / 0.8893 GB, free: 105.9 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001674/0.7756, allocations: 183.5 kB / 0.8895 GB, free: 105.8 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.7756, allocations: 0 / 0.8895 GB, free: 105.8 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.696e-05/0.7757, allocations: 20.8 kB / 0.8895 GB, free: 105.7 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.7757, allocations: 0 / 0.8895 GB, free: 105.7 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.189e-05/0.7757, allocations: 5.641 kB / 0.8895 GB, free: 105.7 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.7757, allocations: 0.6562 kB / 0.8895 GB, free: 105.7 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.436e-06/0.7757, allocations: 1.062 kB / 0.8895 GB, free: 105.7 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002559/0.776, allocations: 200.5 kB / 0.8897 GB, free: 105.6 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 2.796e-05/0.776, allocations: 85.69 kB / 0.8898 GB, free: 105.5 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.723e-05/0.776, allocations: 0.6562 kB / 0.8898 GB, free: 105.5 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.384e-05/0.7761, allocations: 8.641 kB / 0.8898 GB, free: 105.5 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.963e-05/0.7762, allocations: 6.391 kB / 0.8898 GB, free: 105.5 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.306e-06/0.7762, allocations: 4.203 kB / 0.8898 GB, free: 105.5 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 5.08e-05/0.7762, allocations: 103.8 kB / 0.8899 GB, free: 105.4 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7763, allocations: 7.938 kB / 0.8899 GB, free: 105.4 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002469/0.7765, allocations: 28.75 kB / 0.8899 GB, free: 105.4 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 () * 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.0001674/0.7767, allocations: 110.9 kB / 0.89 GB, free: 105.3 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0002245/0.7769, allocations: 63.61 kB / 0.8901 GB, free: 105.3 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/0.7769, allocations: 5.031 kB / 0.8901 GB, free: 105.3 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 9.048e-05/0.777, allocations: 38.31 kB / 0.8901 GB, free: 105.3 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002377/0.7773, allocations: 6.047 kB / 0.8902 GB, free: 105.3 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004637/0.7777, allocations: 232.2 kB / 0.8904 GB, free: 105.1 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001515/0.7779, allocations: 0.6963 MB / 0.8911 GB, free: 104.5 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 5.355e-05/0.778, allocations: 5.484 kB / 0.8911 GB, free: 104.5 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.169e-05/0.778, allocations: 14.61 kB / 0.8911 GB, free: 104.4 MB / 0.5417 GB Notification: Performance of SimCode: time 8.82e-07/0.778, allocations: 1.125 kB / 0.8911 GB, free: 104.4 MB / 0.5417 GB Notification: Performance of Templates: time 0.003561/0.7816, allocations: 0.9497 MB / 0.892 GB, free: 104.4 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)