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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-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(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.0009308/0.0009309, allocations: 99.7 kB / 15.05 MB, free: 1.105 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.0008709/0.0008709, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.194/1.194, allocations: 223.2 MB / 239.9 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8504/0.8504, allocations: 135.2 MB / 426.2 MB, free: 14.18 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002924/0.0002924, allocations: 8.5 kB / 0.5068 GB, free: 5.277 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1573/0.1576, allocations: 82.31 MB / 0.5872 GB, free: 3.137 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.001719/0.1594, allocations: 1.132 MB / 0.5883 GB, free: 1.992 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001195/0.1606, allocations: 0.7222 MB / 0.589 GB, free: 1.266 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.455e-05/0.1607, allocations: 0 / 0.589 GB, free: 1.266 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 5.823e-05/0.1607, allocations: 0 / 0.589 GB, free: 1.266 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.142e-05/0.1608, allocations: 7.984 kB / 0.589 GB, free: 1.258 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005807/0.1614, allocations: 119.8 kB / 0.5891 GB, free: 1.141 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.881e-05/0.1614, allocations: 19.97 kB / 0.5892 GB, free: 1.121 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.766e-05/0.1615, allocations: 4 kB / 0.5892 GB, free: 1.117 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.082e-05/0.1616, allocations: 15.92 kB / 0.5892 GB, free: 1.102 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.254e-05/0.1616, allocations: 15.92 kB / 0.5892 GB, free: 1.086 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.155e-05/0.1616, allocations: 8 kB / 0.5892 GB, free: 1.078 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002924/0.1619, allocations: 167.7 kB / 0.5894 GB, free: 0.9141 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.248e-05/0.162, allocations: 15.86 kB / 0.5894 GB, free: 0.8984 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.614e-05/0.162, allocations: 33.7 kB / 0.5894 GB, free: 0.8594 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002186/0.1623, allocations: 128.1 kB / 0.5895 GB, free: 0.7344 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.565e-06/0.1623, allocations: 0 / 0.5895 GB, free: 0.7344 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.1623, allocations: 0 / 0.5895 GB, free: 0.7344 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.567e-06/0.1623, allocations: 0 / 0.5895 GB, free: 0.7344 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.0004736/0.1628, allocations: 430.5 kB / 0.5899 GB, free: 260 kB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.618e-05/0.1628, allocations: 12.02 kB / 0.59 GB, free: 248 kB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.335e-05/0.1628, allocations: 4 kB / 0.59 GB, free: 244 kB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001219/0.163, allocations: 174.9 kB / 0.5901 GB, free: 28 kB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.061e-05/0.163, allocations: 0 / 0.5901 GB, free: 28 kB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.601e-05/0.163, allocations: 8 kB / 0.5901 GB, free: 20 kB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001892/0.1632, allocations: 77.59 kB / 0.5902 GB, free: 15.94 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.442e-06/0.1632, allocations: 0 / 0.5902 GB, free: 15.94 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.125e-05/0.1632, allocations: 4 kB / 0.5902 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/0.1633, allocations: 4 kB / 0.5902 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001133/0.1634, allocations: 47.97 kB / 0.5903 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003745/0.1638, allocations: 280.8 kB / 0.5905 GB, free: 15.56 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001043/0.1639, allocations: 62.48 kB / 0.5906 GB, free: 15.49 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 9.047e-06/0.1639, allocations: 4 kB / 0.5906 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.053e-05/0.1639, allocations: 34.56 kB / 0.5906 GB, free: 15.44 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 1.162e-06/0.1639, allocations: 0 / 0.5906 GB, free: 15.44 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.0003848/0.1643, allocations: 264.5 kB / 0.5909 GB, free: 15.15 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.164e-05/0.1644, allocations: 81.11 kB / 0.591 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.186e-05/0.1645, allocations: 125.8 kB / 0.5911 GB, free: 14.92 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.549e-05/0.1645, allocations: 29.69 kB / 0.5911 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.433e-05/0.1646, allocations: 88.14 kB / 0.5912 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.385e-05/0.1646, allocations: 7.844 kB / 0.5912 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.703e-06/0.1646, allocations: 8 kB / 0.5912 GB, free: 14.78 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001013/0.1647, allocations: 314.8 kB / 0.5915 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.575e-05/0.1648, allocations: 67.89 kB / 0.5916 GB, free: 14.4 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.491e-05/0.1649, allocations: 59.97 kB / 0.5916 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001256/0.165, allocations: 119.4 kB / 0.5917 GB, free: 14.21 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.165, allocations: 0 / 0.5917 GB, free: 14.21 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002571/0.1653, allocations: 220.9 kB / 0.592 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 4.62e-05/0.1653, allocations: 65.75 kB / 0.592 GB, free: 13.9 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.489e-06/0.1654, allocations: 0 / 0.592 GB, free: 13.9 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.002e-05/0.1654, allocations: 0 / 0.592 GB, free: 13.9 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.945e-05/0.1654, allocations: 11.98 kB / 0.592 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.781e-06/0.1654, allocations: 4 kB / 0.592 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.171e-05/0.1655, allocations: 4 kB / 0.592 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.114e-05/0.1655, allocations: 4 kB / 0.592 GB, free: 13.88 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.807e-05/0.1656, allocations: 155.4 kB / 0.5922 GB, free: 13.71 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.238e-05/0.1656, allocations: 0 / 0.5922 GB, free: 13.71 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.155e-05/0.1657, allocations: 7.906 kB / 0.5922 GB, free: 13.7 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.1657, allocations: 4 kB / 0.5922 GB, free: 13.69 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.437e-06/0.1657, allocations: 3.938 kB / 0.5922 GB, free: 13.69 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.904e-06/0.1657, allocations: 0 / 0.5922 GB, free: 13.69 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000154/0.1658, allocations: 181.5 kB / 0.5924 GB, free: 13.46 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.1659, allocations: 4.172 kB / 0.5924 GB, free: 13.46 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.896e-05/0.1659, allocations: 7.984 kB / 0.5924 GB, free: 13.45 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.1659, allocations: 0 / 0.5924 GB, free: 13.45 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.047e-06/0.1659, allocations: 0 / 0.5924 GB, free: 13.45 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.1659, allocations: 0 / 0.5924 GB, free: 13.45 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.1659, allocations: 3.984 kB / 0.5924 GB, free: 13.45 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000245/0.1662, allocations: 257.2 kB / 0.5926 GB, free: 13.17 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.981e-05/0.1662, allocations: 81.02 kB / 0.5927 GB, free: 13.07 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.519e-05/0.1662, allocations: 0 / 0.5927 GB, free: 13.07 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.758e-05/0.1663, allocations: 11.98 kB / 0.5927 GB, free: 13.06 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.8e-05/0.1664, allocations: 4 kB / 0.5927 GB, free: 13.06 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.464e-06/0.1664, allocations: 4.031 kB / 0.5927 GB, free: 13.05 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.812e-05/0.1665, allocations: 103.2 kB / 0.5928 GB, free: 12.95 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.11e-07/0.1665, allocations: 0 / 0.5928 GB, free: 12.95 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002766/0.1668, allocations: 52 kB / 0.5929 GB, free: 12.9 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002282/0.167, allocations: 155.1 kB / 0.593 GB, free: 12.74 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002945/0.1673, allocations: 238.7 kB / 0.5933 GB, free: 12.48 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.524e-06/0.1673, allocations: 4 kB / 0.5933 GB, free: 12.48 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.000123/0.1674, allocations: 107.4 kB / 0.5934 GB, free: 12.36 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001196/0.1676, allocations: 3.953 kB / 0.5934 GB, free: 12.36 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002997/0.1679, allocations: 188.5 kB / 0.5935 GB, free: 12.15 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002275/0.1681, allocations: 0.6849 MB / 0.5942 GB, free: 11.44 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.488e-05/0.1681, allocations: 11.98 kB / 0.5942 GB, free: 11.43 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.092e-05/0.1682, allocations: 11.38 kB / 0.5942 GB, free: 11.41 MB / 0.4981 GB Notification: Performance of SimCode: time 2.31e-07/0.1682, allocations: 0 / 0.5942 GB, free: 11.41 MB / 0.4981 GB Notification: Performance of Templates: time 0.003404/0.1716, allocations: 1.619 MB / 0.5958 GB, free: 9.824 MB / 0.4981 GB make -j1 -f IDEAS_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: