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.006752/0.006752, allocations: 99.95 kB / 15.73 MB, free: 6.473 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.001381/0.001381, allocations: 194.8 kB / 16.67 MB, free: 6.379 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.33/1.33, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9181/0.9181, allocations: 135.1 MB / 425.7 MB, free: 12.03 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00118/0.00118, allocations: 63.89 kB / 0.5856 GB, free: 3.309 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3615/0.3627, allocations: 80.91 MB / 0.6647 GB, free: 7.574 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.001918/0.3646, allocations: 1.422 MB / 0.666 GB, free: 6.469 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0009972/0.3656, allocations: 0.7803 MB / 0.6668 GB, free: 5.867 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.071e-05/0.3657, allocations: 1.156 kB / 0.6668 GB, free: 5.867 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 6.669e-05/0.3658, allocations: 3.938 kB / 0.6668 GB, free: 5.863 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.123e-05/0.3658, allocations: 1.312 kB / 0.6668 GB, free: 5.863 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005509/0.3664, allocations: 174.6 kB / 0.667 GB, free: 5.758 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 9.523e-05/0.3665, allocations: 47.53 kB / 0.667 GB, free: 5.73 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 7.049e-05/0.3666, allocations: 12.14 kB / 0.667 GB, free: 5.723 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.244e-05/0.3666, allocations: 15.03 kB / 0.6671 GB, free: 5.715 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.998e-05/0.3666, allocations: 12.52 kB / 0.6671 GB, free: 5.707 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.3e-05/0.3667, allocations: 4.188 kB / 0.6671 GB, free: 5.707 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002713/0.3669, allocations: 208.2 kB / 0.6673 GB, free: 5.594 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 3.935e-05/0.367, allocations: 19.42 kB / 0.6673 GB, free: 5.578 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.192e-05/0.367, allocations: 17.47 kB / 0.6673 GB, free: 5.566 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002302/0.3673, allocations: 196.7 kB / 0.6675 GB, free: 5.445 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.3673, allocations: 0 / 0.6675 GB, free: 5.445 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.302e-06/0.3673, allocations: 0 / 0.6675 GB, free: 5.445 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.248e-06/0.3673, allocations: 1.344 kB / 0.6675 GB, free: 5.445 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.0003622/0.3677, allocations: 418.9 kB / 0.6679 GB, free: 5.004 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.072e-05/0.3677, allocations: 9.25 kB / 0.6679 GB, free: 5.004 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.144e-05/0.3677, allocations: 7.562 kB / 0.6679 GB, free: 5 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.246e-05/0.3678, allocations: 183.4 kB / 0.6681 GB, free: 4.785 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.678e-06/0.3678, allocations: 5.969 kB / 0.6681 GB, free: 4.781 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.533e-05/0.3678, allocations: 6.875 kB / 0.6681 GB, free: 4.777 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001562/0.368, allocations: 73.5 kB / 0.6682 GB, free: 4.727 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.184e-06/0.368, allocations: 5.312 kB / 0.6682 GB, free: 4.723 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.167e-06/0.368, allocations: 3.938 kB / 0.6682 GB, free: 4.719 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.679e-06/0.368, allocations: 1.25 kB / 0.6682 GB, free: 4.719 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001031/0.3681, allocations: 44.28 kB / 0.6682 GB, free: 4.703 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002839/0.3684, allocations: 279 kB / 0.6685 GB, free: 4.398 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 9.517e-05/0.3685, allocations: 61.77 kB / 0.6685 GB, free: 4.355 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.35e-05/0.3686, allocations: 47.09 kB / 0.6686 GB, free: 4.332 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 6.352e-06/0.3686, allocations: 0 / 0.6686 GB, free: 4.332 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.258e-05/0.3687, allocations: 35.88 kB / 0.6686 GB, free: 4.289 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 9.62e-07/0.3687, allocations: 0 / 0.6686 GB, free: 4.289 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.000329/0.369, allocations: 184.9 kB / 0.6688 GB, free: 4.176 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.336e-05/0.369, allocations: 78.67 kB / 0.6689 GB, free: 4.082 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.141e-05/0.3691, allocations: 135.7 kB / 0.669 GB, free: 3.957 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.013e-05/0.3691, allocations: 29.7 kB / 0.669 GB, free: 3.922 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.709e-05/0.3692, allocations: 83.17 kB / 0.6691 GB, free: 3.84 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.287e-05/0.3692, allocations: 13.36 kB / 0.6691 GB, free: 3.828 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.624e-05/0.3692, allocations: 17.22 kB / 0.6691 GB, free: 3.812 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 3.868e-05/0.3693, allocations: 323.9 kB / 0.6694 GB, free: 3.488 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.306e-05/0.3694, allocations: 61.45 kB / 0.6695 GB, free: 3.465 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.081e-05/0.3694, allocations: 55.81 kB / 0.6696 GB, free: 3.445 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001731/0.3696, allocations: 198 kB / 0.6698 GB, free: 3.297 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.3696, allocations: 0 / 0.6698 GB, free: 3.297 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002552/0.3699, allocations: 217.6 kB / 0.67 GB, free: 3.152 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.259e-05/0.3699, allocations: 67.2 kB / 0.67 GB, free: 3.082 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.486e-06/0.3699, allocations: 4 kB / 0.67 GB, free: 3.078 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.422e-05/0.37, allocations: 1.344 kB / 0.67 GB, free: 3.078 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.918e-05/0.37, allocations: 2.25 kB / 0.67 GB, free: 3.078 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.599e-06/0.37, allocations: 0 / 0.67 GB, free: 3.078 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.265e-05/0.3701, allocations: 17.3 kB / 0.67 GB, free: 3.066 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.095e-05/0.3701, allocations: 2.781 kB / 0.67 GB, free: 3.066 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 6.586e-05/0.3702, allocations: 154.7 kB / 0.6702 GB, free: 2.906 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.778e-05/0.3702, allocations: 2.531 kB / 0.6702 GB, free: 2.906 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.635e-05/0.3702, allocations: 14.12 kB / 0.6702 GB, free: 2.891 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.3702, allocations: 4 kB / 0.6702 GB, free: 2.887 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.958e-06/0.3702, allocations: 1.312 kB / 0.6702 GB, free: 2.887 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.014e-06/0.3702, allocations: 0 / 0.6702 GB, free: 2.887 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001117/0.3703, allocations: 179 kB / 0.6704 GB, free: 2.672 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.61e-07/0.3704, allocations: 0 / 0.6704 GB, free: 2.672 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.469e-05/0.3704, allocations: 6.812 kB / 0.6704 GB, free: 2.668 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.403e-06/0.3704, allocations: 0 / 0.6704 GB, free: 2.668 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.078e-05/0.3704, allocations: 6.203 kB / 0.6704 GB, free: 2.664 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.3704, allocations: 0 / 0.6704 GB, free: 2.664 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.3704, allocations: 1.062 kB / 0.6704 GB, free: 2.664 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002086/0.3706, allocations: 250.2 kB / 0.6706 GB, free: 2.457 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.632e-05/0.3707, allocations: 83.8 kB / 0.6707 GB, free: 2.359 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.518e-05/0.3707, allocations: 1.531 kB / 0.6707 GB, free: 2.359 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.532e-05/0.3707, allocations: 7.172 kB / 0.6707 GB, free: 2.355 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.411e-05/0.3708, allocations: 2.75 kB / 0.6707 GB, free: 2.355 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.244e-06/0.3709, allocations: 2.594 kB / 0.6707 GB, free: 2.355 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.685e-05/0.3709, allocations: 101.8 kB / 0.6708 GB, free: 2.266 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3709, allocations: 3.938 kB / 0.6708 GB, free: 2.262 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000301/0.3712, allocations: 60.48 kB / 0.6709 GB, free: 2.25 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.0002138/0.3714, allocations: 149.4 kB / 0.671 GB, free: 2.148 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000267/0.3717, allocations: 241.1 kB / 0.6713 GB, free: 1.969 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.3717, allocations: 0 / 0.6713 GB, free: 1.969 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 9.978e-05/0.3718, allocations: 100.1 kB / 0.6714 GB, free: 1.891 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002088/0.372, allocations: 10.75 kB / 0.6714 GB, free: 1.883 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002782/0.3723, allocations: 174.2 kB / 0.6715 GB, free: 1.738 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001031/0.3724, allocations: 0.6893 MB / 0.6722 GB, free: 1.031 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.917e-05/0.3725, allocations: 1.062 kB / 0.6722 GB, free: 1.031 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.467e-05/0.3725, allocations: 12.69 kB / 0.6722 GB, free: 1.02 MB / 0.4981 GB Notification: Performance of SimCode: time 2.21e-07/0.3725, allocations: 0 / 0.6722 GB, free: 1.02 MB / 0.4981 GB Notification: Performance of Templates: time 0.003719/0.3762, allocations: 1.756 MB / 0.6739 GB, free: 132 kB / 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)