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.005278/0.005278, allocations: 99.2 kB / 15.73 MB, free: 6.445 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.001302/0.001303, allocations: 194.5 kB / 16.67 MB, free: 6.348 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.406/1.406, allocations: 222.9 MB / 240.4 MB, free: 4.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7865/0.7865, allocations: 132.2 MB / 422.8 MB, free: 1.672 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001968/0.001968, allocations: 67.89 kB / 0.5809 GB, free: 8.043 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3923/0.3943, allocations: 80.2 MB / 0.6592 GB, free: 9.895 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.002637/0.3969, allocations: 1.424 MB / 0.6606 GB, free: 8.906 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001263/0.3982, allocations: 0.7846 MB / 0.6614 GB, free: 8.379 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.213e-05/0.3983, allocations: 0 / 0.6614 GB, free: 8.379 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 7e-05/0.3984, allocations: 5.859 kB / 0.6614 GB, free: 8.375 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.714e-05/0.3984, allocations: 5.828 kB / 0.6614 GB, free: 8.371 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000715/0.3992, allocations: 173.6 kB / 0.6615 GB, free: 8.309 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001253/0.3993, allocations: 44.22 kB / 0.6616 GB, free: 8.293 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 7.772e-05/0.3994, allocations: 8.344 kB / 0.6616 GB, free: 8.289 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.92e-05/0.3994, allocations: 17.75 kB / 0.6616 GB, free: 8.281 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.253e-05/0.3995, allocations: 18.56 kB / 0.6616 GB, free: 8.273 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.516e-05/0.3995, allocations: 2.812 kB / 0.6616 GB, free: 8.273 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003822/0.3999, allocations: 207.3 kB / 0.6618 GB, free: 8.215 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.091e-05/0.3999, allocations: 13.08 kB / 0.6618 GB, free: 8.207 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.419e-05/0.4, allocations: 22.8 kB / 0.6619 GB, free: 8.191 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002929/0.4003, allocations: 192.1 kB / 0.662 GB, free: 8.145 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.4003, allocations: 1.156 kB / 0.662 GB, free: 8.145 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.134e-06/0.4003, allocations: 0.75 kB / 0.662 GB, free: 8.145 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.083e-05/0.4003, allocations: 0 / 0.662 GB, free: 8.145 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.0004155/0.4007, allocations: 434.9 kB / 0.6625 GB, free: 7.695 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.528e-05/0.4008, allocations: 9.25 kB / 0.6625 GB, free: 7.695 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.369e-05/0.4008, allocations: 36.67 kB / 0.6625 GB, free: 7.652 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.832e-05/0.4008, allocations: 7.484 kB / 0.6625 GB, free: 7.648 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000106/0.401, allocations: 177.6 kB / 0.6627 GB, free: 7.441 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.814e-05/0.401, allocations: 6.141 kB / 0.6627 GB, free: 7.438 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.769e-05/0.401, allocations: 1.75 kB / 0.6627 GB, free: 7.438 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001875/0.4012, allocations: 76.48 kB / 0.6628 GB, free: 7.395 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.506e-06/0.4012, allocations: 1.094 kB / 0.6628 GB, free: 7.395 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.766e-06/0.4012, allocations: 0 / 0.6628 GB, free: 7.395 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.508e-06/0.4012, allocations: 1.719 kB / 0.6628 GB, free: 7.395 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001124/0.4014, allocations: 45.69 kB / 0.6628 GB, free: 7.387 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003062/0.4017, allocations: 286.8 kB / 0.6631 GB, free: 7.094 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001122/0.4018, allocations: 63.59 kB / 0.6631 GB, free: 7.055 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.116e-05/0.4019, allocations: 46.08 kB / 0.6632 GB, free: 7.039 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.13e-05/0.4019, allocations: 0 / 0.6632 GB, free: 7.039 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.546e-05/0.4019, allocations: 32.58 kB / 0.6632 GB, free: 7 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 1.172e-06/0.4019, allocations: 0 / 0.6632 GB, free: 7 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.0003382/0.4023, allocations: 185.9 kB / 0.6634 GB, free: 6.895 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.607e-05/0.4023, allocations: 82.55 kB / 0.6635 GB, free: 6.797 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.895e-05/0.4024, allocations: 122.9 kB / 0.6636 GB, free: 6.684 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 9.638e-06/0.4024, allocations: 27.23 kB / 0.6636 GB, free: 6.652 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.742e-05/0.4024, allocations: 90.47 kB / 0.6637 GB, free: 6.562 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.181e-05/0.4024, allocations: 9.172 kB / 0.6637 GB, free: 6.555 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.746e-05/0.4025, allocations: 25.45 kB / 0.6637 GB, free: 6.531 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.136e-05/0.4025, allocations: 320 kB / 0.664 GB, free: 6.211 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.214e-05/0.4026, allocations: 60.11 kB / 0.6641 GB, free: 6.188 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.199e-05/0.4027, allocations: 56.53 kB / 0.6641 GB, free: 6.168 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001734/0.4029, allocations: 194.6 kB / 0.6643 GB, free: 6.023 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.542e-06/0.4029, allocations: 0 / 0.6643 GB, free: 6.023 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002254/0.4031, allocations: 212.9 kB / 0.6645 GB, free: 5.883 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.456e-05/0.4032, allocations: 68.05 kB / 0.6646 GB, free: 5.812 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.717e-06/0.4032, allocations: 0 / 0.6646 GB, free: 5.812 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.32e-05/0.4032, allocations: 5.25 kB / 0.6646 GB, free: 5.809 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.296e-05/0.4033, allocations: 2.688 kB / 0.6646 GB, free: 5.809 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.288e-06/0.4033, allocations: 7.875 kB / 0.6646 GB, free: 5.801 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.328e-05/0.4033, allocations: 17.19 kB / 0.6646 GB, free: 5.789 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.015e-05/0.4033, allocations: 5.5 kB / 0.6646 GB, free: 5.785 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.737e-05/0.4034, allocations: 156.4 kB / 0.6648 GB, free: 5.625 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.587e-05/0.4034, allocations: 3.125 kB / 0.6648 GB, free: 5.625 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.954e-05/0.4035, allocations: 5.266 kB / 0.6648 GB, free: 5.609 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.4035, allocations: 9.484 kB / 0.6648 GB, free: 5.602 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.467e-06/0.4035, allocations: 0 / 0.6648 GB, free: 5.602 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.063e-06/0.4035, allocations: 0 / 0.6648 GB, free: 5.602 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001114/0.4036, allocations: 179.4 kB / 0.665 GB, free: 5.387 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.4036, allocations: 0 / 0.665 GB, free: 5.387 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.504e-05/0.4036, allocations: 2.281 kB / 0.665 GB, free: 5.387 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.4036, allocations: 1.375 kB / 0.665 GB, free: 5.387 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.959e-06/0.4037, allocations: 5.391 kB / 0.665 GB, free: 5.383 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.4037, allocations: 0 / 0.665 GB, free: 5.383 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.4037, allocations: 0 / 0.665 GB, free: 5.383 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002306/0.4039, allocations: 255.8 kB / 0.6652 GB, free: 5.172 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.547e-05/0.4039, allocations: 82.19 kB / 0.6653 GB, free: 5.074 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.769e-05/0.404, allocations: 2.156 kB / 0.6653 GB, free: 5.074 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.928e-05/0.404, allocations: 7.266 kB / 0.6653 GB, free: 5.07 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000138/0.4042, allocations: 7.406 kB / 0.6653 GB, free: 5.066 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.132e-06/0.4042, allocations: 1.219 kB / 0.6653 GB, free: 5.066 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.087e-05/0.4042, allocations: 98.86 kB / 0.6654 GB, free: 4.98 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4042, allocations: 4.031 kB / 0.6654 GB, free: 4.977 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003273/0.4046, allocations: 61.2 kB / 0.6655 GB, free: 4.965 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.0005241/0.4051, allocations: 0.8217 MB / 0.6663 GB, free: 4.223 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003074/0.4054, allocations: 244.6 kB / 0.6665 GB, free: 4.039 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.4054, allocations: 0 / 0.6665 GB, free: 4.039 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001066/0.4055, allocations: 104.4 kB / 0.6666 GB, free: 3.957 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002099/0.4058, allocations: 8.25 kB / 0.6666 GB, free: 3.953 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001551/0.4073, allocations: 1.76 MB / 0.6683 GB, free: 2.465 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001363/0.4075, allocations: 0.6863 MB / 0.669 GB, free: 1.762 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.59e-05/0.4075, allocations: 0 / 0.669 GB, free: 1.762 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.007e-05/0.4075, allocations: 13.81 kB / 0.669 GB, free: 1.75 MB / 0.4981 GB Notification: Performance of SimCode: time 2.31e-07/0.4075, allocations: 4 kB / 0.669 GB, free: 1.746 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02265/0.4302, allocations: 2.801 MB / 0.6718 GB, free: 348 kB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.946/8.376, allocations: 13.91 kB / 0.6718 GB, free: 340 kB / 0.4981 GB (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)