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.001347/0.001347, allocations: 108 kB / 15.6 MB, free: 132 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.001291/0.001291, allocations: 196.7 kB / 16.53 MB, free: 6.391 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.363/1.363, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.93/0.93, allocations: 135.1 MB / 425.5 MB, free: 11.92 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001369/0.001369, allocations: 59.03 kB / 0.5054 GB, free: 5.312 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1455/0.1469, allocations: 80.92 MB / 0.5844 GB, free: 4.547 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.003071/0.15, allocations: 1.418 MB / 0.5858 GB, free: 3.109 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001484/0.1515, allocations: 0.7778 MB / 0.5865 GB, free: 2.328 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.216e-05/0.1516, allocations: 0 / 0.5865 GB, free: 2.328 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 7.324e-05/0.1517, allocations: 0 / 0.5865 GB, free: 2.328 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.04e-05/0.1517, allocations: 7.938 kB / 0.5865 GB, free: 2.32 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006887/0.1524, allocations: 171.6 kB / 0.5867 GB, free: 2.152 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001121/0.1526, allocations: 51.84 kB / 0.5867 GB, free: 2.102 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.802e-05/0.1527, allocations: 15.98 kB / 0.5868 GB, free: 2.086 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.185e-05/0.1527, allocations: 12 kB / 0.5868 GB, free: 2.074 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.482e-05/0.1528, allocations: 19.92 kB / 0.5868 GB, free: 2.055 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.576e-05/0.1528, allocations: 4 kB / 0.5868 GB, free: 2.051 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003454/0.1531, allocations: 203.7 kB / 0.587 GB, free: 1.852 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 4.604e-05/0.1532, allocations: 4 kB / 0.587 GB, free: 1.848 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.221e-05/0.1532, allocations: 23.86 kB / 0.587 GB, free: 1.824 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000314/0.1536, allocations: 191.9 kB / 0.5872 GB, free: 1.637 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.1536, allocations: 0 / 0.5872 GB, free: 1.637 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.985e-06/0.1536, allocations: 4 kB / 0.5872 GB, free: 1.633 MB / 494.1 MB Notification: Performance of Transformations before backend: time 8.045e-06/0.1536, allocations: 7.938 kB / 0.5872 GB, free: 1.625 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.0005635/0.1542, allocations: 426.7 kB / 0.5876 GB, free: 1.148 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.001e-05/0.1542, allocations: 12.03 kB / 0.5876 GB, free: 1.137 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.47e-05/0.1543, allocations: 0.9375 kB / 0.5876 GB, free: 1.137 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001311/0.1544, allocations: 176.2 kB / 0.5878 GB, free: 0.9258 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.3e-05/0.1544, allocations: 384 / 0.5878 GB, free: 0.9258 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.522e-05/0.1544, allocations: 8.125 kB / 0.5878 GB, free: 0.918 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001997/0.1546, allocations: 69.67 kB / 0.5879 GB, free: 0.8438 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.248e-06/0.1547, allocations: 4 kB / 0.5879 GB, free: 0.8398 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.295e-05/0.1547, allocations: 4 kB / 0.5879 GB, free: 0.8359 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.549e-06/0.1547, allocations: 0 / 0.5879 GB, free: 0.8359 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001284/0.1548, allocations: 51.89 kB / 0.5879 GB, free: 0.7852 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004384/0.1553, allocations: 276.8 kB / 0.5882 GB, free: 476 kB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000119/0.1554, allocations: 58.55 kB / 0.5883 GB, free: 408 kB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.805e-05/0.1555, allocations: 52.91 kB / 0.5883 GB, free: 352 kB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.688e-06/0.1555, allocations: 0 / 0.5883 GB, free: 352 kB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.089e-05/0.1556, allocations: 30.56 kB / 0.5883 GB, free: 312 kB / 494.1 MB Notification: Performance of pre-optimization done (n=3): time 1.012e-06/0.1556, allocations: 0 / 0.5883 GB, free: 312 kB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003891/0.156, allocations: 187.2 kB / 0.5885 GB, free: 112 kB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.661e-05/0.156, allocations: 85.11 kB / 0.5886 GB, free: 8 kB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001156/0.1562, allocations: 125.8 kB / 0.5887 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.39e-05/0.1562, allocations: 33.7 kB / 0.5887 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.187e-05/0.1562, allocations: 84.14 kB / 0.5888 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.83e-05/0.1563, allocations: 11.81 kB / 0.5888 GB, free: 15.74 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.519e-05/0.1563, allocations: 21.7 kB / 0.5889 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001061/0.1564, allocations: 322.7 kB / 0.5892 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001109/0.1565, allocations: 55.97 kB / 0.5892 GB, free: 15.33 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.27e-05/0.1567, allocations: 59.95 kB / 0.5893 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002275/0.1569, allocations: 202 kB / 0.5895 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.1569, allocations: 0 / 0.5895 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000292/0.1572, allocations: 217 kB / 0.5897 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 5.194e-05/0.1573, allocations: 67.39 kB / 0.5897 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.142e-06/0.1573, allocations: 0 / 0.5897 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.286e-05/0.1573, allocations: 0 / 0.5897 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.78e-05/0.1574, allocations: 4 kB / 0.5897 GB, free: 14.74 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.15e-06/0.1574, allocations: 0 / 0.5897 GB, free: 14.74 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.988e-05/0.1574, allocations: 7.984 kB / 0.5897 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.049e-05/0.1574, allocations: 8 kB / 0.5898 GB, free: 14.73 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.0001096/0.1576, allocations: 147.5 kB / 0.5899 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.702e-05/0.1576, allocations: 11.89 kB / 0.5899 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.086e-05/0.1576, allocations: 3.906 kB / 0.5899 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.1576, allocations: 0 / 0.5899 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.1576, allocations: 0 / 0.5899 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.1576, allocations: 0 / 0.5899 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001733/0.1578, allocations: 177.8 kB / 0.5901 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.502e-06/0.1578, allocations: 0 / 0.5901 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.017e-05/0.1579, allocations: 8 kB / 0.5901 GB, free: 14.31 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.1579, allocations: 0 / 0.5901 GB, free: 14.31 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.097e-05/0.1579, allocations: 3.984 kB / 0.5901 GB, free: 14.31 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.1579, allocations: 0 / 0.5901 GB, free: 14.31 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.1579, allocations: 0 / 0.5901 GB, free: 14.31 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002812/0.1582, allocations: 261 kB / 0.5903 GB, free: 14.03 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.52e-05/0.1583, allocations: 77.11 kB / 0.5904 GB, free: 13.94 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.947e-05/0.1583, allocations: 11.97 kB / 0.5904 GB, free: 13.93 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.148e-05/0.1584, allocations: 4 kB / 0.5904 GB, free: 13.92 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001182/0.1585, allocations: 7.984 kB / 0.5904 GB, free: 13.91 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.305e-06/0.1585, allocations: 4 kB / 0.5904 GB, free: 13.91 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.901e-05/0.1586, allocations: 95.27 kB / 0.5905 GB, free: 13.82 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.6e-07/0.1586, allocations: 3.938 kB / 0.5905 GB, free: 13.81 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003352/0.1589, allocations: 59.98 kB / 0.5906 GB, free: 13.75 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.0002928/0.1592, allocations: 151.1 kB / 0.5907 GB, free: 13.6 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.00033/0.1596, allocations: 246.7 kB / 0.591 GB, free: 13.33 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.1596, allocations: 0 / 0.591 GB, free: 13.33 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.00013/0.1597, allocations: 103.4 kB / 0.5911 GB, free: 13.22 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002254/0.1599, allocations: 6.297 kB / 0.5911 GB, free: 13.21 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003799/0.1603, allocations: 185.4 kB / 0.5913 GB, free: 13.01 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002649/0.1606, allocations: 0.6924 MB / 0.5919 GB, free: 12.29 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.437e-05/0.1606, allocations: 0 / 0.5919 GB, free: 12.29 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.505e-05/0.1606, allocations: 7.438 kB / 0.5919 GB, free: 12.28 MB / 0.4981 GB Notification: Performance of SimCode: time 3.2e-07/0.1607, allocations: 0 / 0.5919 GB, free: 12.28 MB / 0.4981 GB Notification: Performance of Templates: time 0.004547/0.1652, allocations: 1.757 MB / 0.5937 GB, free: 10.56 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)