Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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_dev_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_dev_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.0009826/0.0009827, allocations: 91.77 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001293/0.001293, allocations: 180.2 kB / 16.92 MB, free: 6.652 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.399/1.399, allocations: 223.3 MB / 241 MB, free: 5.285 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9869/0.9869, allocations: 135.3 MB / 427.4 MB, free: 14.25 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003246/0.0003247, allocations: 11.98 kB / 0.5083 GB, free: 4.746 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1579/0.1583, allocations: 82.31 MB / 0.5886 GB, free: 2.609 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.001459/0.1598, allocations: 1.142 MB / 0.5897 GB, free: 1.453 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001286/0.1611, allocations: 0.7921 MB / 0.5905 GB, free: 0.6562 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.94e-05/0.1611, allocations: 0 / 0.5905 GB, free: 0.6562 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 5.69e-05/0.1612, allocations: 7.938 kB / 0.5905 GB, free: 0.6484 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.565e-05/0.1613, allocations: 0 / 0.5905 GB, free: 0.6484 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005367/0.1618, allocations: 131.8 kB / 0.5907 GB, free: 0.5195 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.972e-05/0.1619, allocations: 39.84 kB / 0.5907 GB, free: 492 kB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.23e-05/0.162, allocations: 8 kB / 0.5907 GB, free: 484 kB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.603e-05/0.162, allocations: 11.98 kB / 0.5907 GB, free: 472 kB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.884e-05/0.1621, allocations: 15.92 kB / 0.5907 GB, free: 456 kB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.298e-05/0.1621, allocations: 4 kB / 0.5907 GB, free: 452 kB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002936/0.1624, allocations: 191.7 kB / 0.5909 GB, free: 260 kB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 4.56e-05/0.1624, allocations: 11.94 kB / 0.5909 GB, free: 248 kB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 5.148e-05/0.1625, allocations: 53.56 kB / 0.591 GB, free: 188 kB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001874/0.1627, allocations: 124.1 kB / 0.5911 GB, free: 64 kB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.888e-06/0.1627, allocations: 0 / 0.5911 GB, free: 64 kB / 494.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.1627, allocations: 0 / 0.5911 GB, free: 64 kB / 494.1 MB Notification: Performance of Transformations before backend: time 3.607e-06/0.1627, allocations: 0 / 0.5911 GB, free: 64 kB / 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.0004949/0.1632, allocations: 430.7 kB / 0.5915 GB, free: 15.58 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.675e-05/0.1633, allocations: 12.03 kB / 0.5915 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.133e-05/0.1633, allocations: 0.9375 kB / 0.5915 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000121/0.1634, allocations: 172.2 kB / 0.5917 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.237e-05/0.1634, allocations: 8.375 kB / 0.5917 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.37e-05/0.1635, allocations: 4.125 kB / 0.5917 GB, free: 15.35 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001915/0.1637, allocations: 85.59 kB / 0.5918 GB, free: 15.26 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.174e-06/0.1637, allocations: 0 / 0.5918 GB, free: 15.26 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.045e-05/0.1637, allocations: 0 / 0.5918 GB, free: 15.26 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.597e-06/0.1637, allocations: 0 / 0.5918 GB, free: 15.26 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001119/0.1638, allocations: 47.97 kB / 0.5918 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003864/0.1642, allocations: 284.9 kB / 0.5921 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001123/0.1643, allocations: 58.55 kB / 0.5921 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.773e-05/0.1644, allocations: 52.84 kB / 0.5922 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.036e-05/0.1645, allocations: 0 / 0.5922 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.425e-05/0.1645, allocations: 38.56 kB / 0.5922 GB, free: 14.72 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 9.82e-07/0.1645, allocations: 0 / 0.5922 GB, free: 14.72 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.0003997/0.1649, allocations: 191.2 kB / 0.5924 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.157e-05/0.165, allocations: 77.11 kB / 0.5925 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.799e-05/0.1651, allocations: 125.8 kB / 0.5926 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.516e-05/0.1651, allocations: 29.73 kB / 0.5926 GB, free: 14.26 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.563e-05/0.1651, allocations: 88.12 kB / 0.5927 GB, free: 14.17 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.542e-05/0.1652, allocations: 11.84 kB / 0.5927 GB, free: 14.16 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.982e-05/0.1652, allocations: 17.72 kB / 0.5928 GB, free: 14.13 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001026/0.1653, allocations: 314.8 kB / 0.5931 GB, free: 13.82 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001178/0.1654, allocations: 67.89 kB / 0.5931 GB, free: 13.75 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.872e-05/0.1655, allocations: 55.97 kB / 0.5932 GB, free: 13.7 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002213/0.1658, allocations: 201.9 kB / 0.5934 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.1658, allocations: 0 / 0.5934 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002768/0.1661, allocations: 220.9 kB / 0.5936 GB, free: 13.24 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 4.843e-05/0.1661, allocations: 63.39 kB / 0.5936 GB, free: 13.17 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.439e-06/0.1661, allocations: 0 / 0.5936 GB, free: 13.17 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.045e-05/0.1662, allocations: 0 / 0.5936 GB, free: 13.17 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.87e-05/0.1662, allocations: 15.92 kB / 0.5936 GB, free: 13.15 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.143e-06/0.1662, allocations: 7.984 kB / 0.5937 GB, free: 13.14 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.525e-05/0.1663, allocations: 4 kB / 0.5937 GB, free: 13.14 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.231e-05/0.1663, allocations: 12 kB / 0.5937 GB, free: 13.13 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.0001148/0.1664, allocations: 155.4 kB / 0.5938 GB, free: 12.96 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.656e-05/0.1665, allocations: 3.906 kB / 0.5938 GB, free: 12.96 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.255e-05/0.1665, allocations: 11.91 kB / 0.5938 GB, free: 12.94 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.363e-06/0.1665, allocations: 0 / 0.5938 GB, free: 12.94 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.426e-06/0.1665, allocations: 4 kB / 0.5938 GB, free: 12.93 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.013e-06/0.1665, allocations: 0 / 0.5938 GB, free: 12.93 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001653/0.1667, allocations: 173.6 kB / 0.594 GB, free: 12.71 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.1667, allocations: 0 / 0.594 GB, free: 12.71 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.882e-05/0.1667, allocations: 4 kB / 0.594 GB, free: 12.71 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.995e-06/0.1667, allocations: 3.984 kB / 0.594 GB, free: 12.71 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.014e-05/0.1667, allocations: 4 kB / 0.594 GB, free: 12.7 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.1667, allocations: 0 / 0.594 GB, free: 12.7 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.1667, allocations: 0 / 0.594 GB, free: 12.7 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002792/0.167, allocations: 253.1 kB / 0.5943 GB, free: 12.43 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.469e-05/0.1671, allocations: 81.02 kB / 0.5943 GB, free: 12.34 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.749e-05/0.1671, allocations: 4 kB / 0.5943 GB, free: 12.33 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.184e-05/0.1672, allocations: 7.984 kB / 0.5943 GB, free: 12.32 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.943e-05/0.1673, allocations: 11.94 kB / 0.5944 GB, free: 12.31 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.861e-06/0.1673, allocations: 0 / 0.5944 GB, free: 12.31 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.493e-05/0.1674, allocations: 102.8 kB / 0.5945 GB, free: 12.21 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1674, allocations: 0 / 0.5945 GB, free: 12.21 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003154/0.1677, allocations: 63.98 kB / 0.5945 GB, free: 12.15 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.0002741/0.168, allocations: 147.2 kB / 0.5947 GB, free: 12 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003307/0.1683, allocations: 246.7 kB / 0.5949 GB, free: 11.73 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.1683, allocations: 4 kB / 0.5949 GB, free: 11.73 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001269/0.1685, allocations: 107.3 kB / 0.595 GB, free: 11.61 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002174/0.1687, allocations: 4 kB / 0.595 GB, free: 11.61 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003556/0.1691, allocations: 214.3 kB / 0.5952 GB, free: 11.37 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002424/0.1693, allocations: 0.6887 MB / 0.5959 GB, free: 10.65 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.613e-05/0.1693, allocations: 11.5 kB / 0.5959 GB, free: 10.64 MB / 0.4981 GB Notification: Performance of SimCode: time 3.8e-07/0.1693, allocations: 0 / 0.5959 GB, free: 10.64 MB / 0.4981 GB Notification: Performance of Templates: time 0.003173/0.1725, allocations: 1.485 MB / 0.5973 GB, free: 9.164 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.makefile (rm -f IDEAS_dev_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.sim & ./IDEAS_dev_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe 2>&1)