Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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_dev_IDEAS_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline,fileNamePrefix="IDEAS_dev_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.006384/0.006384, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.001612/0.001612, allocations: 202.8 kB / 16.68 MB, free: 5.969 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.486/1.486, allocations: 222.9 MB / 240.4 MB, free: 4.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.049/1.049, allocations: 135.6 MB / 426.1 MB, free: 11.9 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002646/0.002646, allocations: 67.91 kB / 0.5858 GB, free: 3.188 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3849/0.3876, allocations: 81.02 MB / 0.6649 GB, free: 7.082 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.002264/0.3899, allocations: 1.424 MB / 0.6663 GB, free: 5.969 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001121/0.3911, allocations: 0.7761 MB / 0.667 GB, free: 5.371 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.137e-05/0.3911, allocations: 0 / 0.667 GB, free: 5.371 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 6.29e-05/0.3912, allocations: 1.125 kB / 0.667 GB, free: 5.371 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.664e-05/0.3913, allocations: 5.469 kB / 0.667 GB, free: 5.367 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006804/0.392, allocations: 177.8 kB / 0.6672 GB, free: 5.258 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001221/0.3921, allocations: 48.19 kB / 0.6673 GB, free: 5.23 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.104e-05/0.3922, allocations: 10.84 kB / 0.6673 GB, free: 5.227 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.287e-05/0.3922, allocations: 27.42 kB / 0.6673 GB, free: 5.207 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.034e-05/0.3923, allocations: 17.5 kB / 0.6673 GB, free: 5.195 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.639e-05/0.3923, allocations: 2.938 kB / 0.6673 GB, free: 5.195 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003331/0.3926, allocations: 199.8 kB / 0.6675 GB, free: 5.09 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.668e-05/0.3927, allocations: 13.23 kB / 0.6675 GB, free: 5.082 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.887e-05/0.3927, allocations: 24.33 kB / 0.6675 GB, free: 5.062 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002798/0.393, allocations: 181.7 kB / 0.6677 GB, free: 4.957 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.393, allocations: 0 / 0.6677 GB, free: 4.957 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.543e-06/0.3931, allocations: 1.5 kB / 0.6677 GB, free: 4.957 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.188e-06/0.3931, allocations: 0 / 0.6677 GB, free: 4.957 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.0004477/0.3935, allocations: 445.5 kB / 0.6681 GB, free: 4.488 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.49e-05/0.3936, allocations: 8.688 kB / 0.6681 GB, free: 4.488 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.792e-05/0.3936, allocations: 36.28 kB / 0.6682 GB, free: 4.445 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.204e-05/0.3936, allocations: 3.781 kB / 0.6682 GB, free: 4.445 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.888e-05/0.3937, allocations: 171.7 kB / 0.6683 GB, free: 4.242 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.338e-05/0.3937, allocations: 5.625 kB / 0.6684 GB, free: 4.238 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.228e-05/0.3938, allocations: 6.469 kB / 0.6684 GB, free: 4.234 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001695/0.3939, allocations: 73.69 kB / 0.6684 GB, free: 4.184 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.125e-06/0.3939, allocations: 3.938 kB / 0.6684 GB, free: 4.18 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.838e-06/0.394, allocations: 5.406 kB / 0.6684 GB, free: 4.176 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.394, allocations: 0 / 0.6684 GB, free: 4.176 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001046/0.3941, allocations: 45.69 kB / 0.6685 GB, free: 4.16 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000323/0.3944, allocations: 282.2 kB / 0.6688 GB, free: 3.852 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001024/0.3945, allocations: 58.33 kB / 0.6688 GB, free: 3.812 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.437e-05/0.3946, allocations: 49.28 kB / 0.6689 GB, free: 3.785 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.192e-05/0.3947, allocations: 1.062 kB / 0.6689 GB, free: 3.785 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.694e-05/0.3947, allocations: 35.66 kB / 0.6689 GB, free: 3.742 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 1.462e-06/0.3947, allocations: 0 / 0.6689 GB, free: 3.742 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.0003529/0.395, allocations: 185.3 kB / 0.6691 GB, free: 3.629 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.543e-05/0.3951, allocations: 83.22 kB / 0.6691 GB, free: 3.531 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.55e-05/0.3952, allocations: 119.6 kB / 0.6693 GB, free: 3.422 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.165e-05/0.3952, allocations: 29.73 kB / 0.6693 GB, free: 3.387 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.89e-05/0.3952, allocations: 90.38 kB / 0.6694 GB, free: 3.297 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.372e-05/0.3952, allocations: 14.25 kB / 0.6694 GB, free: 3.285 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.732e-05/0.3953, allocations: 17.44 kB / 0.6694 GB, free: 3.27 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.172e-05/0.3953, allocations: 323.6 kB / 0.6697 GB, free: 2.945 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.671e-05/0.3954, allocations: 57.03 kB / 0.6698 GB, free: 2.926 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.452e-05/0.3955, allocations: 55.81 kB / 0.6698 GB, free: 2.906 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001813/0.3957, allocations: 201.9 kB / 0.67 GB, free: 2.754 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.3957, allocations: 0 / 0.67 GB, free: 2.754 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002429/0.396, allocations: 216.9 kB / 0.6702 GB, free: 2.609 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.621e-05/0.396, allocations: 62.28 kB / 0.6703 GB, free: 2.547 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.396, allocations: 0 / 0.6703 GB, free: 2.547 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.358e-05/0.396, allocations: 1.156 kB / 0.6703 GB, free: 2.547 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.907e-05/0.3961, allocations: 6.203 kB / 0.6703 GB, free: 2.543 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.54e-06/0.3961, allocations: 1.094 kB / 0.6703 GB, free: 2.543 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.833e-05/0.3962, allocations: 21.17 kB / 0.6703 GB, free: 2.527 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.121e-05/0.3962, allocations: 5.219 kB / 0.6703 GB, free: 2.523 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.355e-05/0.3963, allocations: 155.2 kB / 0.6705 GB, free: 2.363 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.677e-05/0.3963, allocations: 3.188 kB / 0.6705 GB, free: 2.363 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.934e-05/0.3963, allocations: 5.125 kB / 0.6705 GB, free: 2.355 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.844e-06/0.3963, allocations: 1.125 kB / 0.6705 GB, free: 2.355 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.3963, allocations: 0 / 0.6705 GB, free: 2.355 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.466e-06/0.3963, allocations: 5.234 kB / 0.6705 GB, free: 2.352 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001204/0.3965, allocations: 170.6 kB / 0.6706 GB, free: 2.145 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.3965, allocations: 0 / 0.6706 GB, free: 2.145 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.709e-05/0.3965, allocations: 10.7 kB / 0.6706 GB, free: 2.137 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.3965, allocations: 1.359 kB / 0.6706 GB, free: 2.137 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.859e-06/0.3965, allocations: 1.375 kB / 0.6706 GB, free: 2.137 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.3965, allocations: 0 / 0.6706 GB, free: 2.137 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.3965, allocations: 5.219 kB / 0.6707 GB, free: 2.133 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000226/0.3968, allocations: 258.9 kB / 0.6709 GB, free: 1.918 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.861e-05/0.3968, allocations: 82.44 kB / 0.671 GB, free: 1.82 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.929e-05/0.3968, allocations: 1.188 kB / 0.671 GB, free: 1.82 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.913e-05/0.3969, allocations: 11.83 kB / 0.671 GB, free: 1.812 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001348/0.397, allocations: 4.031 kB / 0.671 GB, free: 1.812 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.913e-06/0.3971, allocations: 1.188 kB / 0.671 GB, free: 1.812 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.691e-05/0.3971, allocations: 106.4 kB / 0.6711 GB, free: 1.719 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3971, allocations: 0 / 0.6711 GB, free: 1.719 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003488/0.3975, allocations: 53.03 kB / 0.6711 GB, free: 1.715 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.0005782/0.398, allocations: 0.8359 MB / 0.672 GB, free: 0.9609 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003129/0.3984, allocations: 232.1 kB / 0.6722 GB, free: 0.7891 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.025e-06/0.3984, allocations: 1.219 kB / 0.6722 GB, free: 0.7891 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.000109/0.3985, allocations: 106.5 kB / 0.6723 GB, free: 0.7031 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002378/0.3987, allocations: 6.375 kB / 0.6723 GB, free: 0.6992 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001741/0.4005, allocations: 1.772 MB / 0.674 GB, free: 15.2 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003016/0.4008, allocations: 0.6935 MB / 0.6747 GB, free: 14.49 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 1.965e-05/0.4009, allocations: 0 / 0.6747 GB, free: 14.49 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.807e-05/0.4009, allocations: 12.81 kB / 0.6747 GB, free: 14.48 MB / 0.5137 GB Notification: Performance of SimCode: time 6.01e-07/0.4009, allocations: 0 / 0.6747 GB, free: 14.48 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02462/0.4255, allocations: 2.797 MB / 0.6774 GB, free: 13.05 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.817/8.242, allocations: 8.047 kB / 0.6775 GB, free: 13.05 MB / 0.5137 GB (rm -f IDEAS_dev_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_dev_IDEAS_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline.fmu > IDEAS_dev_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe 2>&1)