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.001525/0.001525, allocations: 104.8 kB / 16.46 MB, free: 6.004 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.001415/0.001415, allocations: 196.1 kB / 17.4 MB, free: 5.539 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.332/1.332, allocations: 225.6 MB / 243.8 MB, free: 14.11 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8195/0.8195, allocations: 137 MB / 433.6 MB, free: 15.7 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001761/0.001761, allocations: 62.44 kB / 0.6022 GB, free: 12.35 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1511/0.1529, allocations: 85.45 MB / 0.6856 GB, free: 6.879 MB / 0.5138 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.002632/0.1555, allocations: 1.418 MB / 0.687 GB, free: 5.457 MB / 0.5138 GB Notification: Performance of NFInst.instExpressions: time 0.001298/0.1568, allocations: 0.7917 MB / 0.6878 GB, free: 4.66 MB / 0.5138 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.951e-05/0.1568, allocations: 0 / 0.6878 GB, free: 4.66 MB / 0.5138 GB Notification: Performance of NFTyping.typeComponents: time 6.336e-05/0.1569, allocations: 0 / 0.6878 GB, free: 4.66 MB / 0.5138 GB Notification: Performance of NFTyping.typeBindings: time 4.62e-05/0.1569, allocations: 7.938 kB / 0.6878 GB, free: 4.652 MB / 0.5138 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006075/0.1576, allocations: 167.6 kB / 0.688 GB, free: 4.488 MB / 0.5138 GB Notification: Performance of NFFlatten.flatten: time 0.0001178/0.1577, allocations: 55.84 kB / 0.688 GB, free: 4.434 MB / 0.5138 GB Notification: Performance of NFFlatten.resolveConnections: time 7.107e-05/0.1577, allocations: 3.938 kB / 0.688 GB, free: 4.43 MB / 0.5138 GB Notification: Performance of NFEvalConstants.evaluate: time 3.52e-05/0.1578, allocations: 15.98 kB / 0.688 GB, free: 4.414 MB / 0.5138 GB Notification: Performance of NFSimplifyModel.simplify: time 6.119e-05/0.1578, allocations: 19.92 kB / 0.6881 GB, free: 4.395 MB / 0.5138 GB Notification: Performance of NFPackage.collectConstants: time 1.574e-05/0.1579, allocations: 4 kB / 0.6881 GB, free: 4.391 MB / 0.5138 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003452/0.1582, allocations: 219.6 kB / 0.6883 GB, free: 4.176 MB / 0.5138 GB Notification: Performance of NFScalarize.scalarize: time 4.224e-05/0.1582, allocations: 7.938 kB / 0.6883 GB, free: 4.168 MB / 0.5138 GB Notification: Performance of NFVerifyModel.verify: time 4.876e-05/0.1583, allocations: 19.92 kB / 0.6883 GB, free: 4.148 MB / 0.5138 GB Notification: Performance of NFConvertDAE.convert: time 0.0002879/0.1586, allocations: 191.5 kB / 0.6885 GB, free: 3.961 MB / 0.5138 GB Notification: Performance of FrontEnd - DAE generated: time 3.397e-06/0.1586, allocations: 0 / 0.6885 GB, free: 3.961 MB / 0.5138 GB Notification: Performance of FrontEnd: time 1.112e-06/0.1586, allocations: 0 / 0.6885 GB, free: 3.961 MB / 0.5138 GB Notification: Performance of Transformations before backend: time 9.208e-06/0.1586, allocations: 0 / 0.6885 GB, free: 3.961 MB / 0.5138 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.0005247/0.1591, allocations: 434.4 kB / 0.6889 GB, free: 3.477 MB / 0.5138 GB Notification: Performance of prepare preOptimizeDAE: time 3.52e-05/0.1592, allocations: 13.11 kB / 0.6889 GB, free: 3.465 MB / 0.5138 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.054e-05/0.1592, allocations: 0.9375 kB / 0.6889 GB, free: 3.465 MB / 0.5138 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001469/0.1593, allocations: 180.3 kB / 0.6891 GB, free: 3.25 MB / 0.5138 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.109e-05/0.1593, allocations: 384 / 0.6891 GB, free: 3.25 MB / 0.5138 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.895e-05/0.1594, allocations: 7.938 kB / 0.6891 GB, free: 3.242 MB / 0.5138 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001773/0.1595, allocations: 77.66 kB / 0.6892 GB, free: 3.16 MB / 0.5138 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.742e-06/0.1595, allocations: 0 / 0.6892 GB, free: 3.16 MB / 0.5138 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.187e-06/0.1596, allocations: 0 / 0.6892 GB, free: 3.16 MB / 0.5138 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.186e-06/0.1596, allocations: 4 kB / 0.6892 GB, free: 3.156 MB / 0.5138 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001075/0.1597, allocations: 43.97 kB / 0.6892 GB, free: 3.113 MB / 0.5138 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003899/0.1601, allocations: 284.8 kB / 0.6895 GB, free: 2.785 MB / 0.5138 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001221/0.1602, allocations: 58.55 kB / 0.6895 GB, free: 2.719 MB / 0.5138 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.501e-05/0.1603, allocations: 44.91 kB / 0.6896 GB, free: 2.672 MB / 0.5138 GB Notification: Performance of preOpt evalFunc (simulation): time 9.278e-06/0.1603, allocations: 3.938 kB / 0.6896 GB, free: 2.668 MB / 0.5138 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.488e-05/0.1603, allocations: 30.56 kB / 0.6896 GB, free: 2.629 MB / 0.5138 GB Notification: Performance of pre-optimization done (n=3): time 4.328e-06/0.1603, allocations: 4 kB / 0.6896 GB, free: 2.625 MB / 0.5138 GB Notification: Performance of matching and sorting (n=3): time 0.0003802/0.1607, allocations: 191.2 kB / 0.6898 GB, free: 2.426 MB / 0.5138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.31e-05/0.1607, allocations: 85.11 kB / 0.6899 GB, free: 2.324 MB / 0.5138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001159/0.1608, allocations: 121.8 kB / 0.69 GB, free: 2.195 MB / 0.5138 GB Notification: Performance of collectPreVariables (initialization): time 1.911e-05/0.1609, allocations: 29.69 kB / 0.69 GB, free: 2.16 MB / 0.5138 GB Notification: Performance of collectInitialEqns (initialization): time 4.834e-05/0.1609, allocations: 84.14 kB / 0.6901 GB, free: 2.074 MB / 0.5138 GB Notification: Performance of collectInitialBindings (initialization): time 1.612e-05/0.1609, allocations: 11.91 kB / 0.6901 GB, free: 2.062 MB / 0.5138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.143e-05/0.161, allocations: 21.72 kB / 0.6901 GB, free: 2.035 MB / 0.5138 GB Notification: Performance of setup shared object (initialization): time 0.0001392/0.1611, allocations: 322.8 kB / 0.6904 GB, free: 1.711 MB / 0.5138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001029/0.1612, allocations: 59.97 kB / 0.6905 GB, free: 1.652 MB / 0.5138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.162e-05/0.1613, allocations: 59.95 kB / 0.6906 GB, free: 1.594 MB / 0.5138 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002337/0.1616, allocations: 193.9 kB / 0.6907 GB, free: 1.383 MB / 0.5138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.1616, allocations: 0 / 0.6907 GB, free: 1.383 MB / 0.5138 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003027/0.1619, allocations: 217 kB / 0.691 GB, free: 1.152 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 6.427e-05/0.1619, allocations: 63.39 kB / 0.691 GB, free: 1.078 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.168e-06/0.1619, allocations: 8 kB / 0.691 GB, free: 1.07 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.199e-05/0.1619, allocations: 0 / 0.691 GB, free: 1.07 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.284e-05/0.162, allocations: 0 / 0.691 GB, free: 1.07 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.342e-06/0.162, allocations: 7.938 kB / 0.691 GB, free: 1.062 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.729e-05/0.162, allocations: 11.89 kB / 0.691 GB, free: 1.051 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.027e-06/0.1621, allocations: 0 / 0.691 GB, free: 1.051 MB / 0.5138 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.0001188/0.1622, allocations: 151.5 kB / 0.6912 GB, free: 0.8867 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.927e-05/0.1622, allocations: 4 kB / 0.6912 GB, free: 0.8828 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.34e-05/0.1622, allocations: 11.89 kB / 0.6912 GB, free: 0.8672 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.1622, allocations: 4 kB / 0.6912 GB, free: 0.8633 MB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.416e-06/0.1622, allocations: 0 / 0.6912 GB, free: 0.8633 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.1622, allocations: 0 / 0.6912 GB, free: 0.8633 MB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001816/0.1624, allocations: 173.6 kB / 0.6914 GB, free: 0.6445 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.1624, allocations: 0 / 0.6914 GB, free: 0.6445 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.45e-05/0.1625, allocations: 4 kB / 0.6914 GB, free: 0.6406 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.432e-06/0.1625, allocations: 3.938 kB / 0.6914 GB, free: 0.6367 MB / 0.5138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.075e-05/0.1625, allocations: 4 kB / 0.6914 GB, free: 0.6328 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.726e-06/0.1625, allocations: 4 kB / 0.6914 GB, free: 0.6289 MB / 0.5138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.1625, allocations: 3.938 kB / 0.6914 GB, free: 0.625 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002866/0.1628, allocations: 253.4 kB / 0.6916 GB, free: 364 kB / 0.5138 GB Notification: Performance of postOpt removeConstants (simulation): time 4.877e-05/0.1628, allocations: 89.05 kB / 0.6917 GB, free: 256 kB / 0.5138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.646e-05/0.1628, allocations: 4 kB / 0.6917 GB, free: 252 kB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.727e-05/0.1629, allocations: 4 kB / 0.6917 GB, free: 248 kB / 0.5138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001191/0.163, allocations: 11.98 kB / 0.6917 GB, free: 236 kB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.45e-06/0.163, allocations: 0 / 0.6917 GB, free: 236 kB / 0.5138 GB Notification: Performance of sorting global known variables: time 7.12e-05/0.1631, allocations: 99.3 kB / 0.6918 GB, free: 136 kB / 0.5138 GB Notification: Performance of sort global known variables: time 8.1e-08/0.1631, allocations: 0 / 0.6918 GB, free: 136 kB / 0.5138 GB Notification: Performance of remove unused functions: time 0.0002995/0.1634, allocations: 63.81 kB / 0.6919 GB, free: 72 kB / 0.5138 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.000265/0.1637, allocations: 147.1 kB / 0.692 GB, free: 15.92 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0003309/0.164, allocations: 234.7 kB / 0.6923 GB, free: 15.66 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.164, allocations: 0 / 0.6923 GB, free: 15.66 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0001266/0.1641, allocations: 99.38 kB / 0.6923 GB, free: 15.55 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001977/0.1643, allocations: 12.05 kB / 0.6924 GB, free: 15.54 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000365/0.1647, allocations: 207.1 kB / 0.6926 GB, free: 15.3 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000322/0.165, allocations: 0.6846 MB / 0.6932 GB, free: 14.59 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.784e-05/0.165, allocations: 11.44 kB / 0.6932 GB, free: 14.58 MB / 0.5294 GB Notification: Performance of SimCode: time 2.81e-07/0.165, allocations: 0 / 0.6932 GB, free: 14.58 MB / 0.5294 GB Notification: Performance of Templates: time 0.003244/0.1683, allocations: 1.51 MB / 0.6947 GB, free: 13.08 MB / 0.5294 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)