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.001138/0.001138, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001212/0.001212, allocations: 197.8 kB / 16.14 MB, free: 6.688 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.368/1.368, allocations: 222.9 MB / 239.8 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7827/0.7827, allocations: 132.2 MB / 422.2 MB, free: 2.004 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001179/0.001179, allocations: 65.75 kB / 0.5011 GB, free: 9.18 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1536/0.1548, allocations: 80.2 MB / 0.5794 GB, free: 9.195 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.002406/0.1572, allocations: 1.481 MB / 0.5809 GB, free: 7.699 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001243/0.1585, allocations: 0.8152 MB / 0.5817 GB, free: 6.879 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.361e-05/0.1585, allocations: 0 / 0.5817 GB, free: 6.879 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 5.966e-05/0.1586, allocations: 4 kB / 0.5817 GB, free: 6.875 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.067e-05/0.1587, allocations: 4 kB / 0.5817 GB, free: 6.871 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004699/0.1591, allocations: 125.8 kB / 0.5818 GB, free: 6.75 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.5e-05/0.1592, allocations: 47.83 kB / 0.5819 GB, free: 6.703 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.003e-05/0.1593, allocations: 4 kB / 0.5819 GB, free: 6.699 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.448e-05/0.1593, allocations: 15.98 kB / 0.5819 GB, free: 6.684 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.504e-05/0.1594, allocations: 19.92 kB / 0.5819 GB, free: 6.664 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.419e-05/0.1594, allocations: 4 kB / 0.5819 GB, free: 6.66 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002906/0.1597, allocations: 187.7 kB / 0.5821 GB, free: 6.477 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 4.601e-05/0.1598, allocations: 15.92 kB / 0.5821 GB, free: 6.461 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.429e-05/0.1598, allocations: 19.92 kB / 0.5821 GB, free: 6.441 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000249/0.1601, allocations: 191.8 kB / 0.5823 GB, free: 6.254 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.1601, allocations: 0 / 0.5823 GB, free: 6.254 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.012e-06/0.1601, allocations: 0 / 0.5823 GB, free: 6.254 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.116e-06/0.1601, allocations: 0 / 0.5823 GB, free: 6.254 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.0004721/0.1606, allocations: 438.7 kB / 0.5827 GB, free: 5.766 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.832e-05/0.1606, allocations: 8.031 kB / 0.5827 GB, free: 5.758 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.705e-05/0.1606, allocations: 8.844 kB / 0.5827 GB, free: 5.75 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001069/0.1608, allocations: 168.4 kB / 0.5829 GB, free: 5.547 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.248e-05/0.1608, allocations: 384 / 0.5829 GB, free: 5.547 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.348e-05/0.1608, allocations: 8.125 kB / 0.5829 GB, free: 5.539 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001841/0.161, allocations: 77.66 kB / 0.583 GB, free: 5.457 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.775e-06/0.161, allocations: 0 / 0.583 GB, free: 5.457 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.131e-05/0.161, allocations: 3.984 kB / 0.583 GB, free: 5.453 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.546e-06/0.161, allocations: 0 / 0.583 GB, free: 5.453 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000115/0.1611, allocations: 51.91 kB / 0.583 GB, free: 5.402 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003661/0.1615, allocations: 280.8 kB / 0.5833 GB, free: 5.078 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001212/0.1617, allocations: 54.56 kB / 0.5833 GB, free: 5.016 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.625e-05/0.1618, allocations: 44.91 kB / 0.5834 GB, free: 4.969 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.101e-05/0.1618, allocations: 0 / 0.5834 GB, free: 4.969 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.33e-05/0.1618, allocations: 38.56 kB / 0.5834 GB, free: 4.922 MB / 494.1 MB Notification: Performance of pre-optimization done (n=3): time 9.82e-07/0.1618, allocations: 0 / 0.5834 GB, free: 4.922 MB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003955/0.1622, allocations: 187.2 kB / 0.5836 GB, free: 4.727 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.878e-05/0.1623, allocations: 77.11 kB / 0.5837 GB, free: 4.633 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001008/0.1624, allocations: 129.8 kB / 0.5838 GB, free: 4.496 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.436e-05/0.1624, allocations: 25.7 kB / 0.5838 GB, free: 4.465 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.471e-05/0.1624, allocations: 92.08 kB / 0.5839 GB, free: 4.371 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.432e-05/0.1625, allocations: 11.84 kB / 0.5839 GB, free: 4.359 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.549e-05/0.1625, allocations: 25.7 kB / 0.5839 GB, free: 4.328 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.884e-05/0.1626, allocations: 318.8 kB / 0.5842 GB, free: 4.008 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001049/0.1627, allocations: 59.95 kB / 0.5843 GB, free: 3.949 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.457e-05/0.1628, allocations: 59.97 kB / 0.5844 GB, free: 3.891 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002201/0.1631, allocations: 189.8 kB / 0.5845 GB, free: 3.684 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.1631, allocations: 0 / 0.5845 GB, free: 3.684 MB / 494.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002829/0.1634, allocations: 221 kB / 0.5848 GB, free: 3.449 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.122e-05/0.1634, allocations: 69.36 kB / 0.5848 GB, free: 3.371 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.1634, allocations: 0 / 0.5848 GB, free: 3.371 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.106e-05/0.1635, allocations: 0 / 0.5848 GB, free: 3.371 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.562e-05/0.1635, allocations: 4 kB / 0.5848 GB, free: 3.367 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.458e-06/0.1635, allocations: 0 / 0.5848 GB, free: 3.367 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.893e-05/0.1636, allocations: 11.89 kB / 0.5848 GB, free: 3.355 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.286e-05/0.1636, allocations: 4 kB / 0.5848 GB, free: 3.352 MB / 494.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.515e-05/0.1637, allocations: 152.1 kB / 0.585 GB, free: 3.188 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.025e-05/0.1638, allocations: 8 kB / 0.585 GB, free: 3.18 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.983e-05/0.1638, allocations: 3.906 kB / 0.585 GB, free: 3.172 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.1638, allocations: 4.062 kB / 0.585 GB, free: 3.168 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.1638, allocations: 4 kB / 0.585 GB, free: 3.164 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.723e-06/0.1638, allocations: 0 / 0.585 GB, free: 3.164 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001629/0.164, allocations: 173.6 kB / 0.5852 GB, free: 2.945 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.164, allocations: 0 / 0.5852 GB, free: 2.945 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.744e-05/0.164, allocations: 7.938 kB / 0.5852 GB, free: 2.938 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.164, allocations: 0 / 0.5852 GB, free: 2.938 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.09e-05/0.164, allocations: 8 kB / 0.5852 GB, free: 2.93 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.129e-05/0.1641, allocations: 3.984 kB / 0.5852 GB, free: 2.926 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.1641, allocations: 0 / 0.5852 GB, free: 2.926 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002719/0.1643, allocations: 249 kB / 0.5854 GB, free: 2.66 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.221e-05/0.1644, allocations: 85.05 kB / 0.5855 GB, free: 2.559 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.698e-05/0.1644, allocations: 0 / 0.5855 GB, free: 2.559 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.369e-05/0.1645, allocations: 4.234 kB / 0.5855 GB, free: 2.555 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.534e-05/0.1646, allocations: 12.02 kB / 0.5855 GB, free: 2.543 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.727e-06/0.1646, allocations: 3.984 kB / 0.5855 GB, free: 2.539 MB / 494.1 MB Notification: Performance of sorting global known variables: time 5.926e-05/0.1647, allocations: 103.1 kB / 0.5856 GB, free: 2.441 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1647, allocations: 0 / 0.5856 GB, free: 2.441 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003106/0.165, allocations: 55.98 kB / 0.5857 GB, free: 2.387 MB / 494.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.0002466/0.1652, allocations: 151.2 kB / 0.5858 GB, free: 2.227 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0003374/0.1656, allocations: 242.7 kB / 0.5861 GB, free: 1.965 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.1656, allocations: 4 kB / 0.5861 GB, free: 1.961 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001196/0.1657, allocations: 103.4 kB / 0.5862 GB, free: 1.848 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002155/0.166, allocations: 5.047 kB / 0.5862 GB, free: 1.848 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003387/0.1663, allocations: 195 kB / 0.5863 GB, free: 1.633 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002326/0.1665, allocations: 0.6887 MB / 0.587 GB, free: 0.918 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 1.898e-05/0.1666, allocations: 8.062 kB / 0.587 GB, free: 0.9102 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.505e-05/0.1666, allocations: 7.438 kB / 0.587 GB, free: 0.9023 MB / 494.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1666, allocations: 0 / 0.587 GB, free: 0.9023 MB / 494.1 MB Notification: Performance of Templates: time 0.00389/0.1705, allocations: 1.647 MB / 0.5886 GB, free: 15.29 MB / 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)