Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.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.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline") translateModel(BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001322/0.001322, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001748/0.001748, allocations: 198.7 kB / 16.26 MB, free: 6.621 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.299/1.299, allocations: 222.9 MB / 239.9 MB, free: 4.535 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.129 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9379/0.9379, allocations: 169.2 MB / 0.4978 GB, free: 14.09 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001661/0.001661, allocations: 91.31 kB / 0.5947 GB, free: 28.16 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1508/0.1524, allocations: 86.98 MB / 0.6796 GB, free: 1.008 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.003615/0.1561, allocations: 1.481 MB / 0.6811 GB, free: 15.53 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001939/0.1581, allocations: 0.7796 MB / 0.6818 GB, free: 14.74 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.112e-05/0.1581, allocations: 0 / 0.6818 GB, free: 14.74 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 6.823e-05/0.1582, allocations: 3.938 kB / 0.6819 GB, free: 14.74 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.456e-05/0.1583, allocations: 4.562 kB / 0.6819 GB, free: 14.73 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008935/0.1592, allocations: 147.2 kB / 0.682 GB, free: 14.59 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001424/0.1593, allocations: 55.91 kB / 0.682 GB, free: 14.54 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.726e-05/0.1595, allocations: 10 kB / 0.6821 GB, free: 14.53 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.067e-05/0.1595, allocations: 19.91 kB / 0.6821 GB, free: 14.51 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.547e-05/0.1596, allocations: 15.98 kB / 0.6821 GB, free: 14.5 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.965e-05/0.1596, allocations: 4 kB / 0.6821 GB, free: 14.49 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004787/0.1601, allocations: 200.3 kB / 0.6823 GB, free: 14.3 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 5.568e-05/0.1602, allocations: 11.94 kB / 0.6823 GB, free: 14.29 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 5.185e-05/0.1603, allocations: 20.73 kB / 0.6823 GB, free: 14.27 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003883/0.1607, allocations: 187.6 kB / 0.6825 GB, free: 14.08 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.1607, allocations: 0.7188 kB / 0.6825 GB, free: 14.08 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.1607, allocations: 0 / 0.6825 GB, free: 14.08 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.661e-06/0.1607, allocations: 0.625 kB / 0.6825 GB, free: 14.08 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0006467/0.1614, allocations: 428.1 kB / 0.6829 GB, free: 13.61 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.107e-05/0.1614, allocations: 8.031 kB / 0.6829 GB, free: 13.6 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.046e-05/0.1615, allocations: 8.844 kB / 0.6829 GB, free: 13.59 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002193/0.1617, allocations: 177 kB / 0.6831 GB, free: 13.38 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.602e-05/0.1618, allocations: 384 / 0.6831 GB, free: 13.38 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.582e-05/0.1618, allocations: 16.36 kB / 0.6831 GB, free: 13.36 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002624/0.1621, allocations: 77.92 kB / 0.6832 GB, free: 13.28 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.898e-06/0.1621, allocations: 0 / 0.6832 GB, free: 13.28 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.387e-05/0.1621, allocations: 0 / 0.6832 GB, free: 13.28 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.008e-05/0.1622, allocations: 4 kB / 0.6832 GB, free: 13.28 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001937/0.1624, allocations: 51.89 kB / 0.6832 GB, free: 13.23 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005381/0.1629, allocations: 272.8 kB / 0.6835 GB, free: 12.91 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001737/0.1631, allocations: 66.48 kB / 0.6836 GB, free: 12.84 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001467/0.1633, allocations: 44.91 kB / 0.6836 GB, free: 12.79 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.628e-05/0.1633, allocations: 4 kB / 0.6836 GB, free: 12.79 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.975e-05/0.1634, allocations: 34.56 kB / 0.6836 GB, free: 12.74 MB / 494.1 MB Notification: Performance of pre-optimization done (n=3): time 1.593e-06/0.1634, allocations: 0 / 0.6836 GB, free: 12.74 MB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.0006113/0.164, allocations: 187.2 kB / 0.6838 GB, free: 12.55 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.124e-05/0.1641, allocations: 81.11 kB / 0.6839 GB, free: 12.45 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000143/0.1642, allocations: 121.8 kB / 0.684 GB, free: 12.32 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.944e-05/0.1643, allocations: 29.64 kB / 0.684 GB, free: 12.29 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.609e-05/0.1644, allocations: 88.14 kB / 0.6841 GB, free: 12.2 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.52e-05/0.1644, allocations: 7.906 kB / 0.6841 GB, free: 12.19 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.204e-05/0.1645, allocations: 21.7 kB / 0.6842 GB, free: 12.16 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001574/0.1647, allocations: 318.8 kB / 0.6845 GB, free: 11.84 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002481/0.1649, allocations: 60 kB / 0.6845 GB, free: 11.78 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001894/0.1651, allocations: 60.09 kB / 0.6846 GB, free: 11.72 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003958/0.1655, allocations: 197.8 kB / 0.6848 GB, free: 11.51 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.1656, allocations: 0 / 0.6848 GB, free: 11.51 MB / 494.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0005062/0.1661, allocations: 217 kB / 0.685 GB, free: 11.28 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.114e-05/0.1662, allocations: 63.39 kB / 0.685 GB, free: 11.2 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.696e-06/0.1662, allocations: 3.984 kB / 0.685 GB, free: 11.2 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.426e-05/0.1662, allocations: 0 / 0.685 GB, free: 11.2 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.763e-05/0.1663, allocations: 11.94 kB / 0.685 GB, free: 11.19 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.19e-06/0.1663, allocations: 0 / 0.685 GB, free: 11.19 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.554e-05/0.1664, allocations: 11.98 kB / 0.6851 GB, free: 11.18 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.921e-05/0.1665, allocations: 4 kB / 0.6851 GB, free: 11.17 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: 1 (cubSpl.i) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 2 * 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 0.0001932/0.1667, allocations: 148.1 kB / 0.6852 GB, free: 11.01 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.045e-05/0.1667, allocations: 3.906 kB / 0.6852 GB, free: 11.01 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.953e-05/0.1668, allocations: 11.89 kB / 0.6852 GB, free: 10.99 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.394e-06/0.1668, allocations: 0 / 0.6852 GB, free: 10.99 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.073e-06/0.1668, allocations: 4 kB / 0.6852 GB, free: 10.99 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.1668, allocations: 3.938 kB / 0.6852 GB, free: 10.98 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002714/0.1671, allocations: 181.6 kB / 0.6854 GB, free: 10.76 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.1671, allocations: 0 / 0.6854 GB, free: 10.76 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.977e-05/0.1672, allocations: 0 / 0.6854 GB, free: 10.76 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.1672, allocations: 0 / 0.6854 GB, free: 10.76 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.454e-05/0.1672, allocations: 4 kB / 0.6854 GB, free: 10.75 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.1672, allocations: 0 / 0.6854 GB, free: 10.75 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.1672, allocations: 0 / 0.6854 GB, free: 10.75 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004738/0.1677, allocations: 257.1 kB / 0.6856 GB, free: 10.48 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.801e-05/0.1678, allocations: 88.94 kB / 0.6857 GB, free: 10.38 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.64e-05/0.1679, allocations: 0 / 0.6857 GB, free: 10.38 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001267/0.168, allocations: 4 kB / 0.6857 GB, free: 10.37 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001397/0.1682, allocations: 7.984 kB / 0.6857 GB, free: 10.36 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.598e-06/0.1682, allocations: 0 / 0.6857 GB, free: 10.36 MB / 494.1 MB Notification: Performance of sorting global known variables: time 8.399e-05/0.1683, allocations: 99.27 kB / 0.6858 GB, free: 10.27 MB / 494.1 MB Notification: Performance of sort global known variables: time 3.61e-07/0.1683, allocations: 0 / 0.6858 GB, free: 10.27 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0005416/0.1688, allocations: 56 kB / 0.6859 GB, free: 10.21 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: 1 (cubSpl.i) * Number of discrete states: 1 (cubSpl.i) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 1 * 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.0004019/0.1693, allocations: 159.2 kB / 0.686 GB, free: 10.05 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0005234/0.1698, allocations: 234.7 kB / 0.6863 GB, free: 9.793 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 6.513e-06/0.1698, allocations: 4 kB / 0.6863 GB, free: 9.789 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002171/0.1701, allocations: 103.3 kB / 0.6864 GB, free: 9.676 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003629/0.1704, allocations: 13.56 kB / 0.6864 GB, free: 9.664 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005239/0.171, allocations: 189.6 kB / 0.6866 GB, free: 9.453 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003577/0.1714, allocations: 0.6846 MB / 0.6872 GB, free: 8.742 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 2.085e-05/0.1714, allocations: 0 / 0.6872 GB, free: 8.742 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.143e-05/0.1714, allocations: 11.44 kB / 0.6872 GB, free: 8.73 MB / 494.1 MB Notification: Performance of SimCode: time 5.31e-07/0.1715, allocations: 3.938 kB / 0.6872 GB, free: 8.727 MB / 494.1 MB Notification: Performance of Templates: time 0.006679/0.1781, allocations: 1.692 MB / 0.6889 GB, free: 7.074 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.sim & ./BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe 2>&1)