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.001059/0.001059, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001074/0.001074, allocations: 190.7 kB / 16.25 MB, free: 6.629 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.301/1.301, allocations: 222.9 MB / 239.9 MB, free: 4.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002039/0.002039, allocations: 290.9 kB / 290.4 MB, free: 2.027 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9523/0.9523, allocations: 169.2 MB / 0.4978 GB, free: 14.05 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001661/0.001661, allocations: 87.19 kB / 0.5947 GB, free: 28.23 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.148/0.1497, allocations: 86.99 MB / 0.6796 GB, free: 1.023 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside): time 0.002933/0.1527, allocations: 1.623 MB / 0.6812 GB, free: 15.4 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001459/0.1542, allocations: 0.8963 MB / 0.6821 GB, free: 14.5 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.181e-05/0.1543, allocations: 9.875 kB / 0.6821 GB, free: 14.49 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 4.242e-05/0.1543, allocations: 3.984 kB / 0.6821 GB, free: 14.48 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002226/0.1546, allocations: 15.86 kB / 0.6821 GB, free: 14.47 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003301/0.1549, allocations: 131.7 kB / 0.6822 GB, free: 14.34 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001447/0.1551, allocations: 79.66 kB / 0.6823 GB, free: 14.26 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.928e-05/0.1552, allocations: 8.266 kB / 0.6823 GB, free: 14.25 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001006/0.1553, allocations: 35.92 kB / 0.6824 GB, free: 14.22 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001322/0.1554, allocations: 43.77 kB / 0.6824 GB, free: 14.18 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.794e-05/0.1554, allocations: 8 kB / 0.6824 GB, free: 14.17 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003669/0.1558, allocations: 279.6 kB / 0.6827 GB, free: 13.89 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.202e-05/0.1558, allocations: 15.92 kB / 0.6827 GB, free: 13.88 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.296e-05/0.1559, allocations: 27.81 kB / 0.6827 GB, free: 13.85 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002337/0.1561, allocations: 151.6 kB / 0.6829 GB, free: 13.7 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.002e-06/0.1561, allocations: 0 / 0.6829 GB, free: 13.7 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.1561, allocations: 4 kB / 0.6829 GB, free: 13.7 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.271e-06/0.1562, allocations: 0 / 0.6829 GB, free: 13.7 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.0006149/0.1568, allocations: 407.1 kB / 0.6833 GB, free: 13.25 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.976e-05/0.1568, allocations: 8.031 kB / 0.6833 GB, free: 13.25 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000134/0.157, allocations: 12.83 kB / 0.6833 GB, free: 13.23 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001819/0.1572, allocations: 188.2 kB / 0.6835 GB, free: 13.01 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.816e-06/0.1572, allocations: 4.375 kB / 0.6835 GB, free: 13.01 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.498e-05/0.1572, allocations: 384 / 0.6835 GB, free: 13.01 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001822/0.1574, allocations: 65.97 kB / 0.6835 GB, free: 12.94 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.556e-06/0.1574, allocations: 0 / 0.6835 GB, free: 12.94 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.101e-05/0.1574, allocations: 8 kB / 0.6835 GB, free: 12.93 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.697e-06/0.1574, allocations: 3.938 kB / 0.6835 GB, free: 12.93 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001395/0.1576, allocations: 43.97 kB / 0.6836 GB, free: 12.88 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004423/0.158, allocations: 300.7 kB / 0.6839 GB, free: 12.54 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000131/0.1582, allocations: 50.56 kB / 0.6839 GB, free: 12.48 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.524e-05/0.1582, allocations: 36.91 kB / 0.6839 GB, free: 12.44 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.848e-05/0.1583, allocations: 0 / 0.6839 GB, free: 12.44 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.778e-05/0.1583, allocations: 34.5 kB / 0.684 GB, free: 12.4 MB / 494.1 MB Notification: Performance of pre-optimization done (n=5): time 8.22e-07/0.1583, allocations: 0 / 0.684 GB, free: 12.4 MB / 494.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003365/0.1586, allocations: 105.6 kB / 0.6841 GB, free: 12.29 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.352e-05/0.1587, allocations: 55.41 kB / 0.6841 GB, free: 12.22 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001014/0.1588, allocations: 139.2 kB / 0.6843 GB, free: 12.08 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.474e-05/0.1588, allocations: 25.7 kB / 0.6843 GB, free: 12.05 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.965e-05/0.1589, allocations: 92.14 kB / 0.6844 GB, free: 11.95 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.093e-05/0.1589, allocations: 23.8 kB / 0.6844 GB, free: 11.93 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.693e-05/0.1589, allocations: 17.72 kB / 0.6844 GB, free: 11.91 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001027/0.159, allocations: 326.8 kB / 0.6847 GB, free: 11.58 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.54e-05/0.1591, allocations: 23.98 kB / 0.6848 GB, free: 11.55 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.512e-05/0.1592, allocations: 23.92 kB / 0.6848 GB, free: 11.53 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001368/0.1593, allocations: 52.83 kB / 0.6848 GB, free: 11.48 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.512e-06/0.1593, allocations: 0 / 0.6848 GB, free: 11.48 MB / 494.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002031/0.1596, allocations: 93.56 kB / 0.6849 GB, free: 11.38 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.244e-05/0.1596, allocations: 4 kB / 0.6849 GB, free: 11.38 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.596e-06/0.1596, allocations: 4 kB / 0.6849 GB, free: 11.37 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.348e-05/0.1596, allocations: 4 kB / 0.6849 GB, free: 11.37 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001166/0.1597, allocations: 11.98 kB / 0.6849 GB, free: 11.36 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.841e-06/0.1597, allocations: 0 / 0.6849 GB, free: 11.36 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.231e-05/0.1598, allocations: 4 kB / 0.6849 GB, free: 11.35 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.288e-06/0.1598, allocations: 7.938 kB / 0.6849 GB, free: 11.34 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.595e-05/0.1599, allocations: 119.1 kB / 0.6851 GB, free: 11.22 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.203e-05/0.16, allocations: 7.906 kB / 0.6851 GB, free: 11.21 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000249/0.1602, allocations: 102.4 kB / 0.6852 GB, free: 11.1 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.1602, allocations: 0 / 0.6852 GB, free: 11.1 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.1602, allocations: 0 / 0.6852 GB, free: 11.1 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.382e-06/0.1602, allocations: 4.047 kB / 0.6852 GB, free: 11.1 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001772/0.1604, allocations: 189.6 kB / 0.6854 GB, free: 10.86 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.153e-06/0.1604, allocations: 0 / 0.6854 GB, free: 10.86 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.564e-05/0.1605, allocations: 15.92 kB / 0.6854 GB, free: 10.85 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.507e-06/0.1605, allocations: 4 kB / 0.6854 GB, free: 10.84 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.087e-06/0.1605, allocations: 4 kB / 0.6854 GB, free: 10.84 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.1605, allocations: 0 / 0.6854 GB, free: 10.84 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.42e-07/0.1606, allocations: 0 / 0.6854 GB, free: 10.84 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002513/0.1608, allocations: 187.4 kB / 0.6856 GB, free: 10.64 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.748e-05/0.1609, allocations: 92.94 kB / 0.6856 GB, free: 10.53 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.598e-05/0.1609, allocations: 0 / 0.6856 GB, free: 10.53 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.494e-05/0.161, allocations: 4 kB / 0.6856 GB, free: 10.53 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.598e-05/0.161, allocations: 11.98 kB / 0.6857 GB, free: 10.52 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.869e-06/0.161, allocations: 11.88 kB / 0.6857 GB, free: 10.5 MB / 494.1 MB Notification: Performance of sorting global known variables: time 6.218e-05/0.1611, allocations: 97.61 kB / 0.6858 GB, free: 10.41 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1611, allocations: 0 / 0.6858 GB, free: 10.41 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002382/0.1614, allocations: 31.98 kB / 0.6858 GB, free: 10.38 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.0001671/0.1615, allocations: 107.2 kB / 0.6859 GB, free: 10.27 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002136/0.1618, allocations: 67.89 kB / 0.686 GB, free: 10.2 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.1618, allocations: 0 / 0.686 GB, free: 10.2 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 8.08e-05/0.1619, allocations: 27.92 kB / 0.686 GB, free: 10.17 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003281/0.1622, allocations: 18.77 kB / 0.686 GB, free: 10.16 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003829/0.1626, allocations: 216.2 kB / 0.6862 GB, free: 9.918 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002251/0.1628, allocations: 0.6885 MB / 0.6869 GB, free: 9.203 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 4.876e-05/0.1629, allocations: 4 kB / 0.6869 GB, free: 9.199 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.858e-05/0.1629, allocations: 15.44 kB / 0.6869 GB, free: 9.184 MB / 494.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1629, allocations: 0 / 0.6869 GB, free: 9.184 MB / 494.1 MB Notification: Performance of Templates: time 0.003396/0.1663, allocations: 1.061 MB / 0.6879 GB, free: 8.133 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)