Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline") translateModel(IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.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.001342/0.001342, allocations: 107.2 kB / 16.41 MB, free: 6.492 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.001274/0.001275, allocations: 192.1 kB / 17.34 MB, free: 5.762 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.322/1.322, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8001/0.8001, allocations: 132.2 MB / 423.4 MB, free: 6.547 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0014/0.0014, allocations: 64.69 kB / 0.582 GB, free: 23.71 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1591/0.1605, allocations: 80.23 MB / 0.6604 GB, free: 10.23 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.002768/0.1633, allocations: 1.402 MB / 0.6617 GB, free: 8.816 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001371/0.1647, allocations: 0.7916 MB / 0.6625 GB, free: 8.02 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.784e-05/0.1648, allocations: 0 / 0.6625 GB, free: 8.02 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 6.629e-05/0.1649, allocations: 0 / 0.6625 GB, free: 8.02 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.904e-05/0.1649, allocations: 7.938 kB / 0.6625 GB, free: 8.012 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007236/0.1657, allocations: 179.5 kB / 0.6627 GB, free: 7.836 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001234/0.1658, allocations: 47.91 kB / 0.6627 GB, free: 7.789 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 8.376e-05/0.1659, allocations: 4 kB / 0.6627 GB, free: 7.785 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.876e-05/0.1659, allocations: 15.98 kB / 0.6627 GB, free: 7.77 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.495e-05/0.166, allocations: 19.92 kB / 0.6628 GB, free: 7.75 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.762e-05/0.166, allocations: 4 kB / 0.6628 GB, free: 7.746 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003694/0.1664, allocations: 211.7 kB / 0.663 GB, free: 7.539 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 5.306e-05/0.1665, allocations: 7.938 kB / 0.663 GB, free: 7.531 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 5.15e-05/0.1665, allocations: 19.92 kB / 0.663 GB, free: 7.512 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003343/0.1669, allocations: 195.6 kB / 0.6632 GB, free: 7.32 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.1669, allocations: 0 / 0.6632 GB, free: 7.32 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.224e-06/0.1669, allocations: 0 / 0.6632 GB, free: 7.32 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.001e-06/0.1669, allocations: 0 / 0.6632 GB, free: 7.32 MB / 0.4981 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.0005604/0.1675, allocations: 426.7 kB / 0.6636 GB, free: 6.844 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.828e-05/0.1675, allocations: 8.031 kB / 0.6636 GB, free: 6.836 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.359e-05/0.1676, allocations: 8.938 kB / 0.6636 GB, free: 6.828 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00013/0.1677, allocations: 179 kB / 0.6638 GB, free: 6.617 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.378e-05/0.1677, allocations: 384 / 0.6638 GB, free: 6.617 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.689e-05/0.1677, allocations: 11.92 kB / 0.6638 GB, free: 6.605 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001958/0.1679, allocations: 69.67 kB / 0.6639 GB, free: 6.531 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.765e-06/0.168, allocations: 0 / 0.6639 GB, free: 6.531 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.131e-05/0.168, allocations: 0 / 0.6639 GB, free: 6.531 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.681e-06/0.168, allocations: 0 / 0.6639 GB, free: 6.531 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001163/0.1681, allocations: 51.95 kB / 0.6639 GB, free: 6.48 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004214/0.1685, allocations: 280.8 kB / 0.6642 GB, free: 6.156 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001247/0.1687, allocations: 66.5 kB / 0.6642 GB, free: 6.082 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.424e-05/0.1688, allocations: 44.91 kB / 0.6643 GB, free: 6.035 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.178e-05/0.1688, allocations: 0 / 0.6643 GB, free: 6.035 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.061e-05/0.1688, allocations: 42.5 kB / 0.6643 GB, free: 5.984 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 1.202e-06/0.1688, allocations: 4 kB / 0.6643 GB, free: 5.98 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.0003939/0.1692, allocations: 187.2 kB / 0.6645 GB, free: 5.785 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.187e-05/0.1693, allocations: 81.11 kB / 0.6646 GB, free: 5.688 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001128/0.1694, allocations: 125.8 kB / 0.6647 GB, free: 5.555 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.671e-05/0.1694, allocations: 25.7 kB / 0.6647 GB, free: 5.523 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.937e-05/0.1695, allocations: 88.14 kB / 0.6648 GB, free: 5.434 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.634e-05/0.1695, allocations: 7.891 kB / 0.6648 GB, free: 5.426 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.34e-05/0.1696, allocations: 25.7 kB / 0.6648 GB, free: 5.395 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001107/0.1697, allocations: 322.8 kB / 0.6651 GB, free: 5.07 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.989e-05/0.1698, allocations: 59.95 kB / 0.6652 GB, free: 5.012 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.157e-05/0.1699, allocations: 59.97 kB / 0.6653 GB, free: 4.953 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002286/0.1701, allocations: 193.9 kB / 0.6654 GB, free: 4.742 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.1701, allocations: 0 / 0.6654 GB, free: 4.742 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002885/0.1704, allocations: 216.9 kB / 0.6657 GB, free: 4.512 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 6.207e-05/0.1705, allocations: 67.39 kB / 0.6657 GB, free: 4.434 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.471e-06/0.1705, allocations: 4 kB / 0.6657 GB, free: 4.43 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.509e-05/0.1705, allocations: 0 / 0.6657 GB, free: 4.43 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.297e-05/0.1706, allocations: 4 kB / 0.6657 GB, free: 4.426 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.58e-06/0.1706, allocations: 0 / 0.6657 GB, free: 4.426 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.129e-05/0.1707, allocations: 7.984 kB / 0.6657 GB, free: 4.418 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.279e-05/0.1707, allocations: 4 kB / 0.6657 GB, free: 4.414 MB / 0.4981 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.0001128/0.1708, allocations: 152.3 kB / 0.6659 GB, free: 4.25 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.039e-05/0.1708, allocations: 3.906 kB / 0.6659 GB, free: 4.246 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.71e-05/0.1709, allocations: 11.91 kB / 0.6659 GB, free: 4.223 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.1709, allocations: 0 / 0.6659 GB, free: 4.223 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.648e-06/0.1709, allocations: 0 / 0.6659 GB, free: 4.223 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.1709, allocations: 0 / 0.6659 GB, free: 4.223 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001652/0.1711, allocations: 177.5 kB / 0.6661 GB, free: 4 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.1711, allocations: 0 / 0.6661 GB, free: 4 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.612e-05/0.1711, allocations: 4 kB / 0.6661 GB, free: 3.996 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.067e-06/0.1711, allocations: 0 / 0.6661 GB, free: 3.996 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.077e-05/0.1712, allocations: 7.938 kB / 0.6661 GB, free: 3.988 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.1712, allocations: 0 / 0.6661 GB, free: 3.988 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.487e-06/0.1712, allocations: 8.047 kB / 0.6661 GB, free: 3.98 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002727/0.1714, allocations: 253.3 kB / 0.6663 GB, free: 3.711 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.772e-05/0.1715, allocations: 89 kB / 0.6664 GB, free: 3.605 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.634e-05/0.1715, allocations: 0 / 0.6664 GB, free: 3.605 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.833e-05/0.1716, allocations: 4 kB / 0.6664 GB, free: 3.602 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001258/0.1717, allocations: 11.98 kB / 0.6664 GB, free: 3.59 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.801e-06/0.1717, allocations: 0 / 0.6664 GB, free: 3.59 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 6.453e-05/0.1718, allocations: 95.3 kB / 0.6665 GB, free: 3.496 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.51e-07/0.1718, allocations: 4 kB / 0.6665 GB, free: 3.492 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003322/0.1721, allocations: 67.92 kB / 0.6666 GB, free: 3.426 MB / 0.4981 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.0002928/0.1724, allocations: 143.2 kB / 0.6667 GB, free: 3.277 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003291/0.1728, allocations: 242.7 kB / 0.667 GB, free: 3.016 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.1728, allocations: 3.938 kB / 0.667 GB, free: 3.012 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001198/0.1729, allocations: 103.4 kB / 0.6671 GB, free: 2.898 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002263/0.1732, allocations: 8.062 kB / 0.6671 GB, free: 2.891 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003824/0.1735, allocations: 191.2 kB / 0.6672 GB, free: 2.668 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002546/0.1738, allocations: 0.6962 MB / 0.6679 GB, free: 1.945 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.987e-05/0.1738, allocations: 7.438 kB / 0.6679 GB, free: 1.938 MB / 0.4981 GB Notification: Performance of SimCode: time 2.4e-07/0.1738, allocations: 0 / 0.6679 GB, free: 1.938 MB / 0.4981 GB Notification: Performance of Templates: time 0.003513/0.1774, allocations: 1.494 MB / 0.6694 GB, free: 460 kB / 0.4981 GB make -j1 -f IDEAS_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.makefile (rm -f IDEAS_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.sim & ./IDEAS_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe 2>&1)