Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-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.Utilities.Math.Functions.Examples.CubicHermite,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_CubicHermite",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.CubicHermite,fileNamePrefix="IDEAS_dev_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.007673/0.007673, allocations: 98.3 kB / 15.73 MB, free: 6.004 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.00204/0.00204, allocations: 197 kB / 16.68 MB, free: 5.934 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.484/1.484, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9759/0.9759, allocations: 135.6 MB / 426.1 MB, free: 11.96 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002079/0.002079, allocations: 67.89 kB / 0.5858 GB, free: 3.16 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4318/0.4339, allocations: 81.01 MB / 0.6649 GB, free: 7.051 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.CubicHermite): time 0.002125/0.4361, allocations: 0.6093 MB / 0.6655 GB, free: 6.59 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002036/0.4382, allocations: 1.385 MB / 0.6669 GB, free: 5.488 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.828e-05/0.4382, allocations: 0 / 0.6669 GB, free: 5.488 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 6.557e-05/0.4383, allocations: 5.172 kB / 0.6669 GB, free: 5.484 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.635e-05/0.4383, allocations: 5.469 kB / 0.6669 GB, free: 5.48 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007359/0.4391, allocations: 176.9 kB / 0.667 GB, free: 5.375 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001145/0.4392, allocations: 49.89 kB / 0.6671 GB, free: 5.352 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.201e-05/0.4393, allocations: 2.875 kB / 0.6671 GB, free: 5.352 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.708e-05/0.4393, allocations: 17.55 kB / 0.6671 GB, free: 5.344 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.732e-05/0.4394, allocations: 24.03 kB / 0.6671 GB, free: 5.328 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.811e-05/0.4394, allocations: 2.562 kB / 0.6671 GB, free: 5.328 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003459/0.4397, allocations: 208.2 kB / 0.6673 GB, free: 5.215 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.542e-05/0.4398, allocations: 18.56 kB / 0.6673 GB, free: 5.203 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.989e-05/0.4399, allocations: 22.17 kB / 0.6674 GB, free: 5.188 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002536/0.4401, allocations: 188.6 kB / 0.6676 GB, free: 5.078 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.4401, allocations: 1.562 kB / 0.6676 GB, free: 5.078 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.573e-06/0.4401, allocations: 0 / 0.6676 GB, free: 5.078 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.209e-06/0.4401, allocations: 0 / 0.6676 GB, free: 5.078 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.000378/0.4405, allocations: 441.7 kB / 0.668 GB, free: 4.617 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.316e-05/0.4406, allocations: 9.531 kB / 0.668 GB, free: 4.617 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.683e-05/0.4406, allocations: 32.16 kB / 0.668 GB, free: 4.578 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.191e-05/0.4406, allocations: 7.641 kB / 0.668 GB, free: 4.574 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.715e-05/0.4407, allocations: 192.4 kB / 0.6682 GB, free: 4.352 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.355e-05/0.4408, allocations: 1.688 kB / 0.6682 GB, free: 4.352 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.125e-05/0.4408, allocations: 3.219 kB / 0.6682 GB, free: 4.352 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001667/0.4409, allocations: 98.52 kB / 0.6683 GB, free: 4.297 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.717e-06/0.441, allocations: 3.938 kB / 0.6683 GB, free: 4.293 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.538e-06/0.441, allocations: 0 / 0.6683 GB, free: 4.293 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.847e-06/0.441, allocations: 1.375 kB / 0.6683 GB, free: 4.293 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.372e-05/0.4411, allocations: 59.83 kB / 0.6684 GB, free: 4.277 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001073/0.4412, allocations: 172.4 kB / 0.6685 GB, free: 4.07 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001034/0.4413, allocations: 85.03 kB / 0.6686 GB, free: 4.023 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.61e-05/0.4414, allocations: 66.2 kB / 0.6687 GB, free: 4 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 8.156e-06/0.4414, allocations: 3.984 kB / 0.6687 GB, free: 3.996 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.504e-05/0.4414, allocations: 40.28 kB / 0.6687 GB, free: 3.949 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=4): time 9.42e-07/0.4414, allocations: 0 / 0.6687 GB, free: 3.949 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4): time 0.0003581/0.4418, allocations: 254.8 kB / 0.669 GB, free: 3.828 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.119e-05/0.4418, allocations: 83.25 kB / 0.669 GB, free: 3.73 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.956e-05/0.4419, allocations: 153 kB / 0.6692 GB, free: 3.602 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.014e-05/0.4419, allocations: 27.2 kB / 0.6692 GB, free: 3.57 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.879e-05/0.442, allocations: 94.62 kB / 0.6693 GB, free: 3.477 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.962e-05/0.442, allocations: 10.56 kB / 0.6693 GB, free: 3.469 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.781e-05/0.4421, allocations: 29.05 kB / 0.6693 GB, free: 3.445 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 5.362e-05/0.4421, allocations: 317.1 kB / 0.6696 GB, free: 3.129 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001212/0.4422, allocations: 104.6 kB / 0.6697 GB, free: 3.098 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001116/0.4424, allocations: 99.75 kB / 0.6698 GB, free: 3.07 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002269/0.4426, allocations: 287.3 kB / 0.6701 GB, free: 2.898 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.4426, allocations: 0 / 0.6701 GB, free: 2.898 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003008/0.4429, allocations: 322.1 kB / 0.6704 GB, free: 2.73 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 4.488e-05/0.443, allocations: 71.67 kB / 0.6705 GB, free: 2.66 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.049e-06/0.443, allocations: 3.984 kB / 0.6705 GB, free: 2.656 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.405e-05/0.443, allocations: 0.9375 kB / 0.6705 GB, free: 2.656 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.413e-06/0.443, allocations: 3.984 kB / 0.6705 GB, free: 2.652 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.09e-06/0.443, allocations: 1.125 kB / 0.6705 GB, free: 2.652 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001048/0.4431, allocations: 12.83 kB / 0.6705 GB, free: 2.645 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.371e-05/0.4431, allocations: 4.594 kB / 0.6705 GB, free: 2.645 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 7.614e-05/0.4432, allocations: 154 kB / 0.6707 GB, free: 2.488 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.702e-05/0.4432, allocations: 11.67 kB / 0.6707 GB, free: 2.48 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.396e-05/0.4433, allocations: 14.84 kB / 0.6707 GB, free: 2.461 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.293e-06/0.4433, allocations: 0 / 0.6707 GB, free: 2.461 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.4433, allocations: 3.984 kB / 0.6707 GB, free: 2.457 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.384e-06/0.4433, allocations: 1.156 kB / 0.6707 GB, free: 2.457 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.335e-05/0.4434, allocations: 169.4 kB / 0.6708 GB, free: 2.254 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.4434, allocations: 3.938 kB / 0.6709 GB, free: 2.25 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.563e-06/0.4434, allocations: 3.984 kB / 0.6709 GB, free: 2.246 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.192e-06/0.4434, allocations: 7.938 kB / 0.6709 GB, free: 2.238 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.057e-05/0.4434, allocations: 2.625 kB / 0.6709 GB, free: 2.238 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.4434, allocations: 0 / 0.6709 GB, free: 2.238 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.4434, allocations: 1.25 kB / 0.6709 GB, free: 2.238 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002706/0.4437, allocations: 224.6 kB / 0.6711 GB, free: 2.098 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.911e-05/0.4437, allocations: 87.56 kB / 0.6712 GB, free: 1.996 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.991e-05/0.4437, allocations: 2.531 kB / 0.6712 GB, free: 1.996 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.749e-05/0.4438, allocations: 6.219 kB / 0.6712 GB, free: 1.992 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.857e-05/0.4439, allocations: 12.61 kB / 0.6712 GB, free: 1.984 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.434e-06/0.4439, allocations: 2.375 kB / 0.6712 GB, free: 1.984 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.488e-05/0.4439, allocations: 104.4 kB / 0.6713 GB, free: 1.898 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4439, allocations: 3.938 kB / 0.6713 GB, free: 1.895 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003164/0.4443, allocations: 67.97 kB / 0.6714 GB, free: 1.883 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.0006496/0.4449, allocations: 0.8132 MB / 0.6722 GB, free: 1.191 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003808/0.4453, allocations: 369.9 kB / 0.6725 GB, free: 0.9688 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.4453, allocations: 0 / 0.6725 GB, free: 0.9688 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001184/0.4454, allocations: 134.8 kB / 0.6726 GB, free: 0.8789 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001499/0.4456, allocations: 6.5 kB / 0.6726 GB, free: 0.8789 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00204/0.4476, allocations: 2.146 MB / 0.6747 GB, free: 15.32 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003177/0.448, allocations: 0.6896 MB / 0.6754 GB, free: 14.62 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 6.603e-06/0.448, allocations: 0 / 0.6754 GB, free: 14.62 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.989e-05/0.4481, allocations: 20.48 kB / 0.6754 GB, free: 14.6 MB / 0.5137 GB Notification: Performance of SimCode: time 6.62e-07/0.4481, allocations: 4.031 kB / 0.6754 GB, free: 14.6 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02424/0.4723, allocations: 3.289 MB / 0.6786 GB, free: 12.89 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.144/8.616, allocations: 6.328 kB / 0.6786 GB, free: 12.89 MB / 0.5137 GB (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.CubicHermite.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.CubicHermite.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.CubicHermite.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.CubicHermite.sim & python3 -m fmpy simulate --output-file IDEAS_dev_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_dev_IDEAS_Utilities_Math_Functions_Examples_CubicHermite.fmu > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.CubicHermite.pipe 2>&1)