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.005456/0.005456, allocations: 104.7 kB / 15.74 MB, free: 6.484 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.001298/0.001298, allocations: 193.5 kB / 16.67 MB, free: 6.375 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.339/1.339, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7666/0.7666, allocations: 132.2 MB / 422.7 MB, free: 1.688 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001276/0.001276, allocations: 63.91 kB / 0.5814 GB, free: 7.574 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3715/0.3728, allocations: 80.19 MB / 0.6597 GB, free: 10.33 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.002779/0.3756, allocations: 1.422 MB / 0.6611 GB, free: 9.34 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001239/0.3769, allocations: 0.7841 MB / 0.6618 GB, free: 8.812 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.493e-05/0.3769, allocations: 4 kB / 0.6618 GB, free: 8.809 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 6.35e-05/0.377, allocations: 2.172 kB / 0.6618 GB, free: 8.809 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.862e-05/0.3771, allocations: 5.578 kB / 0.6618 GB, free: 8.805 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006519/0.3777, allocations: 166.2 kB / 0.662 GB, free: 8.746 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001219/0.3779, allocations: 52.47 kB / 0.6621 GB, free: 8.723 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 8.555e-05/0.3779, allocations: 8.234 kB / 0.6621 GB, free: 8.719 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.064e-05/0.378, allocations: 17.3 kB / 0.6621 GB, free: 8.711 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.116e-05/0.378, allocations: 18.59 kB / 0.6621 GB, free: 8.703 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.605e-05/0.3781, allocations: 3.375 kB / 0.6621 GB, free: 8.703 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003786/0.3785, allocations: 201.8 kB / 0.6623 GB, free: 8.648 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 5.325e-05/0.3785, allocations: 15.02 kB / 0.6623 GB, free: 8.641 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.611e-05/0.3786, allocations: 17.72 kB / 0.6623 GB, free: 8.629 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003011/0.3789, allocations: 194.3 kB / 0.6625 GB, free: 8.543 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.419e-06/0.3789, allocations: 4 kB / 0.6625 GB, free: 8.539 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.362e-06/0.3789, allocations: 0 / 0.6625 GB, free: 8.539 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.112e-05/0.3789, allocations: 0 / 0.6625 GB, free: 8.539 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.0004484/0.3794, allocations: 428.6 kB / 0.6629 GB, free: 8.09 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.774e-05/0.3794, allocations: 8.406 kB / 0.6629 GB, free: 8.09 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.169e-05/0.3794, allocations: 3.906 kB / 0.6629 GB, free: 8.09 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.407e-05/0.3795, allocations: 179.4 kB / 0.6631 GB, free: 7.879 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.683e-05/0.3796, allocations: 1.469 kB / 0.6631 GB, free: 7.879 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.387e-05/0.3796, allocations: 10.53 kB / 0.6631 GB, free: 7.871 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001765/0.3798, allocations: 87.11 kB / 0.6632 GB, free: 7.809 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.286e-06/0.3798, allocations: 0 / 0.6632 GB, free: 7.809 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.163e-05/0.3798, allocations: 1.438 kB / 0.6632 GB, free: 7.809 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.578e-06/0.3798, allocations: 3.938 kB / 0.6632 GB, free: 7.805 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001077/0.3799, allocations: 44.53 kB / 0.6632 GB, free: 7.789 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003327/0.3803, allocations: 275.7 kB / 0.6635 GB, free: 7.488 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000108/0.3804, allocations: 63.92 kB / 0.6636 GB, free: 7.441 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.831e-05/0.3805, allocations: 47 kB / 0.6636 GB, free: 7.418 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.137e-05/0.3805, allocations: 1.312 kB / 0.6636 GB, free: 7.418 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.644e-05/0.3805, allocations: 34.56 kB / 0.6637 GB, free: 7.375 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 1.112e-06/0.3805, allocations: 1.469 kB / 0.6637 GB, free: 7.375 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.0003844/0.3809, allocations: 180.5 kB / 0.6638 GB, free: 7.266 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.912e-05/0.381, allocations: 90.12 kB / 0.6639 GB, free: 7.16 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.793e-05/0.381, allocations: 127.2 kB / 0.664 GB, free: 7.047 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.228e-05/0.3811, allocations: 27.08 kB / 0.6641 GB, free: 7.016 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.429e-05/0.3811, allocations: 89.44 kB / 0.6641 GB, free: 6.926 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.51e-05/0.3811, allocations: 6.719 kB / 0.6641 GB, free: 6.922 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.869e-05/0.3812, allocations: 20.16 kB / 0.6642 GB, free: 6.902 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.779e-05/0.3812, allocations: 324.3 kB / 0.6645 GB, free: 6.578 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001022/0.3813, allocations: 56.66 kB / 0.6645 GB, free: 6.559 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001006/0.3814, allocations: 60.06 kB / 0.6646 GB, free: 6.535 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002018/0.3816, allocations: 194.1 kB / 0.6648 GB, free: 6.391 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.3817, allocations: 0 / 0.6648 GB, free: 6.391 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002564/0.3819, allocations: 225.9 kB / 0.665 GB, free: 6.238 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.803e-05/0.382, allocations: 58.84 kB / 0.665 GB, free: 6.176 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.019e-06/0.382, allocations: 1.062 kB / 0.665 GB, free: 6.176 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.507e-05/0.382, allocations: 3.984 kB / 0.665 GB, free: 6.172 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.308e-05/0.3821, allocations: 3.156 kB / 0.6651 GB, free: 6.172 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.14e-06/0.3821, allocations: 4 kB / 0.6651 GB, free: 6.168 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.49e-05/0.3821, allocations: 9.625 kB / 0.6651 GB, free: 6.164 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.234e-05/0.3821, allocations: 6.344 kB / 0.6651 GB, free: 6.16 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 7.435e-05/0.3822, allocations: 159 kB / 0.6652 GB, free: 5.996 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.2e-05/0.3823, allocations: 7.125 kB / 0.6652 GB, free: 5.992 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.174e-05/0.3823, allocations: 4.938 kB / 0.6652 GB, free: 5.977 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.3823, allocations: 1.094 kB / 0.6652 GB, free: 5.977 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.3823, allocations: 0 / 0.6652 GB, free: 5.977 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.417e-06/0.3823, allocations: 9.359 kB / 0.6652 GB, free: 5.969 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000115/0.3824, allocations: 170.3 kB / 0.6654 GB, free: 5.762 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.3824, allocations: 0 / 0.6654 GB, free: 5.762 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.743e-05/0.3825, allocations: 7.422 kB / 0.6654 GB, free: 5.758 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.352e-06/0.3825, allocations: 0 / 0.6654 GB, free: 5.758 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.347e-06/0.3825, allocations: 1.625 kB / 0.6654 GB, free: 5.758 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.814e-06/0.3825, allocations: 1.062 kB / 0.6654 GB, free: 5.758 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.3825, allocations: 0 / 0.6654 GB, free: 5.758 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002123/0.3827, allocations: 254.7 kB / 0.6657 GB, free: 5.547 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.769e-05/0.3827, allocations: 87.34 kB / 0.6657 GB, free: 5.445 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.713e-05/0.3828, allocations: 1.531 kB / 0.6657 GB, free: 5.445 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.844e-05/0.3828, allocations: 8.391 kB / 0.6658 GB, free: 5.441 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001027/0.383, allocations: 6.203 kB / 0.6658 GB, free: 5.438 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.192e-06/0.383, allocations: 1.438 kB / 0.6658 GB, free: 5.438 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.898e-05/0.383, allocations: 102.4 kB / 0.6659 GB, free: 5.348 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.01e-07/0.383, allocations: 1.438 kB / 0.6659 GB, free: 5.348 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003286/0.3833, allocations: 55.66 kB / 0.6659 GB, free: 5.34 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.0002406/0.3836, allocations: 154.9 kB / 0.6661 GB, free: 5.23 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002957/0.3839, allocations: 237 kB / 0.6663 GB, free: 5.055 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.3839, allocations: 0 / 0.6663 GB, free: 5.055 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001033/0.384, allocations: 103.2 kB / 0.6664 GB, free: 4.973 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002166/0.3842, allocations: 7.781 kB / 0.6664 GB, free: 4.969 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003128/0.3846, allocations: 181 kB / 0.6666 GB, free: 4.816 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001227/0.3847, allocations: 0.6874 MB / 0.6672 GB, free: 4.113 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.926e-05/0.3847, allocations: 0 / 0.6672 GB, free: 4.113 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.374e-05/0.3847, allocations: 8.5 kB / 0.6672 GB, free: 4.105 MB / 0.4981 GB Notification: Performance of SimCode: time 2.4e-07/0.3848, allocations: 0 / 0.6672 GB, free: 4.105 MB / 0.4981 GB Notification: Performance of Templates: time 0.004231/0.389, allocations: 1.762 MB / 0.669 GB, free: 3.238 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)