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: "" <> buildModelFMU(IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline,fileNamePrefix="IDEAS_IDEAS_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline,fileNamePrefix="IDEAS_IDEAS_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001523/0.001523, allocations: 108 kB / 15.61 MB, free: 152 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.001883/0.001883, allocations: 195.5 kB / 16.53 MB, free: 6.699 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.456/1.456, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8109/0.8109, allocations: 132.2 MB / 422.6 MB, free: 1.773 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001362/0.001363, allocations: 61.45 kB / 0.5019 GB, free: 3.762 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3625/0.3639, allocations: 80.2 MB / 0.5802 GB, free: 4.562 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.002296/0.3662, allocations: 1.419 MB / 0.5816 GB, free: 3.574 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001088/0.3673, allocations: 0.7824 MB / 0.5824 GB, free: 3.051 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.653e-05/0.3673, allocations: 4 kB / 0.5824 GB, free: 3.047 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 5.728e-05/0.3674, allocations: 5.734 kB / 0.5824 GB, free: 3.043 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 3.965e-05/0.3674, allocations: 5.641 kB / 0.5824 GB, free: 3.039 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005664/0.368, allocations: 173.1 kB / 0.5825 GB, free: 2.98 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 9.424e-05/0.3681, allocations: 54.91 kB / 0.5826 GB, free: 2.953 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.599e-05/0.3682, allocations: 11.25 kB / 0.5826 GB, free: 2.949 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.476e-05/0.3682, allocations: 13.5 kB / 0.5826 GB, free: 2.945 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.666e-05/0.3683, allocations: 18.39 kB / 0.5826 GB, free: 2.938 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.443e-05/0.3683, allocations: 4.188 kB / 0.5826 GB, free: 2.938 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003397/0.3687, allocations: 199.7 kB / 0.5828 GB, free: 2.883 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 4.116e-05/0.3687, allocations: 7.375 kB / 0.5828 GB, free: 2.883 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 3.425e-05/0.3687, allocations: 21.91 kB / 0.5828 GB, free: 2.867 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002898/0.369, allocations: 192.4 kB / 0.583 GB, free: 2.812 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.621e-06/0.3691, allocations: 0.75 kB / 0.583 GB, free: 2.812 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.3691, allocations: 4.688 kB / 0.583 GB, free: 2.809 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.318e-06/0.3691, allocations: 0 / 0.583 GB, free: 2.809 MB / 430.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.0004017/0.3695, allocations: 430.9 kB / 0.5834 GB, free: 2.363 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.644e-05/0.3695, allocations: 9.344 kB / 0.5835 GB, free: 2.363 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.31e-05/0.3696, allocations: 36.67 kB / 0.5835 GB, free: 2.32 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.868e-05/0.3696, allocations: 7.469 kB / 0.5835 GB, free: 2.316 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.752e-05/0.3697, allocations: 168.7 kB / 0.5837 GB, free: 2.117 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.081e-05/0.3697, allocations: 10.98 kB / 0.5837 GB, free: 2.109 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.472e-05/0.3697, allocations: 10.19 kB / 0.5837 GB, free: 2.102 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001686/0.3699, allocations: 72.34 kB / 0.5838 GB, free: 2.062 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.475e-06/0.3699, allocations: 1.156 kB / 0.5838 GB, free: 2.062 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.907e-06/0.3699, allocations: 0 / 0.5838 GB, free: 2.062 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.358e-06/0.3699, allocations: 1.703 kB / 0.5838 GB, free: 2.062 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001231/0.37, allocations: 45.98 kB / 0.5838 GB, free: 2.055 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003651/0.3704, allocations: 286.8 kB / 0.5841 GB, free: 1.762 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001029/0.3705, allocations: 55.02 kB / 0.5841 GB, free: 1.73 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.75e-05/0.3706, allocations: 49.86 kB / 0.5842 GB, free: 1.711 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.145e-06/0.3706, allocations: 1.594 kB / 0.5842 GB, free: 1.711 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.318e-05/0.3707, allocations: 35.31 kB / 0.5842 GB, free: 1.668 MB / 430.1 MB Notification: Performance of pre-optimization done (n=3): time 1.162e-06/0.3707, allocations: 0 / 0.5842 GB, free: 1.668 MB / 430.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003653/0.371, allocations: 192.6 kB / 0.5844 GB, free: 1.57 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.541e-05/0.3711, allocations: 79.12 kB / 0.5845 GB, free: 1.477 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.951e-05/0.3712, allocations: 121.5 kB / 0.5846 GB, free: 1.371 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.012e-05/0.3712, allocations: 31.23 kB / 0.5846 GB, free: 1.336 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.737e-05/0.3712, allocations: 87.05 kB / 0.5847 GB, free: 1.25 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.441e-05/0.3712, allocations: 15.3 kB / 0.5847 GB, free: 1.238 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.946e-05/0.3713, allocations: 18.08 kB / 0.5847 GB, free: 1.223 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.206e-05/0.3713, allocations: 326.9 kB / 0.585 GB, free: 0.8984 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001064/0.3714, allocations: 56.97 kB / 0.5851 GB, free: 0.8867 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.572e-05/0.3715, allocations: 58 kB / 0.5851 GB, free: 0.875 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001996/0.3717, allocations: 191.3 kB / 0.5853 GB, free: 0.75 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.3718, allocations: 0 / 0.5853 GB, free: 0.75 MB / 430.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002654/0.372, allocations: 217 kB / 0.5855 GB, free: 0.625 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.622e-05/0.3721, allocations: 66.41 kB / 0.5856 GB, free: 0.5586 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.489e-06/0.3721, allocations: 0.7812 kB / 0.5856 GB, free: 0.5586 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.441e-05/0.3721, allocations: 4 kB / 0.5856 GB, free: 0.5547 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.457e-05/0.3722, allocations: 5.234 kB / 0.5856 GB, free: 0.5547 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.489e-06/0.3722, allocations: 0 / 0.5856 GB, free: 0.5547 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.95e-05/0.3722, allocations: 14.48 kB / 0.5856 GB, free: 0.5469 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.07e-05/0.3722, allocations: 2.938 kB / 0.5856 GB, free: 0.5469 MB / 430.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 7.193e-05/0.3723, allocations: 155.3 kB / 0.5858 GB, free: 400 kB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.949e-05/0.3723, allocations: 3.406 kB / 0.5858 GB, free: 400 kB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.706e-05/0.3724, allocations: 5.672 kB / 0.5858 GB, free: 392 kB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.3724, allocations: 5.328 kB / 0.5858 GB, free: 388 kB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.07e-06/0.3724, allocations: 1.188 kB / 0.5858 GB, free: 388 kB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.3724, allocations: 0 / 0.5858 GB, free: 388 kB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001454/0.3726, allocations: 174.8 kB / 0.586 GB, free: 184 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.462e-06/0.3726, allocations: 4.062 kB / 0.586 GB, free: 180 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.059e-05/0.3726, allocations: 4.469 kB / 0.586 GB, free: 180 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.413e-06/0.3726, allocations: 0 / 0.586 GB, free: 180 kB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.002e-05/0.3726, allocations: 2.375 kB / 0.586 GB, free: 180 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.3726, allocations: 1.062 kB / 0.586 GB, free: 180 kB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.3726, allocations: 0 / 0.586 GB, free: 180 kB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002679/0.3729, allocations: 260.2 kB / 0.5862 GB, free: 15.98 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.699e-05/0.373, allocations: 78.98 kB / 0.5863 GB, free: 15.88 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.782e-05/0.373, allocations: 2.578 kB / 0.5863 GB, free: 15.88 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.123e-05/0.3731, allocations: 4.672 kB / 0.5863 GB, free: 15.88 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.15e-05/0.3732, allocations: 6.234 kB / 0.5863 GB, free: 15.88 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.016e-05/0.3732, allocations: 6.125 kB / 0.5863 GB, free: 15.88 MB / 446.1 MB Notification: Performance of sorting global known variables: time 6.543e-05/0.3732, allocations: 98.06 kB / 0.5864 GB, free: 15.8 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.3732, allocations: 7.969 kB / 0.5864 GB, free: 15.79 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003655/0.3736, allocations: 58.98 kB / 0.5865 GB, free: 15.78 MB / 446.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.00069/0.3743, allocations: 0.83 MB / 0.5873 GB, free: 15.05 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003512/0.3747, allocations: 242.1 kB / 0.5875 GB, free: 14.89 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.3747, allocations: 0 / 0.5875 GB, free: 14.89 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001271/0.3748, allocations: 100.1 kB / 0.5876 GB, free: 14.82 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002187/0.3751, allocations: 11.34 kB / 0.5876 GB, free: 14.81 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001985/0.377, allocations: 1.745 MB / 0.5893 GB, free: 13.44 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002361/0.3773, allocations: 0.6852 MB / 0.59 GB, free: 12.74 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 1.425e-05/0.3773, allocations: 4 kB / 0.59 GB, free: 12.74 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.505e-05/0.3774, allocations: 18.17 kB / 0.59 GB, free: 12.72 MB / 446.1 MB Notification: Performance of SimCode: time 7.72e-07/0.3774, allocations: 0 / 0.59 GB, free: 12.72 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01975/0.3971, allocations: 2.778 MB / 0.5927 GB, free: 12.34 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.79/9.188, allocations: 3.719 kB / 0.5927 GB, free: 12.34 MB / 446.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline.fmu > IDEAS_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe 2>&1)