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.001714/0.001713, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.002136/0.002136, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.968/1.968, allocations: 223.2 MB / 239.9 MB, free: 5.449 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 1.334/1.334, allocations: 132.2 MB / 423.2 MB, free: 2.211 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005671/0.0005674, allocations: 9.938 kB / 0.5033 GB, free: 4.195 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7721/0.7727, allocations: 81.58 MB / 0.583 GB, free: 4.027 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.00251/0.7753, allocations: 1.132 MB / 0.5841 GB, free: 3.203 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00194/0.7773, allocations: 0.7371 MB / 0.5848 GB, free: 2.707 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.556e-05/0.7774, allocations: 0.7188 kB / 0.5848 GB, free: 2.707 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 8.65e-05/0.7775, allocations: 1.906 kB / 0.5848 GB, free: 2.707 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 5.917e-05/0.7776, allocations: 2 kB / 0.5848 GB, free: 2.707 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001001/0.7786, allocations: 120.5 kB / 0.5849 GB, free: 2.656 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001131/0.7787, allocations: 28.14 kB / 0.585 GB, free: 2.641 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001071/0.7788, allocations: 4.734 kB / 0.585 GB, free: 2.641 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.373e-05/0.7789, allocations: 8.859 kB / 0.585 GB, free: 2.641 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.944e-05/0.779, allocations: 19.27 kB / 0.585 GB, free: 2.633 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.876e-05/0.779, allocations: 0.9688 kB / 0.585 GB, free: 2.633 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006248/0.7796, allocations: 170.5 kB / 0.5851 GB, free: 2.59 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 5.345e-05/0.7797, allocations: 13.98 kB / 0.5852 GB, free: 2.582 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 4.433e-05/0.7798, allocations: 27.83 kB / 0.5852 GB, free: 2.551 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004439/0.7802, allocations: 134.4 kB / 0.5853 GB, free: 2.523 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.946e-06/0.7802, allocations: 5.312 kB / 0.5853 GB, free: 2.52 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.945e-06/0.7802, allocations: 0.7031 kB / 0.5853 GB, free: 2.52 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.28e-06/0.7803, allocations: 0 / 0.5853 GB, free: 2.52 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.0007116/0.781, allocations: 429 kB / 0.5857 GB, free: 2.074 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.424e-05/0.7811, allocations: 9 kB / 0.5857 GB, free: 2.074 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.998e-05/0.7811, allocations: 32.5 kB / 0.5858 GB, free: 2.035 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.853e-05/0.7812, allocations: 6.594 kB / 0.5858 GB, free: 2.031 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001382/0.7813, allocations: 180.6 kB / 0.586 GB, free: 1.82 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.991e-05/0.7814, allocations: 4.781 kB / 0.586 GB, free: 1.816 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.657e-05/0.7814, allocations: 2.344 kB / 0.586 GB, free: 1.816 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002783/0.7817, allocations: 74.94 kB / 0.586 GB, free: 1.777 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.118e-05/0.7817, allocations: 0 / 0.586 GB, free: 1.777 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.478e-05/0.7817, allocations: 5.344 kB / 0.586 GB, free: 1.773 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.448e-06/0.7817, allocations: 1.219 kB / 0.586 GB, free: 1.773 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001908/0.7819, allocations: 53.67 kB / 0.5861 GB, free: 1.762 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005558/0.7825, allocations: 284.2 kB / 0.5864 GB, free: 1.473 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000175/0.7827, allocations: 61.72 kB / 0.5864 GB, free: 1.438 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.022e-05/0.7827, allocations: 0.6875 kB / 0.5864 GB, free: 1.438 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.03e-05/0.7828, allocations: 32.66 kB / 0.5864 GB, free: 1.398 MB / 430.1 MB Notification: Performance of pre-optimization done (n=3): time 1.794e-06/0.7828, allocations: 4 kB / 0.5865 GB, free: 1.395 MB / 430.1 MB Notification: Performance of matching and sorting (n=3): time 0.0006484/0.7834, allocations: 270.5 kB / 0.5867 GB, free: 1.207 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.491e-05/0.7835, allocations: 83.64 kB / 0.5868 GB, free: 1.109 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001395/0.7836, allocations: 129.2 kB / 0.5869 GB, free: 1 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.897e-05/0.7837, allocations: 27.55 kB / 0.5869 GB, free: 0.9688 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.197e-05/0.7837, allocations: 87.33 kB / 0.587 GB, free: 0.8828 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.31e-05/0.7838, allocations: 10.12 kB / 0.587 GB, free: 0.875 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.095e-06/0.7838, allocations: 1.531 kB / 0.587 GB, free: 0.875 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 6.557e-05/0.7839, allocations: 317.6 kB / 0.5873 GB, free: 0.5586 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001682/0.784, allocations: 60.48 kB / 0.5874 GB, free: 0.5469 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001594/0.7842, allocations: 55.69 kB / 0.5874 GB, free: 0.5391 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002181/0.7844, allocations: 116.2 kB / 0.5876 GB, free: 472 kB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-06/0.7845, allocations: 5.312 kB / 0.5876 GB, free: 468 kB / 430.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0004531/0.7849, allocations: 220.1 kB / 0.5878 GB, free: 340 kB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.46e-05/0.785, allocations: 62.41 kB / 0.5878 GB, free: 276 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.697e-06/0.785, allocations: 0.5625 kB / 0.5878 GB, free: 276 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.993e-05/0.785, allocations: 1.125 kB / 0.5878 GB, free: 276 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.084e-05/0.7851, allocations: 9.094 kB / 0.5878 GB, free: 272 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.785e-06/0.7852, allocations: 0 / 0.5878 GB, free: 272 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.016e-05/0.7853, allocations: 16.56 kB / 0.5879 GB, free: 264 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.64e-05/0.7853, allocations: 11.56 kB / 0.5879 GB, free: 256 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000132/0.7854, allocations: 146 kB / 0.588 GB, free: 104 kB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.354e-05/0.7855, allocations: 6.156 kB / 0.588 GB, free: 100 kB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.364e-05/0.7855, allocations: 10.03 kB / 0.588 GB, free: 88 kB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.868e-06/0.7855, allocations: 0.6875 kB / 0.588 GB, free: 88 kB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.562e-06/0.7856, allocations: 1.625 kB / 0.588 GB, free: 88 kB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.96e-06/0.7856, allocations: 0 / 0.588 GB, free: 88 kB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003874/0.786, allocations: 178.3 kB / 0.5882 GB, free: 15.88 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.846e-06/0.786, allocations: 4.562 kB / 0.5882 GB, free: 15.88 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.198e-05/0.7861, allocations: 8.438 kB / 0.5882 GB, free: 15.88 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.919e-05/0.7861, allocations: 1.094 kB / 0.5882 GB, free: 15.88 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.794e-05/0.7861, allocations: 1.469 kB / 0.5882 GB, free: 15.88 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.126e-06/0.7861, allocations: 1.719 kB / 0.5882 GB, free: 15.88 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.7861, allocations: 0 / 0.5882 GB, free: 15.88 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004699/0.7866, allocations: 255.8 kB / 0.5885 GB, free: 15.68 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.774e-05/0.7867, allocations: 82.72 kB / 0.5885 GB, free: 15.59 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.205e-05/0.7867, allocations: 6.25 kB / 0.5885 GB, free: 15.58 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001248/0.7869, allocations: 7.781 kB / 0.5885 GB, free: 15.58 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001337/0.787, allocations: 5.797 kB / 0.5886 GB, free: 15.58 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.367e-05/0.787, allocations: 1.031 kB / 0.5886 GB, free: 15.58 MB / 446.1 MB Notification: Performance of sorting global known variables: time 9.679e-05/0.7872, allocations: 95.05 kB / 0.5886 GB, free: 15.5 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.7872, allocations: 0 / 0.5886 GB, free: 15.5 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0006814/0.7879, allocations: 63.14 kB / 0.5887 GB, free: 15.49 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001323/0.7892, allocations: 0.8289 MB / 0.5895 GB, free: 14.77 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004561/0.7897, allocations: 249.2 kB / 0.5898 GB, free: 14.6 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/0.7897, allocations: 0.5625 kB / 0.5898 GB, free: 14.6 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001725/0.7899, allocations: 104.5 kB / 0.5899 GB, free: 14.53 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000165/0.79, allocations: 2.984 kB / 0.5899 GB, free: 14.53 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008868/0.7909, allocations: 399 kB / 0.5902 GB, free: 14.18 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003885/0.7913, allocations: 0.6871 MB / 0.5909 GB, free: 13.49 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.476e-05/0.7914, allocations: 5.656 kB / 0.5909 GB, free: 13.48 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.987e-05/0.7914, allocations: 13.05 kB / 0.5909 GB, free: 13.47 MB / 446.1 MB Notification: Performance of SimCode: time 4.8e-07/0.7914, allocations: 0 / 0.5909 GB, free: 13.47 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01814/0.8096, allocations: 2.51 MB / 0.5934 GB, free: 13.28 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002243/0.8098, allocations: 204.2 kB / 0.5936 GB, free: 13.04 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.592/3.402, allocations: 0 / 0.5936 GB, free: 13.04 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/linux/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) Environment - environmentSimulation: