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.007624/0.007624, allocations: 101.1 kB / 15.73 MB, free: 6.035 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.001685/0.001685, allocations: 199.3 kB / 16.67 MB, free: 5.969 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.437/1.437, allocations: 222.9 MB / 240.4 MB, free: 4.188 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7601/0.7601, allocations: 132.2 MB / 422.7 MB, free: 1.613 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001222/0.001222, allocations: 60.56 kB / 0.5814 GB, free: 0.8711 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1419/0.1431, allocations: 80.21 MB / 0.6597 GB, free: 13.51 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.002513/0.1457, allocations: 1.415 MB / 0.6611 GB, free: 12.08 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001297/0.147, allocations: 0.7838 MB / 0.6618 GB, free: 11.29 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.265e-05/0.147, allocations: 0 / 0.6618 GB, free: 11.29 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 6.122e-05/0.1471, allocations: 7.938 kB / 0.6618 GB, free: 11.29 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.312e-05/0.1472, allocations: 7.938 kB / 0.6619 GB, free: 11.28 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006599/0.1478, allocations: 188.9 kB / 0.662 GB, free: 11.09 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 9.993e-05/0.1479, allocations: 35.98 kB / 0.6621 GB, free: 11.06 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 7.756e-05/0.148, allocations: 11.98 kB / 0.6621 GB, free: 11.05 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.641e-05/0.1481, allocations: 12 kB / 0.6621 GB, free: 11.04 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.665e-05/0.1481, allocations: 19.91 kB / 0.6621 GB, free: 11.02 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.38e-05/0.1482, allocations: 8 kB / 0.6621 GB, free: 11.01 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003326/0.1485, allocations: 203.7 kB / 0.6623 GB, free: 10.81 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.164e-05/0.1485, allocations: 15.92 kB / 0.6623 GB, free: 10.79 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.482e-05/0.1486, allocations: 15.94 kB / 0.6623 GB, free: 10.78 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002753/0.1489, allocations: 195.5 kB / 0.6625 GB, free: 10.59 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.1489, allocations: 0 / 0.6625 GB, free: 10.59 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.142e-06/0.1489, allocations: 0 / 0.6625 GB, free: 10.59 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.038e-06/0.1489, allocations: 0 / 0.6625 GB, free: 10.59 MB / 0.4981 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.0004577/0.1494, allocations: 422.8 kB / 0.6629 GB, free: 10.11 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.237e-05/0.1494, allocations: 12.02 kB / 0.6629 GB, free: 10.1 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.72e-05/0.1494, allocations: 12.84 kB / 0.663 GB, free: 10.09 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001182/0.1496, allocations: 172.3 kB / 0.6631 GB, free: 9.883 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.098e-05/0.1496, allocations: 384 / 0.6631 GB, free: 9.883 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.439e-05/0.1496, allocations: 7.938 kB / 0.6631 GB, free: 9.875 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001679/0.1498, allocations: 73.66 kB / 0.6632 GB, free: 9.797 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.723e-06/0.1498, allocations: 0 / 0.6632 GB, free: 9.797 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.091e-05/0.1498, allocations: 0 / 0.6632 GB, free: 9.797 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.356e-06/0.1498, allocations: 3.938 kB / 0.6632 GB, free: 9.793 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001165/0.1499, allocations: 47.97 kB / 0.6632 GB, free: 9.746 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003517/0.1503, allocations: 284.8 kB / 0.6635 GB, free: 9.418 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000112/0.1504, allocations: 66.55 kB / 0.6636 GB, free: 9.344 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.327e-05/0.1505, allocations: 44.86 kB / 0.6636 GB, free: 9.297 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.118e-05/0.1505, allocations: 3.984 kB / 0.6636 GB, free: 9.293 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.053e-05/0.1506, allocations: 38.5 kB / 0.6637 GB, free: 9.246 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 1.322e-06/0.1506, allocations: 7.938 kB / 0.6637 GB, free: 9.238 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.0003696/0.151, allocations: 179.2 kB / 0.6638 GB, free: 9.051 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.791e-05/0.151, allocations: 81.11 kB / 0.6639 GB, free: 8.953 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.218e-05/0.1511, allocations: 125.8 kB / 0.664 GB, free: 8.82 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.144e-05/0.1512, allocations: 25.7 kB / 0.6641 GB, free: 8.789 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.41e-05/0.1512, allocations: 88.14 kB / 0.6641 GB, free: 8.699 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.447e-05/0.1512, allocations: 7.891 kB / 0.6642 GB, free: 8.691 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.466e-05/0.1513, allocations: 25.75 kB / 0.6642 GB, free: 8.66 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001127/0.1514, allocations: 322.8 kB / 0.6645 GB, free: 8.336 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.979e-05/0.1515, allocations: 55.97 kB / 0.6645 GB, free: 8.281 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.914e-05/0.1516, allocations: 55.97 kB / 0.6646 GB, free: 8.227 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000226/0.1518, allocations: 193.8 kB / 0.6648 GB, free: 8.016 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.1519, allocations: 0 / 0.6648 GB, free: 8.016 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002955/0.1522, allocations: 221 kB / 0.665 GB, free: 7.781 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 4.492e-05/0.1522, allocations: 67.41 kB / 0.6651 GB, free: 7.703 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.099e-06/0.1522, allocations: 4 kB / 0.6651 GB, free: 7.699 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.838e-06/0.1522, allocations: 0 / 0.6651 GB, free: 7.699 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.412e-05/0.1523, allocations: 7.984 kB / 0.6651 GB, free: 7.691 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/0.1523, allocations: 3.984 kB / 0.6651 GB, free: 7.688 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.435e-05/0.1524, allocations: 4 kB / 0.6651 GB, free: 7.684 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.244e-05/0.1524, allocations: 4 kB / 0.6651 GB, free: 7.68 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.0001013/0.1525, allocations: 152.1 kB / 0.6652 GB, free: 7.516 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.81e-05/0.1525, allocations: 3.906 kB / 0.6652 GB, free: 7.512 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.236e-05/0.1525, allocations: 11.91 kB / 0.6652 GB, free: 7.488 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.423e-06/0.1526, allocations: 3.938 kB / 0.6652 GB, free: 7.484 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.175e-06/0.1526, allocations: 0 / 0.6652 GB, free: 7.484 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.305e-06/0.1526, allocations: 240 / 0.6652 GB, free: 7.484 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001606/0.1527, allocations: 177.5 kB / 0.6654 GB, free: 7.262 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.446e-06/0.1527, allocations: 4 kB / 0.6654 GB, free: 7.258 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.858e-05/0.1528, allocations: 11.91 kB / 0.6654 GB, free: 7.246 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.1528, allocations: 0 / 0.6654 GB, free: 7.246 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.054e-05/0.1528, allocations: 4 kB / 0.6654 GB, free: 7.242 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.1528, allocations: 0 / 0.6654 GB, free: 7.242 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.1528, allocations: 4 kB / 0.6654 GB, free: 7.238 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002601/0.1531, allocations: 245.1 kB / 0.6657 GB, free: 6.977 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.815e-05/0.1531, allocations: 85.02 kB / 0.6657 GB, free: 6.875 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.47e-05/0.1531, allocations: 0 / 0.6657 GB, free: 6.875 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.071e-05/0.1532, allocations: 7.984 kB / 0.6658 GB, free: 6.867 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.044e-05/0.1533, allocations: 8 kB / 0.6658 GB, free: 6.859 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.482e-06/0.1533, allocations: 0 / 0.6658 GB, free: 6.859 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.315e-05/0.1534, allocations: 102.5 kB / 0.6659 GB, free: 6.762 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.084e-06/0.1534, allocations: 0 / 0.6659 GB, free: 6.762 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003131/0.1537, allocations: 71.8 kB / 0.6659 GB, free: 6.691 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.000233/0.154, allocations: 147.2 kB / 0.6661 GB, free: 6.539 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003246/0.1543, allocations: 242.7 kB / 0.6663 GB, free: 6.277 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.1543, allocations: 0 / 0.6663 GB, free: 6.277 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001319/0.1544, allocations: 107.4 kB / 0.6664 GB, free: 6.16 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002165/0.1547, allocations: 6.5 kB / 0.6664 GB, free: 6.156 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003201/0.155, allocations: 173.4 kB / 0.6666 GB, free: 5.957 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002274/0.1552, allocations: 0.6807 MB / 0.6672 GB, free: 5.25 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.494e-05/0.1553, allocations: 3.938 kB / 0.6672 GB, free: 5.246 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.505e-05/0.1553, allocations: 11.44 kB / 0.6673 GB, free: 5.234 MB / 0.4981 GB Notification: Performance of SimCode: time 2.3e-07/0.1553, allocations: 0 / 0.6673 GB, free: 5.234 MB / 0.4981 GB Notification: Performance of Templates: time 0.004187/0.1595, allocations: 1.76 MB / 0.669 GB, free: 3.516 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)