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/ModelicaServices 4.0.0+maint.om/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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001596/0.001596, allocations: 111.3 kB / 15.23 MB, free: 0.6602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001917/0.001917, allocations: 199.2 kB / 16.14 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.331/1.331, allocations: 222.9 MB / 239.8 MB, free: 4.57 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001988/0.001988, allocations: 278.3 kB / 290.2 MB, free: 2.184 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9426/0.9426, allocations: 169.2 MB / 0.4977 GB, free: 14.16 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001658/0.001658, allocations: 91.59 kB / 0.5945 GB, free: 28.32 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1481/0.1498, allocations: 86.99 MB / 0.6794 GB, free: 1.141 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside): time 0.002561/0.1524, allocations: 1.631 MB / 0.681 GB, free: 15.51 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001304/0.1537, allocations: 0.9276 MB / 0.6819 GB, free: 14.58 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.719e-05/0.1537, allocations: 6.062 kB / 0.6819 GB, free: 14.57 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.801e-05/0.1538, allocations: 3.938 kB / 0.6819 GB, free: 14.57 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001469/0.1539, allocations: 19.84 kB / 0.682 GB, free: 14.55 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002476/0.1542, allocations: 102.2 kB / 0.6821 GB, free: 14.45 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001117/0.1543, allocations: 71.66 kB / 0.6821 GB, free: 14.38 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.973e-05/0.1544, allocations: 16.75 kB / 0.6821 GB, free: 14.37 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.667e-05/0.1545, allocations: 28.78 kB / 0.6822 GB, free: 14.34 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001034/0.1546, allocations: 35.84 kB / 0.6822 GB, free: 14.3 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.544e-05/0.1546, allocations: 4.531 kB / 0.6822 GB, free: 14.3 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003489/0.155, allocations: 276.8 kB / 0.6825 GB, free: 14.03 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.751e-05/0.155, allocations: 11.92 kB / 0.6825 GB, free: 14.02 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.877e-05/0.155, allocations: 27.8 kB / 0.6825 GB, free: 13.99 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000202/0.1552, allocations: 156.8 kB / 0.6827 GB, free: 13.84 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/0.1553, allocations: 0 / 0.6827 GB, free: 13.84 MB / 494.1 MB Notification: Performance of FrontEnd: time 9.21e-07/0.1553, allocations: 3.938 kB / 0.6827 GB, free: 13.84 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.001e-06/0.1553, allocations: 4 kB / 0.6827 GB, free: 13.83 MB / 494.1 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.000499/0.1558, allocations: 407.1 kB / 0.6831 GB, free: 13.39 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.891e-05/0.1558, allocations: 8.031 kB / 0.6831 GB, free: 13.38 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001081/0.1559, allocations: 12.84 kB / 0.6831 GB, free: 13.37 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001514/0.1561, allocations: 180.2 kB / 0.6833 GB, free: 13.15 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.42e-06/0.1561, allocations: 4.375 kB / 0.6833 GB, free: 13.15 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.265e-05/0.1561, allocations: 384 / 0.6833 GB, free: 13.15 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001692/0.1563, allocations: 77.95 kB / 0.6833 GB, free: 13.07 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.073e-06/0.1563, allocations: 0 / 0.6833 GB, free: 13.07 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.017e-06/0.1563, allocations: 0 / 0.6833 GB, free: 13.07 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.186e-06/0.1563, allocations: 0 / 0.6833 GB, free: 13.07 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001401/0.1565, allocations: 43.91 kB / 0.6834 GB, free: 13.02 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003972/0.1569, allocations: 308.7 kB / 0.6837 GB, free: 12.67 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001322/0.157, allocations: 46.56 kB / 0.6837 GB, free: 12.62 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.58e-05/0.1571, allocations: 32.97 kB / 0.6837 GB, free: 12.58 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.561e-05/0.1571, allocations: 7.922 kB / 0.6838 GB, free: 12.57 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.874e-05/0.1572, allocations: 30.56 kB / 0.6838 GB, free: 12.54 MB / 494.1 MB Notification: Performance of pre-optimization done (n=5): time 1.132e-06/0.1572, allocations: 4 kB / 0.6838 GB, free: 12.53 MB / 494.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003378/0.1575, allocations: 101.8 kB / 0.6839 GB, free: 12.43 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.33e-05/0.1575, allocations: 59.34 kB / 0.6839 GB, free: 12.36 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.386e-05/0.1576, allocations: 137 kB / 0.6841 GB, free: 12.21 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.403e-05/0.1577, allocations: 25.7 kB / 0.6841 GB, free: 12.18 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.537e-05/0.1577, allocations: 96.12 kB / 0.6842 GB, free: 12.09 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.769e-05/0.1578, allocations: 15.75 kB / 0.6842 GB, free: 12.07 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.846e-05/0.1578, allocations: 25.7 kB / 0.6842 GB, free: 12.04 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.704e-05/0.1579, allocations: 322.8 kB / 0.6845 GB, free: 11.71 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.703e-05/0.158, allocations: 24.05 kB / 0.6846 GB, free: 11.69 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.315e-05/0.1581, allocations: 19.98 kB / 0.6846 GB, free: 11.67 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001438/0.1582, allocations: 56.77 kB / 0.6846 GB, free: 11.61 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.1582, allocations: 0 / 0.6846 GB, free: 11.61 MB / 494.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002032/0.1584, allocations: 97.56 kB / 0.6847 GB, free: 11.51 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.139e-05/0.1584, allocations: 4 kB / 0.6847 GB, free: 11.51 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.477e-06/0.1585, allocations: 4 kB / 0.6847 GB, free: 11.5 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.103e-05/0.1585, allocations: 3.984 kB / 0.6847 GB, free: 11.5 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001111/0.1586, allocations: 11.98 kB / 0.6847 GB, free: 11.49 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.811e-06/0.1586, allocations: 4 kB / 0.6848 GB, free: 11.48 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.088e-05/0.1587, allocations: 3.984 kB / 0.6848 GB, free: 11.48 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.627e-06/0.1587, allocations: 4 kB / 0.6848 GB, free: 11.48 MB / 494.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.77e-05/0.1588, allocations: 127 kB / 0.6849 GB, free: 11.34 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.045e-05/0.1588, allocations: 3.906 kB / 0.6849 GB, free: 11.34 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002328/0.1591, allocations: 102 kB / 0.685 GB, free: 11.23 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.1591, allocations: 0 / 0.685 GB, free: 11.23 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.1591, allocations: 0 / 0.685 GB, free: 11.23 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.064e-06/0.1591, allocations: 0 / 0.685 GB, free: 11.23 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001719/0.1593, allocations: 181.6 kB / 0.6852 GB, free: 11 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.1593, allocations: 4 kB / 0.6852 GB, free: 11 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.85e-05/0.1594, allocations: 19.98 kB / 0.6852 GB, free: 10.98 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.1594, allocations: 256 / 0.6852 GB, free: 10.98 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.675e-06/0.1594, allocations: 0 / 0.6852 GB, free: 10.98 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/0.1594, allocations: 4 kB / 0.6852 GB, free: 10.98 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.1594, allocations: 0 / 0.6852 GB, free: 10.98 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00024/0.1596, allocations: 191.3 kB / 0.6854 GB, free: 10.77 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.203e-05/0.1597, allocations: 92.95 kB / 0.6855 GB, free: 10.66 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.58e-05/0.1597, allocations: 0 / 0.6855 GB, free: 10.66 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.113e-05/0.1598, allocations: 7.984 kB / 0.6855 GB, free: 10.66 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.863e-05/0.1599, allocations: 7.938 kB / 0.6855 GB, free: 10.65 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.119e-06/0.1599, allocations: 0 / 0.6855 GB, free: 10.65 MB / 494.1 MB Notification: Performance of sorting global known variables: time 5.66e-05/0.1599, allocations: 107.2 kB / 0.6856 GB, free: 10.54 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1599, allocations: 0 / 0.6856 GB, free: 10.54 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002445/0.1602, allocations: 24 kB / 0.6856 GB, free: 10.52 MB / 494.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001519/0.1603, allocations: 119.3 kB / 0.6857 GB, free: 10.39 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001911/0.1605, allocations: 63.83 kB / 0.6858 GB, free: 10.33 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.1606, allocations: 0 / 0.6858 GB, free: 10.33 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 8.3e-05/0.1606, allocations: 23.98 kB / 0.6858 GB, free: 10.31 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003108/0.161, allocations: 20.83 kB / 0.6858 GB, free: 10.29 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003628/0.1613, allocations: 202 kB / 0.686 GB, free: 10.07 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002316/0.1616, allocations: 0.6887 MB / 0.6867 GB, free: 9.352 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 4.996e-05/0.1616, allocations: 8 kB / 0.6867 GB, free: 9.344 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.037e-05/0.1617, allocations: 15.42 kB / 0.6867 GB, free: 9.328 MB / 494.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1617, allocations: 0 / 0.6867 GB, free: 9.328 MB / 494.1 MB Notification: Performance of Templates: time 0.003036/0.1647, allocations: 1.013 MB / 0.6877 GB, free: 8.324 MB / 494.1 MB 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)