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.001167/0.001167, allocations: 103.2 kB / 16.35 MB, free: 5.875 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.001017/0.001017, allocations: 196 kB / 17.3 MB, free: 5.516 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.288/1.288, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002175/0.002175, allocations: 290.6 kB / 291.4 MB, free: 14.47 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9289/0.9289, allocations: 169.2 MB / 0.4989 GB, free: 4.434 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001937/0.001938, allocations: 94.41 kB / 0.5967 GB, free: 14.43 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1473/0.1493, allocations: 86.97 MB / 0.6816 GB, free: 7.441 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.002607/0.1519, allocations: 1.418 MB / 0.683 GB, free: 6.012 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001127/0.1531, allocations: 0.7807 MB / 0.6838 GB, free: 5.223 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.948e-05/0.1531, allocations: 0 / 0.6838 GB, free: 5.223 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 5.455e-05/0.1532, allocations: 4 kB / 0.6838 GB, free: 5.219 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.441e-05/0.1533, allocations: 11.92 kB / 0.6838 GB, free: 5.207 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005777/0.1538, allocations: 163.6 kB / 0.6839 GB, free: 5.047 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001034/0.154, allocations: 43.98 kB / 0.684 GB, free: 5.004 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.5e-05/0.154, allocations: 19.84 kB / 0.684 GB, free: 4.984 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.162e-05/0.1541, allocations: 19.92 kB / 0.684 GB, free: 4.965 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.722e-05/0.1541, allocations: 15.98 kB / 0.684 GB, free: 4.949 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.23e-05/0.1542, allocations: 4 kB / 0.684 GB, free: 4.945 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002987/0.1545, allocations: 199.7 kB / 0.6842 GB, free: 4.75 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 6.466e-05/0.1545, allocations: 19.91 kB / 0.6842 GB, free: 4.73 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.382e-05/0.1546, allocations: 19.88 kB / 0.6843 GB, free: 4.711 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002561/0.1548, allocations: 183.6 kB / 0.6844 GB, free: 4.531 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.1549, allocations: 4 kB / 0.6844 GB, free: 4.527 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.1549, allocations: 0 / 0.6844 GB, free: 4.527 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.278e-06/0.1549, allocations: 4 kB / 0.6844 GB, free: 4.523 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.0004799/0.1554, allocations: 430.8 kB / 0.6848 GB, free: 4.043 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.573e-05/0.1554, allocations: 8.031 kB / 0.6849 GB, free: 4.035 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.151e-05/0.1554, allocations: 8.844 kB / 0.6849 GB, free: 4.027 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001042/0.1555, allocations: 168.3 kB / 0.685 GB, free: 3.824 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.748e-06/0.1556, allocations: 4.312 kB / 0.685 GB, free: 3.82 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.384e-05/0.1556, allocations: 8.312 kB / 0.685 GB, free: 3.812 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001689/0.1558, allocations: 77.97 kB / 0.6851 GB, free: 3.73 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.236e-06/0.1558, allocations: 4 kB / 0.6851 GB, free: 3.727 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.326e-06/0.1558, allocations: 3.938 kB / 0.6851 GB, free: 3.723 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.12e-06/0.1558, allocations: 4 kB / 0.6851 GB, free: 3.719 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000104/0.1559, allocations: 43.97 kB / 0.6852 GB, free: 3.676 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003559/0.1563, allocations: 276.8 kB / 0.6854 GB, free: 3.355 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001163/0.1564, allocations: 70.47 kB / 0.6855 GB, free: 3.277 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.336e-05/0.1565, allocations: 48.91 kB / 0.6855 GB, free: 3.227 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.181e-05/0.1565, allocations: 4 kB / 0.6855 GB, free: 3.223 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.79e-05/0.1565, allocations: 30.56 kB / 0.6856 GB, free: 3.184 MB / 494.1 MB Notification: Performance of pre-optimization done (n=3): time 1.232e-06/0.1565, allocations: 0 / 0.6856 GB, free: 3.184 MB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.000419/0.157, allocations: 179.2 kB / 0.6857 GB, free: 2.996 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.805e-05/0.157, allocations: 93.03 kB / 0.6858 GB, free: 2.887 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.97e-05/0.1571, allocations: 117.9 kB / 0.6859 GB, free: 2.762 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.351e-05/0.1571, allocations: 29.7 kB / 0.686 GB, free: 2.727 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.308e-05/0.1572, allocations: 92.12 kB / 0.6861 GB, free: 2.633 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.966e-05/0.1572, allocations: 3.906 kB / 0.6861 GB, free: 2.629 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.34e-05/0.1573, allocations: 21.72 kB / 0.6861 GB, free: 2.602 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001424/0.1574, allocations: 318.8 kB / 0.6864 GB, free: 2.281 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.729e-05/0.1575, allocations: 55.97 kB / 0.6864 GB, free: 2.227 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.879e-05/0.1576, allocations: 56.03 kB / 0.6865 GB, free: 2.172 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00028/0.1579, allocations: 205.8 kB / 0.6867 GB, free: 1.949 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.013e-06/0.1579, allocations: 0 / 0.6867 GB, free: 1.949 MB / 494.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002792/0.1582, allocations: 216.9 kB / 0.6869 GB, free: 1.719 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.433e-05/0.1583, allocations: 63.41 kB / 0.687 GB, free: 1.645 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.097e-06/0.1583, allocations: 3.938 kB / 0.687 GB, free: 1.641 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.083e-05/0.1583, allocations: 0 / 0.687 GB, free: 1.641 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.291e-05/0.1583, allocations: 7.984 kB / 0.687 GB, free: 1.633 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.959e-06/0.1584, allocations: 0 / 0.687 GB, free: 1.633 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.327e-05/0.1584, allocations: 4 kB / 0.687 GB, free: 1.629 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.183e-05/0.1584, allocations: 8 kB / 0.687 GB, free: 1.621 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 9.522e-05/0.1585, allocations: 151.5 kB / 0.6871 GB, free: 1.457 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.861e-05/0.1586, allocations: 3.906 kB / 0.6871 GB, free: 1.453 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.915e-05/0.1586, allocations: 7.906 kB / 0.6871 GB, free: 1.441 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.322e-06/0.1586, allocations: 3.938 kB / 0.6871 GB, free: 1.438 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.815e-06/0.1586, allocations: 0 / 0.6871 GB, free: 1.438 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.064e-06/0.1586, allocations: 0 / 0.6871 GB, free: 1.438 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001609/0.1588, allocations: 181.6 kB / 0.6873 GB, free: 1.211 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.41e-07/0.1588, allocations: 0 / 0.6873 GB, free: 1.211 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.82e-05/0.1588, allocations: 7.984 kB / 0.6873 GB, free: 1.203 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.373e-06/0.1588, allocations: 0 / 0.6873 GB, free: 1.203 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.207e-06/0.1588, allocations: 7.938 kB / 0.6873 GB, free: 1.195 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.1588, allocations: 0 / 0.6873 GB, free: 1.195 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.1589, allocations: 0 / 0.6873 GB, free: 1.195 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000273/0.1591, allocations: 253.1 kB / 0.6876 GB, free: 0.9258 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.523e-05/0.1592, allocations: 84.95 kB / 0.6877 GB, free: 0.8242 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.557e-05/0.1592, allocations: 4.031 kB / 0.6877 GB, free: 0.8203 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.238e-05/0.1593, allocations: 11.98 kB / 0.6877 GB, free: 0.8086 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.545e-05/0.1594, allocations: 8 kB / 0.6877 GB, free: 0.8008 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.745e-06/0.1594, allocations: 4 kB / 0.6877 GB, free: 0.7969 MB / 494.1 MB Notification: Performance of sorting global known variables: time 5.868e-05/0.1594, allocations: 95.25 kB / 0.6878 GB, free: 0.7031 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1594, allocations: 0 / 0.6878 GB, free: 0.7031 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002969/0.1597, allocations: 60 kB / 0.6878 GB, free: 0.6445 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.0002417/0.16, allocations: 145.6 kB / 0.688 GB, free: 0.4961 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.000306/0.1603, allocations: 238.7 kB / 0.6882 GB, free: 244 kB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.1603, allocations: 4 kB / 0.6882 GB, free: 240 kB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001147/0.1604, allocations: 107.3 kB / 0.6883 GB, free: 120 kB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002071/0.1607, allocations: 9.062 kB / 0.6883 GB, free: 112 kB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2138/0.3745, allocations: 173 kB / 0.6885 GB, free: 18.25 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.808e-05/0.3746, allocations: 0.6842 MB / 0.6891 GB, free: 17.55 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 1.861e-05/0.3747, allocations: 1.969 kB / 0.6891 GB, free: 17.55 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.743e-05/0.3747, allocations: 8.938 kB / 0.6892 GB, free: 17.54 MB / 494.1 MB Notification: Performance of SimCode: time 5.61e-07/0.3747, allocations: 7.156 kB / 0.6892 GB, free: 17.54 MB / 494.1 MB Notification: Performance of Templates: time 0.004407/0.3791, allocations: 1.757 MB / 0.6909 GB, free: 17.53 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 -s gbode -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe 2>&1)