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.0073/0.0073, allocations: 99.34 kB / 15.73 MB, free: 6.008 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.001656/0.001656, allocations: 191.7 kB / 16.67 MB, free: 5.938 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.344/1.344, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002048/0.002048, allocations: 279 kB / 290.8 MB, free: 1.918 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.934/0.934, allocations: 169.3 MB / 0.4983 GB, free: 13.82 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002722/0.002722, allocations: 99.86 kB / 0.6815 GB, free: 15.51 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1624/0.1651, allocations: 86.97 MB / 0.7664 GB, free: 8.461 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.002259/0.1674, allocations: 1.408 MB / 0.7678 GB, free: 7.043 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001162/0.1686, allocations: 0.7922 MB / 0.7685 GB, free: 6.242 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.986e-05/0.1686, allocations: 3.938 kB / 0.7685 GB, free: 6.238 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 5.731e-05/0.1687, allocations: 0 / 0.7685 GB, free: 6.238 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 4.468e-05/0.1688, allocations: 3.938 kB / 0.7686 GB, free: 6.234 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005901/0.1694, allocations: 163.6 kB / 0.7687 GB, free: 6.074 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001057/0.1695, allocations: 51.97 kB / 0.7688 GB, free: 6.023 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 7.821e-05/0.1696, allocations: 11.88 kB / 0.7688 GB, free: 6.012 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 3.642e-05/0.1696, allocations: 15.98 kB / 0.7688 GB, free: 5.996 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 4.866e-05/0.1697, allocations: 19.91 kB / 0.7688 GB, free: 5.977 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.606e-05/0.1697, allocations: 4 kB / 0.7688 GB, free: 5.973 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00032/0.17, allocations: 199.7 kB / 0.769 GB, free: 5.777 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 4.041e-05/0.1701, allocations: 15.88 kB / 0.769 GB, free: 5.762 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.584e-05/0.1701, allocations: 19.92 kB / 0.769 GB, free: 5.742 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002622/0.1704, allocations: 195.5 kB / 0.7692 GB, free: 5.551 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.1704, allocations: 0 / 0.7692 GB, free: 5.551 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.152e-06/0.1704, allocations: 0 / 0.7692 GB, free: 5.551 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.761e-06/0.1704, allocations: 0 / 0.7692 GB, free: 5.551 MB / 0.5606 GB 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.0004707/0.1709, allocations: 430.5 kB / 0.7696 GB, free: 5.07 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.073e-05/0.1709, allocations: 8.031 kB / 0.7696 GB, free: 5.062 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.853e-05/0.1709, allocations: 8.891 kB / 0.7696 GB, free: 5.055 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001219/0.1711, allocations: 180.2 kB / 0.7698 GB, free: 4.84 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.321e-05/0.1711, allocations: 8.375 kB / 0.7698 GB, free: 4.832 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.668e-06/0.1711, allocations: 4.312 kB / 0.7698 GB, free: 4.828 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001767/0.1713, allocations: 77.98 kB / 0.7699 GB, free: 4.746 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.204e-06/0.1713, allocations: 0 / 0.7699 GB, free: 4.746 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.067e-06/0.1713, allocations: 0 / 0.7699 GB, free: 4.746 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.407e-06/0.1713, allocations: 0 / 0.7699 GB, free: 4.746 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001165/0.1714, allocations: 47.95 kB / 0.7699 GB, free: 4.699 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003634/0.1718, allocations: 288.8 kB / 0.7702 GB, free: 4.367 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001103/0.1719, allocations: 62.48 kB / 0.7703 GB, free: 4.297 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.984e-05/0.172, allocations: 48.91 kB / 0.7703 GB, free: 4.246 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 7.113e-06/0.1721, allocations: 0 / 0.7703 GB, free: 4.246 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.175e-05/0.1721, allocations: 30.56 kB / 0.7704 GB, free: 4.207 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=3): time 8.82e-07/0.1721, allocations: 0 / 0.7704 GB, free: 4.207 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3): time 0.0003692/0.1725, allocations: 187.3 kB / 0.7705 GB, free: 4.012 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.396e-05/0.1725, allocations: 77.11 kB / 0.7706 GB, free: 3.918 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001035/0.1726, allocations: 137.7 kB / 0.7707 GB, free: 3.773 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.417e-05/0.1726, allocations: 25.7 kB / 0.7708 GB, free: 3.742 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 4.002e-05/0.1727, allocations: 84.14 kB / 0.7708 GB, free: 3.656 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.354e-05/0.1727, allocations: 7.953 kB / 0.7709 GB, free: 3.648 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.395e-05/0.1728, allocations: 25.7 kB / 0.7709 GB, free: 3.617 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001018/0.1729, allocations: 310.8 kB / 0.7712 GB, free: 3.305 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.719e-05/0.173, allocations: 60 kB / 0.7712 GB, free: 3.246 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.186e-05/0.1731, allocations: 63.95 kB / 0.7713 GB, free: 3.184 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002151/0.1733, allocations: 193.8 kB / 0.7715 GB, free: 2.973 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.1733, allocations: 0 / 0.7715 GB, free: 2.973 MB / 0.5606 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002746/0.1736, allocations: 217 kB / 0.7717 GB, free: 2.742 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 4.834e-05/0.1736, allocations: 67.39 kB / 0.7717 GB, free: 2.664 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.1736, allocations: 4.234 kB / 0.7718 GB, free: 2.66 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.028e-05/0.1737, allocations: 3.938 kB / 0.7718 GB, free: 2.656 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.13e-05/0.1737, allocations: 4 kB / 0.7718 GB, free: 2.652 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.492e-06/0.1737, allocations: 4 kB / 0.7718 GB, free: 2.648 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.658e-05/0.1738, allocations: 11.92 kB / 0.7718 GB, free: 2.637 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.387e-05/0.1738, allocations: 11.91 kB / 0.7718 GB, free: 2.625 MB / 0.5606 GB 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.0001009/0.1739, allocations: 147.5 kB / 0.7719 GB, free: 2.465 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.957e-05/0.1739, allocations: 11.94 kB / 0.7719 GB, free: 2.453 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.908e-05/0.174, allocations: 3.906 kB / 0.7719 GB, free: 2.445 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.174, allocations: 4 kB / 0.7719 GB, free: 2.441 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.174, allocations: 4 kB / 0.772 GB, free: 2.438 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.174, allocations: 0 / 0.772 GB, free: 2.438 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001576/0.1742, allocations: 177.5 kB / 0.7721 GB, free: 2.215 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.1742, allocations: 0 / 0.7721 GB, free: 2.215 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.685e-05/0.1742, allocations: 4 kB / 0.7721 GB, free: 2.211 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.1742, allocations: 0 / 0.7721 GB, free: 2.211 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.907e-06/0.1742, allocations: 0 / 0.7721 GB, free: 2.211 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.016e-06/0.1742, allocations: 4 kB / 0.7721 GB, free: 2.207 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.1742, allocations: 0 / 0.7721 GB, free: 2.207 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002584/0.1745, allocations: 257.1 kB / 0.7724 GB, free: 1.934 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 4.003e-05/0.1745, allocations: 81.06 kB / 0.7725 GB, free: 1.836 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.692e-05/0.1746, allocations: 8.062 kB / 0.7725 GB, free: 1.828 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.887e-05/0.1746, allocations: 4 kB / 0.7725 GB, free: 1.824 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.844e-05/0.1747, allocations: 11.98 kB / 0.7725 GB, free: 1.812 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.941e-06/0.1747, allocations: 0 / 0.7725 GB, free: 1.812 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.027e-05/0.1748, allocations: 95.27 kB / 0.7726 GB, free: 1.719 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/0.1748, allocations: 0 / 0.7726 GB, free: 1.719 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002968/0.1751, allocations: 59.95 kB / 0.7726 GB, free: 1.66 MB / 0.5606 GB 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.0002533/0.1754, allocations: 155 kB / 0.7728 GB, free: 1.5 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0003158/0.1757, allocations: 242.7 kB / 0.773 GB, free: 1.238 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.1757, allocations: 0 / 0.773 GB, free: 1.238 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001246/0.1758, allocations: 107.3 kB / 0.7731 GB, free: 1.121 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002121/0.1761, allocations: 7.938 kB / 0.7731 GB, free: 1.113 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003125/0.1764, allocations: 180.9 kB / 0.7733 GB, free: 0.9141 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002325/0.1766, allocations: 0.6885 MB / 0.774 GB, free: 204 kB / 0.5606 GB Notification: Performance of simCode: alias equations: time 1.552e-05/0.1766, allocations: 0 / 0.774 GB, free: 204 kB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.384e-05/0.1767, allocations: 7.438 kB / 0.774 GB, free: 196 kB / 0.5606 GB Notification: Performance of SimCode: time 2.3e-07/0.1767, allocations: 0 / 0.774 GB, free: 196 kB / 0.5606 GB Notification: Performance of Templates: time 0.2983/0.475, allocations: 1.748 MB / 0.7757 GB, free: 14.56 MB / 0.5606 GB 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)