Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Annex60_1.0.0_Annex60.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Annex60.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline") translateModel(Annex60.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.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.008439/0.008439, allocations: 99.98 kB / 15.73 MB, free: 6.039 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.001895/0.001895, allocations: 202 kB / 16.68 MB, free: 5.965 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.74/1.74, allocations: 205.1 MB / 222.6 MB, free: 4.531 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4239/0.4239, allocations: 54.94 MB / 324.9 MB, free: 15.93 MB / 270.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Annex60 requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001494/0.001494, allocations: 70.81 kB / 456.2 MB, free: 38.12 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1583/0.1598, allocations: 59.59 MB / 0.5037 GB, free: 9.578 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.00328/0.1631, allocations: 1.401 MB / 0.5051 GB, free: 8.48 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001448/0.1646, allocations: 0.7954 MB / 0.5059 GB, free: 7.863 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.646e-05/0.1647, allocations: 1.375 kB / 0.5059 GB, free: 7.863 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 8.719e-05/0.1648, allocations: 0 / 0.5059 GB, free: 7.863 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 6.842e-05/0.1649, allocations: 5.312 kB / 0.5059 GB, free: 7.859 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009104/0.1658, allocations: 167.5 kB / 0.506 GB, free: 7.762 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001637/0.166, allocations: 60.47 kB / 0.5061 GB, free: 7.723 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001058/0.1661, allocations: 8.109 kB / 0.5061 GB, free: 7.719 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.063e-05/0.1661, allocations: 18.8 kB / 0.5061 GB, free: 7.707 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.36e-05/0.1662, allocations: 21.42 kB / 0.5061 GB, free: 7.691 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.763e-05/0.1662, allocations: 2.75 kB / 0.5061 GB, free: 7.691 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004344/0.1667, allocations: 199.8 kB / 0.5063 GB, free: 7.586 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.182e-05/0.1667, allocations: 12.11 kB / 0.5063 GB, free: 7.578 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.201e-05/0.1668, allocations: 25.36 kB / 0.5064 GB, free: 7.559 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003309/0.1671, allocations: 189.4 kB / 0.5065 GB, free: 7.441 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.1671, allocations: 0 / 0.5065 GB, free: 7.441 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.397e-06/0.1671, allocations: 0 / 0.5065 GB, free: 7.441 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.135e-05/0.1672, allocations: 5.281 kB / 0.5066 GB, free: 7.438 MB / 382.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.0005466/0.1677, allocations: 432.8 kB / 0.507 GB, free: 6.98 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.221e-05/0.1678, allocations: 9.844 kB / 0.507 GB, free: 6.98 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.345e-05/0.1678, allocations: 7.109 kB / 0.507 GB, free: 6.977 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.838e-05/0.1679, allocations: 179 kB / 0.5072 GB, free: 6.766 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.538e-05/0.1679, allocations: 1.594 kB / 0.5072 GB, free: 6.766 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.671e-05/0.168, allocations: 6.625 kB / 0.5072 GB, free: 6.762 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001965/0.1682, allocations: 71.36 kB / 0.5072 GB, free: 6.715 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.01e-05/0.1682, allocations: 0 / 0.5072 GB, free: 6.715 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.367e-05/0.1682, allocations: 5.188 kB / 0.5072 GB, free: 6.711 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/0.1682, allocations: 0 / 0.5072 GB, free: 6.711 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001118/0.1683, allocations: 48.52 kB / 0.5073 GB, free: 6.691 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003643/0.1687, allocations: 284.4 kB / 0.5076 GB, free: 6.383 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001134/0.1688, allocations: 56.16 kB / 0.5076 GB, free: 6.344 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.21e-05/0.1689, allocations: 46.69 kB / 0.5076 GB, free: 6.32 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.29e-05/0.1689, allocations: 0 / 0.5076 GB, free: 6.32 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.904e-05/0.169, allocations: 31.53 kB / 0.5077 GB, free: 6.281 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.423e-06/0.169, allocations: 1.156 kB / 0.5077 GB, free: 6.281 MB / 382.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003905/0.1694, allocations: 192.5 kB / 0.5079 GB, free: 6.16 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.816e-05/0.1694, allocations: 83.52 kB / 0.5079 GB, free: 6.062 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.054e-05/0.1695, allocations: 122.8 kB / 0.5081 GB, free: 5.949 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.191e-05/0.1695, allocations: 26.95 kB / 0.5081 GB, free: 5.918 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.049e-05/0.1696, allocations: 86.8 kB / 0.5082 GB, free: 5.832 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.253e-05/0.1696, allocations: 5.141 kB / 0.5082 GB, free: 5.828 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.114e-05/0.1696, allocations: 24.8 kB / 0.5082 GB, free: 5.805 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.066e-05/0.1697, allocations: 325.1 kB / 0.5085 GB, free: 5.48 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.559e-05/0.1698, allocations: 59.36 kB / 0.5086 GB, free: 5.457 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.537e-05/0.1699, allocations: 56.62 kB / 0.5086 GB, free: 5.438 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002014/0.1701, allocations: 194 kB / 0.5088 GB, free: 5.293 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.1701, allocations: 0 / 0.5088 GB, free: 5.293 MB / 382.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002687/0.1704, allocations: 220.9 kB / 0.509 GB, free: 5.145 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.134e-05/0.1704, allocations: 67.58 kB / 0.5091 GB, free: 5.074 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.1704, allocations: 1.375 kB / 0.5091 GB, free: 5.074 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.542e-05/0.1705, allocations: 4 kB / 0.5091 GB, free: 5.07 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.896e-05/0.1705, allocations: 2.75 kB / 0.5091 GB, free: 5.07 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.124e-06/0.1705, allocations: 1.438 kB / 0.5091 GB, free: 5.07 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.67e-05/0.1706, allocations: 12.11 kB / 0.5091 GB, free: 5.062 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.315e-05/0.1706, allocations: 2.984 kB / 0.5091 GB, free: 5.062 MB / 382.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.06e-05/0.1707, allocations: 150.3 kB / 0.5092 GB, free: 4.906 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.572e-05/0.1707, allocations: 8.078 kB / 0.5093 GB, free: 4.902 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.362e-05/0.1708, allocations: 13.27 kB / 0.5093 GB, free: 4.883 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.1708, allocations: 4 kB / 0.5093 GB, free: 4.879 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/0.1708, allocations: 0 / 0.5093 GB, free: 4.879 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.377e-06/0.1708, allocations: 1.375 kB / 0.5093 GB, free: 4.879 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001334/0.1709, allocations: 177.8 kB / 0.5094 GB, free: 4.664 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.51e-07/0.1709, allocations: 1.438 kB / 0.5094 GB, free: 4.664 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.464e-05/0.171, allocations: 2.625 kB / 0.5094 GB, free: 4.664 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.332e-06/0.171, allocations: 0 / 0.5094 GB, free: 4.664 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.177e-05/0.171, allocations: 5.438 kB / 0.5094 GB, free: 4.66 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.171, allocations: 1.531 kB / 0.5095 GB, free: 4.66 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.171, allocations: 0 / 0.5095 GB, free: 4.66 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002482/0.1712, allocations: 259.1 kB / 0.5097 GB, free: 4.445 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.392e-05/0.1713, allocations: 78.33 kB / 0.5098 GB, free: 4.352 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.778e-05/0.1713, allocations: 1.312 kB / 0.5098 GB, free: 4.352 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.531e-05/0.1714, allocations: 7.75 kB / 0.5098 GB, free: 4.348 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000153/0.1715, allocations: 11.61 kB / 0.5098 GB, free: 4.34 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.204e-06/0.1715, allocations: 1.125 kB / 0.5098 GB, free: 4.34 MB / 382.1 MB Notification: Performance of sorting global known variables: time 4.665e-05/0.1716, allocations: 95.14 kB / 0.5099 GB, free: 4.258 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1716, allocations: 7.938 kB / 0.5099 GB, free: 4.25 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002903/0.1719, allocations: 62.83 kB / 0.51 GB, free: 4.199 MB / 382.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.0002154/0.1721, allocations: 147 kB / 0.5101 GB, free: 4.047 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000279/0.1724, allocations: 242.7 kB / 0.5103 GB, free: 3.785 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.1724, allocations: 0 / 0.5103 GB, free: 3.785 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 9.285e-05/0.1725, allocations: 107.3 kB / 0.5104 GB, free: 3.668 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000209/0.1727, allocations: 8.062 kB / 0.5104 GB, free: 3.66 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003092/0.1731, allocations: 177.4 kB / 0.5106 GB, free: 3.461 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000135/0.1732, allocations: 0.6885 MB / 0.5113 GB, free: 2.746 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 1.448e-05/0.1732, allocations: 0 / 0.5113 GB, free: 2.746 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.549e-05/0.1732, allocations: 7.438 kB / 0.5113 GB, free: 2.738 MB / 382.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1732, allocations: 4 kB / 0.5113 GB, free: 2.734 MB / 382.1 MB Notification: Performance of Templates: time 0.003794/0.177, allocations: 1.758 MB / 0.513 GB, free: 0.9922 MB / 382.1 MB make -j1 -f Annex60_1.0.0_Annex60.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.makefile (rm -f Annex60_1.0.0_Annex60.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe ; mkfifo Annex60_1.0.0_Annex60.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe >> ../files/Annex60_1.0.0_Annex60.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.sim & ./Annex60_1.0.0_Annex60.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe 2>&1)