Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Functions.Examples.CubicHermite.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.Utilities.Math.Functions.Examples.CubicHermite,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Functions_Examples_CubicHermite",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.CubicHermite,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Functions_Examples_CubicHermite",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.007818/0.007818, allocations: 97.25 kB / 15.73 MB, free: 6.035 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.001445/0.001445, allocations: 204.5 kB / 16.68 MB, free: 5.961 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.452/1.452, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7775/0.7775, allocations: 132.2 MB / 422.7 MB, free: 1.715 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001377/0.001377, allocations: 63.89 kB / 0.5809 GB, free: 7.992 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4406/0.442, allocations: 80.2 MB / 0.6592 GB, free: 9.934 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.CubicHermite): time 0.001582/0.4436, allocations: 0.604 MB / 0.6598 GB, free: 9.555 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.00167/0.4453, allocations: 1.386 MB / 0.6612 GB, free: 8.562 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.881e-05/0.4453, allocations: 0 / 0.6612 GB, free: 8.562 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 5.799e-05/0.4454, allocations: 0.75 kB / 0.6612 GB, free: 8.562 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.436e-05/0.4454, allocations: 7.234 kB / 0.6612 GB, free: 8.559 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006733/0.4461, allocations: 183.2 kB / 0.6614 GB, free: 8.492 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001183/0.4462, allocations: 48.5 kB / 0.6614 GB, free: 8.48 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.675e-05/0.4463, allocations: 2.328 kB / 0.6614 GB, free: 8.48 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.939e-05/0.4463, allocations: 21.39 kB / 0.6614 GB, free: 8.473 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.594e-05/0.4464, allocations: 23.81 kB / 0.6615 GB, free: 8.465 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.394e-05/0.4464, allocations: 4.156 kB / 0.6615 GB, free: 8.465 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003558/0.4468, allocations: 204.7 kB / 0.6617 GB, free: 8.406 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.392e-05/0.4468, allocations: 16.75 kB / 0.6617 GB, free: 8.398 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.83e-05/0.4469, allocations: 22 kB / 0.6617 GB, free: 8.387 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002765/0.4471, allocations: 183.2 kB / 0.6619 GB, free: 8.344 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.4472, allocations: 0 / 0.6619 GB, free: 8.344 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.275e-06/0.4472, allocations: 5.469 kB / 0.6619 GB, free: 8.34 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.999e-06/0.4472, allocations: 0.7969 kB / 0.6619 GB, free: 8.34 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.0003382/0.4475, allocations: 442 kB / 0.6623 GB, free: 7.887 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.755e-05/0.4476, allocations: 17.44 kB / 0.6623 GB, free: 7.879 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.988e-05/0.4476, allocations: 32.62 kB / 0.6623 GB, free: 7.84 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.575e-05/0.4476, allocations: 8.25 kB / 0.6623 GB, free: 7.836 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.028e-05/0.4477, allocations: 179 kB / 0.6625 GB, free: 7.629 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.229e-05/0.4477, allocations: 6.938 kB / 0.6625 GB, free: 7.625 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.222e-05/0.4478, allocations: 6.969 kB / 0.6625 GB, free: 7.621 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001781/0.4479, allocations: 101 kB / 0.6626 GB, free: 7.578 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.945e-06/0.448, allocations: 5.297 kB / 0.6626 GB, free: 7.574 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.014e-05/0.448, allocations: 1.219 kB / 0.6626 GB, free: 7.574 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.717e-06/0.448, allocations: 0 / 0.6626 GB, free: 7.574 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.211e-05/0.4481, allocations: 62.02 kB / 0.6627 GB, free: 7.559 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000111/0.4482, allocations: 181.1 kB / 0.6629 GB, free: 7.344 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 9.344e-05/0.4483, allocations: 76.84 kB / 0.6629 GB, free: 7.305 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.695e-05/0.4484, allocations: 77.89 kB / 0.663 GB, free: 7.27 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 8.115e-06/0.4484, allocations: 0 / 0.663 GB, free: 7.27 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.697e-05/0.4484, allocations: 35.75 kB / 0.663 GB, free: 7.227 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=4): time 8.51e-07/0.4484, allocations: 0 / 0.663 GB, free: 7.227 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4): time 0.0003418/0.4488, allocations: 251.6 kB / 0.6633 GB, free: 7.109 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.096e-05/0.4488, allocations: 83.28 kB / 0.6634 GB, free: 7.012 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.551e-05/0.4489, allocations: 142 kB / 0.6635 GB, free: 6.891 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.097e-05/0.4489, allocations: 27.08 kB / 0.6635 GB, free: 6.859 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.645e-05/0.449, allocations: 99.94 kB / 0.6636 GB, free: 6.762 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.261e-05/0.449, allocations: 10.56 kB / 0.6636 GB, free: 6.754 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.549e-05/0.449, allocations: 29.14 kB / 0.6637 GB, free: 6.73 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.829e-05/0.4491, allocations: 317.3 kB / 0.664 GB, free: 6.414 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001224/0.4492, allocations: 107.8 kB / 0.6641 GB, free: 6.379 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000118/0.4493, allocations: 100.2 kB / 0.6642 GB, free: 6.352 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002549/0.4496, allocations: 278.8 kB / 0.6644 GB, free: 6.191 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.786e-06/0.4496, allocations: 0 / 0.6644 GB, free: 6.191 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003193/0.4499, allocations: 322.9 kB / 0.6647 GB, free: 6.023 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 4.514e-05/0.45, allocations: 74.33 kB / 0.6648 GB, free: 5.949 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.45, allocations: 5.328 kB / 0.6648 GB, free: 5.945 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.356e-05/0.45, allocations: 0 / 0.6648 GB, free: 5.945 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.412e-06/0.45, allocations: 0 / 0.6648 GB, free: 5.945 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.819e-06/0.45, allocations: 1.156 kB / 0.6648 GB, free: 5.945 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001423/0.4502, allocations: 14.05 kB / 0.6648 GB, free: 5.938 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.697e-05/0.4502, allocations: 7.219 kB / 0.6648 GB, free: 5.934 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 (i) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 0 * 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 8.253e-05/0.4503, allocations: 154.9 kB / 0.665 GB, free: 5.777 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.74e-05/0.4503, allocations: 15.23 kB / 0.665 GB, free: 5.766 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.503e-05/0.4503, allocations: 9.859 kB / 0.665 GB, free: 5.75 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.4503, allocations: 1.281 kB / 0.665 GB, free: 5.75 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.666e-06/0.4503, allocations: 0 / 0.665 GB, free: 5.75 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.164e-06/0.4504, allocations: 3.938 kB / 0.665 GB, free: 5.746 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.614e-05/0.4504, allocations: 173 kB / 0.6652 GB, free: 5.539 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.4504, allocations: 3.938 kB / 0.6652 GB, free: 5.535 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.11e-07/0.4504, allocations: 1.125 kB / 0.6652 GB, free: 5.535 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.4505, allocations: 0 / 0.6652 GB, free: 5.535 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.179e-05/0.4505, allocations: 2.844 kB / 0.6652 GB, free: 5.535 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.4505, allocations: 0 / 0.6652 GB, free: 5.535 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.4505, allocations: 4 kB / 0.6652 GB, free: 5.531 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002596/0.4507, allocations: 225.6 kB / 0.6654 GB, free: 5.391 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.568e-05/0.4508, allocations: 87.81 kB / 0.6655 GB, free: 5.289 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.907e-05/0.4508, allocations: 1.094 kB / 0.6655 GB, free: 5.289 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.427e-05/0.4509, allocations: 4.25 kB / 0.6655 GB, free: 5.289 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.04e-05/0.4509, allocations: 11.92 kB / 0.6655 GB, free: 5.281 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.784e-06/0.4509, allocations: 9.156 kB / 0.6655 GB, free: 5.273 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.18e-05/0.451, allocations: 111.7 kB / 0.6656 GB, free: 5.184 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.451, allocations: 0 / 0.6656 GB, free: 5.184 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003229/0.4513, allocations: 67.78 kB / 0.6657 GB, free: 5.172 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 (i) * Number of discrete states: 1 (i) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * 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.0005956/0.4519, allocations: 0.8087 MB / 0.6665 GB, free: 4.484 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000401/0.4523, allocations: 373.4 kB / 0.6668 GB, free: 4.258 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.4524, allocations: 1.125 kB / 0.6668 GB, free: 4.258 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001269/0.4525, allocations: 139.2 kB / 0.667 GB, free: 4.164 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001496/0.4526, allocations: 8.047 kB / 0.667 GB, free: 4.16 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001817/0.4545, allocations: 2.145 MB / 0.6691 GB, free: 2.602 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001337/0.4546, allocations: 0.6903 MB / 0.6697 GB, free: 1.898 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 6.532e-06/0.4546, allocations: 0 / 0.6697 GB, free: 1.898 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.553e-05/0.4547, allocations: 20.95 kB / 0.6698 GB, free: 1.879 MB / 0.4981 GB Notification: Performance of SimCode: time 8.02e-07/0.4547, allocations: 0 / 0.6698 GB, free: 1.879 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01806/0.4727, allocations: 3.279 MB / 0.673 GB, free: 208 kB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.352/7.825, allocations: 12.36 kB / 0.673 GB, free: 200 kB / 0.4981 GB (rm -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.CubicHermite.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Functions.Examples.CubicHermite.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Functions.Examples.CubicHermite.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Functions.Examples.CubicHermite.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Utilities.Math.Functions.Examples.CubicHermite_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_IDEAS_Utilities_Math_Functions_Examples_CubicHermite.fmu > IDEAS_IDEAS.Utilities.Math.Functions.Examples.CubicHermite.pipe 2>&1)