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.0006943/0.0006943, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.004525/0.004525, allocations: 170.1 kB / 16.27 MB, free: 6.648 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.174/1.174, allocations: 223.2 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6793/0.6793, allocations: 132.3 MB / 423.7 MB, free: 1.977 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002614/0.0002614, allocations: 8 kB / 0.5041 GB, free: 3.816 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3189/0.3191, allocations: 81.57 MB / 0.5838 GB, free: 4.082 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.001264/0.3204, allocations: 1.148 MB / 0.5849 GB, free: 3.246 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001097/0.3216, allocations: 0.8013 MB / 0.5857 GB, free: 2.711 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.375e-05/0.3216, allocations: 0 / 0.5857 GB, free: 2.711 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 4.741e-05/0.3217, allocations: 1.156 kB / 0.5857 GB, free: 2.711 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 4.031e-05/0.3217, allocations: 5.5 kB / 0.5857 GB, free: 2.707 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005331/0.3222, allocations: 133.1 kB / 0.5858 GB, free: 2.652 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 6.952e-05/0.3223, allocations: 38.42 kB / 0.5858 GB, free: 2.637 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.132e-05/0.3224, allocations: 11.78 kB / 0.5858 GB, free: 2.629 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.36e-05/0.3224, allocations: 16.64 kB / 0.5859 GB, free: 2.621 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.409e-05/0.3225, allocations: 16.27 kB / 0.5859 GB, free: 2.617 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.152e-05/0.3225, allocations: 0.7812 kB / 0.5859 GB, free: 2.617 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003277/0.3228, allocations: 193.2 kB / 0.5861 GB, free: 2.562 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 3.964e-05/0.3229, allocations: 6.203 kB / 0.5861 GB, free: 2.562 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 4.102e-05/0.3229, allocations: 44.61 kB / 0.5861 GB, free: 2.52 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003008/0.3232, allocations: 188.6 kB / 0.5863 GB, free: 2.473 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.025e-06/0.3232, allocations: 0 / 0.5863 GB, free: 2.473 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.3232, allocations: 0.8125 kB / 0.5863 GB, free: 2.473 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.228e-06/0.3233, allocations: 0 / 0.5863 GB, free: 2.473 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.0003674/0.3236, allocations: 432.4 kB / 0.5867 GB, free: 2.023 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.538e-05/0.3237, allocations: 10.38 kB / 0.5867 GB, free: 2.023 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.39e-05/0.3237, allocations: 32.42 kB / 0.5867 GB, free: 1.984 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.428e-05/0.3237, allocations: 3.531 kB / 0.5867 GB, free: 1.984 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.014e-05/0.3238, allocations: 176.5 kB / 0.5869 GB, free: 1.781 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.186e-05/0.3238, allocations: 5.25 kB / 0.5869 GB, free: 1.777 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.427e-05/0.3238, allocations: 10.81 kB / 0.5869 GB, free: 1.77 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001721/0.324, allocations: 78.25 kB / 0.587 GB, free: 1.727 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.194e-06/0.324, allocations: 0.7031 kB / 0.587 GB, free: 1.727 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.218e-06/0.324, allocations: 1.094 kB / 0.587 GB, free: 1.727 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.948e-06/0.3241, allocations: 0.625 kB / 0.587 GB, free: 1.727 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001135/0.3242, allocations: 49.98 kB / 0.5871 GB, free: 1.719 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002979/0.3245, allocations: 280.1 kB / 0.5873 GB, free: 1.434 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001064/0.3246, allocations: 65.83 kB / 0.5874 GB, free: 1.395 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.212e-05/0.3247, allocations: 52.38 kB / 0.5874 GB, free: 1.375 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.518e-06/0.3247, allocations: 0 / 0.5874 GB, free: 1.375 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.445e-05/0.3247, allocations: 32.56 kB / 0.5875 GB, free: 1.336 MB / 430.1 MB Notification: Performance of pre-optimization done (n=3): time 9.42e-07/0.3247, allocations: 0 / 0.5875 GB, free: 1.336 MB / 430.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003421/0.3251, allocations: 193.3 kB / 0.5876 GB, free: 1.242 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.269e-05/0.3251, allocations: 79.58 kB / 0.5877 GB, free: 1.148 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.729e-05/0.3252, allocations: 125.9 kB / 0.5878 GB, free: 1.039 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 9.348e-06/0.3252, allocations: 30.52 kB / 0.5879 GB, free: 1.004 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.46e-05/0.3252, allocations: 88.31 kB / 0.588 GB, free: 0.918 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.239e-05/0.3253, allocations: 9.875 kB / 0.588 GB, free: 0.9102 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.351e-05/0.3253, allocations: 18.67 kB / 0.588 GB, free: 0.8906 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 3.398e-05/0.3253, allocations: 325.6 kB / 0.5883 GB, free: 0.5664 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001089/0.3254, allocations: 60.78 kB / 0.5884 GB, free: 0.5547 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.45e-05/0.3255, allocations: 55.27 kB / 0.5884 GB, free: 0.5469 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001897/0.3257, allocations: 201.4 kB / 0.5886 GB, free: 424 kB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.3258, allocations: 5.828 kB / 0.5886 GB, free: 420 kB / 430.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000249/0.326, allocations: 224 kB / 0.5888 GB, free: 288 kB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.864e-05/0.3261, allocations: 64.81 kB / 0.5889 GB, free: 224 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.058e-06/0.3261, allocations: 0 / 0.5889 GB, free: 224 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.199e-05/0.3261, allocations: 1.156 kB / 0.5889 GB, free: 224 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.422e-05/0.3261, allocations: 13.73 kB / 0.5889 GB, free: 216 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.168e-06/0.3261, allocations: 0 / 0.5889 GB, free: 216 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.819e-05/0.3262, allocations: 16.45 kB / 0.5889 GB, free: 208 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.141e-05/0.3262, allocations: 3.203 kB / 0.5889 GB, free: 208 kB / 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 6.484e-05/0.3263, allocations: 150.7 kB / 0.5891 GB, free: 52 kB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.673e-05/0.3263, allocations: 8 kB / 0.5891 GB, free: 48 kB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.79e-05/0.3263, allocations: 10.75 kB / 0.5891 GB, free: 36 kB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.814e-06/0.3263, allocations: 0 / 0.5891 GB, free: 36 kB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.3264, allocations: 0 / 0.5891 GB, free: 36 kB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.294e-06/0.3264, allocations: 1.375 kB / 0.5891 GB, free: 36 kB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001602/0.3265, allocations: 174.9 kB / 0.5892 GB, free: 15.84 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.3265, allocations: 4 kB / 0.5892 GB, free: 15.83 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.927e-05/0.3266, allocations: 5.25 kB / 0.5892 GB, free: 15.83 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.903e-06/0.3266, allocations: 0 / 0.5892 GB, free: 15.83 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.769e-06/0.3266, allocations: 1.969 kB / 0.5893 GB, free: 15.83 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.667e-06/0.3266, allocations: 5.422 kB / 0.5893 GB, free: 15.83 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.3266, allocations: 0 / 0.5893 GB, free: 15.83 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002649/0.3269, allocations: 258.8 kB / 0.5895 GB, free: 15.63 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.989e-05/0.3269, allocations: 79.8 kB / 0.5896 GB, free: 15.54 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.805e-05/0.3269, allocations: 6.672 kB / 0.5896 GB, free: 15.54 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.839e-05/0.327, allocations: 6.781 kB / 0.5896 GB, free: 15.54 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.759e-05/0.3271, allocations: 5.672 kB / 0.5896 GB, free: 15.54 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.592e-06/0.3271, allocations: 1.875 kB / 0.5896 GB, free: 15.54 MB / 446.1 MB Notification: Performance of sorting global known variables: time 5.682e-05/0.3272, allocations: 94.72 kB / 0.5897 GB, free: 15.46 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.3272, allocations: 3.938 kB / 0.5897 GB, free: 15.45 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003314/0.3275, allocations: 67.78 kB / 0.5898 GB, free: 15.44 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.0006385/0.3282, allocations: 0.8244 MB / 0.5906 GB, free: 14.71 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003059/0.3285, allocations: 250.1 kB / 0.5908 GB, free: 14.55 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.3285, allocations: 0 / 0.5908 GB, free: 14.55 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000125/0.3286, allocations: 105.9 kB / 0.5909 GB, free: 14.48 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001942/0.3288, allocations: 4.25 kB / 0.5909 GB, free: 14.48 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001636/0.3305, allocations: 1.768 MB / 0.5926 GB, free: 13.09 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001932/0.3307, allocations: 0.6879 MB / 0.5933 GB, free: 12.39 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 1.47e-05/0.3307, allocations: 5.703 kB / 0.5933 GB, free: 12.39 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.565e-05/0.3307, allocations: 12.8 kB / 0.5933 GB, free: 12.38 MB / 446.1 MB Notification: Performance of SimCode: time 2.2e-07/0.3307, allocations: 1.031 kB / 0.5933 GB, free: 12.38 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.568/1.899, allocations: 2.511 MB / 0.5958 GB, free: 12.18 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002979/1.899, allocations: 231.1 kB / 0.596 GB, free: 11.93 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.587/5.487, allocations: 1.375 kB / 0.596 GB, free: 11.93 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)