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.006851/0.006851, allocations: 96.7 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.00118/0.00118, allocations: 194.3 kB / 16.67 MB, free: 5.973 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.38/1.38, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9804/0.9804, allocations: 135.1 MB / 425.7 MB, free: 12.04 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001454/0.001454, allocations: 67.91 kB / 0.5852 GB, free: 3.812 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4323/0.4338, allocations: 80.91 MB / 0.6642 GB, free: 7.277 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.CubicHermite): time 0.001591/0.4354, allocations: 0.616 MB / 0.6648 GB, free: 6.812 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001434/0.4368, allocations: 1.384 MB / 0.6662 GB, free: 5.711 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.736e-05/0.4369, allocations: 1.719 kB / 0.6662 GB, free: 5.711 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 5.332e-05/0.4369, allocations: 4 kB / 0.6662 GB, free: 5.707 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.172e-05/0.437, allocations: 5.156 kB / 0.6662 GB, free: 5.703 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005963/0.4376, allocations: 173.2 kB / 0.6663 GB, free: 5.602 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001071/0.4377, allocations: 49.95 kB / 0.6664 GB, free: 5.578 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.706e-05/0.4377, allocations: 2.375 kB / 0.6664 GB, free: 5.578 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.556e-05/0.4378, allocations: 17.64 kB / 0.6664 GB, free: 5.57 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.989e-05/0.4378, allocations: 24.06 kB / 0.6664 GB, free: 5.555 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.609e-05/0.4379, allocations: 6.828 kB / 0.6664 GB, free: 5.551 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002823/0.4381, allocations: 207.9 kB / 0.6666 GB, free: 5.438 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 3.902e-05/0.4382, allocations: 14.45 kB / 0.6666 GB, free: 5.43 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.393e-05/0.4382, allocations: 22.62 kB / 0.6667 GB, free: 5.414 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002401/0.4385, allocations: 188.7 kB / 0.6668 GB, free: 5.305 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.4385, allocations: 1.344 kB / 0.6668 GB, free: 5.305 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.944e-06/0.4385, allocations: 0 / 0.6668 GB, free: 5.305 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.149e-06/0.4385, allocations: 0 / 0.6668 GB, free: 5.305 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.0003568/0.4389, allocations: 441 kB / 0.6673 GB, free: 4.844 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.032e-05/0.4389, allocations: 13.45 kB / 0.6673 GB, free: 4.84 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.297e-05/0.439, allocations: 36.47 kB / 0.6673 GB, free: 4.797 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.566e-05/0.439, allocations: 9.047 kB / 0.6673 GB, free: 4.793 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.777e-05/0.4391, allocations: 176 kB / 0.6675 GB, free: 4.586 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.418e-06/0.4391, allocations: 5.875 kB / 0.6675 GB, free: 4.582 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.582e-05/0.4391, allocations: 3.062 kB / 0.6675 GB, free: 4.582 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001658/0.4393, allocations: 105.3 kB / 0.6676 GB, free: 4.52 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.173e-06/0.4393, allocations: 0 / 0.6676 GB, free: 4.52 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.064e-05/0.4393, allocations: 5.328 kB / 0.6676 GB, free: 4.516 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.4393, allocations: 4 kB / 0.6676 GB, free: 4.512 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.971e-05/0.4394, allocations: 59.98 kB / 0.6677 GB, free: 4.496 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001066/0.4395, allocations: 177.3 kB / 0.6678 GB, free: 4.285 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 9.67e-05/0.4396, allocations: 84.09 kB / 0.6679 GB, free: 4.238 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.566e-05/0.4397, allocations: 66.55 kB / 0.668 GB, free: 4.215 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 8.375e-06/0.4397, allocations: 5 kB / 0.668 GB, free: 4.211 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.309e-05/0.4397, allocations: 35.84 kB / 0.668 GB, free: 4.168 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=4): time 9.72e-07/0.4398, allocations: 0 / 0.668 GB, free: 4.168 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4): time 0.0003383/0.4401, allocations: 251.1 kB / 0.6683 GB, free: 4.051 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.617e-05/0.4401, allocations: 82.36 kB / 0.6683 GB, free: 3.953 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.576e-05/0.4402, allocations: 156.4 kB / 0.6685 GB, free: 3.82 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.026e-05/0.4403, allocations: 27.2 kB / 0.6685 GB, free: 3.789 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.105e-05/0.4403, allocations: 86.8 kB / 0.6686 GB, free: 3.703 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.148e-05/0.4403, allocations: 10.25 kB / 0.6686 GB, free: 3.695 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.452e-05/0.4404, allocations: 29.52 kB / 0.6686 GB, free: 3.672 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.324e-05/0.4404, allocations: 321.6 kB / 0.6689 GB, free: 3.352 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001166/0.4405, allocations: 99.75 kB / 0.669 GB, free: 3.324 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001032/0.4406, allocations: 108.4 kB / 0.6691 GB, free: 3.289 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002231/0.4409, allocations: 276.2 kB / 0.6694 GB, free: 3.129 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.4409, allocations: 0 / 0.6694 GB, free: 3.129 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003031/0.4412, allocations: 329.9 kB / 0.6697 GB, free: 2.953 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 4.221e-05/0.4412, allocations: 71.16 kB / 0.6698 GB, free: 2.883 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.4413, allocations: 1.438 kB / 0.6698 GB, free: 2.883 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.417e-05/0.4413, allocations: 0 / 0.6698 GB, free: 2.883 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.02e-07/0.4413, allocations: 0 / 0.6698 GB, free: 2.883 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.282e-06/0.4413, allocations: 1.219 kB / 0.6698 GB, free: 2.883 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001501/0.4414, allocations: 13.42 kB / 0.6698 GB, free: 2.875 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.465e-05/0.4415, allocations: 3.906 kB / 0.6698 GB, free: 2.875 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.299e-05/0.4416, allocations: 162 kB / 0.67 GB, free: 2.711 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.92e-05/0.4416, allocations: 11.83 kB / 0.67 GB, free: 2.703 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.366e-05/0.4416, allocations: 9.562 kB / 0.67 GB, free: 2.688 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-06/0.4416, allocations: 1.469 kB / 0.67 GB, free: 2.688 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.4416, allocations: 0 / 0.67 GB, free: 2.688 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.4416, allocations: 0 / 0.67 GB, free: 2.688 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.221e-05/0.4417, allocations: 172.6 kB / 0.6701 GB, free: 2.48 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.4417, allocations: 5.062 kB / 0.6701 GB, free: 2.477 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.92e-07/0.4417, allocations: 0 / 0.6701 GB, free: 2.477 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.4417, allocations: 4 kB / 0.6701 GB, free: 2.473 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.978e-06/0.4417, allocations: 2.188 kB / 0.6702 GB, free: 2.473 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.4417, allocations: 5.031 kB / 0.6702 GB, free: 2.469 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.4417, allocations: 0 / 0.6702 GB, free: 2.469 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002285/0.442, allocations: 226.6 kB / 0.6704 GB, free: 2.328 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.038e-05/0.442, allocations: 86.22 kB / 0.6705 GB, free: 2.227 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.992e-05/0.442, allocations: 2.156 kB / 0.6705 GB, free: 2.227 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.771e-05/0.4421, allocations: 10.98 kB / 0.6705 GB, free: 2.219 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.306e-05/0.4421, allocations: 11.97 kB / 0.6705 GB, free: 2.211 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.414e-06/0.4422, allocations: 1.781 kB / 0.6705 GB, free: 2.211 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.324e-05/0.4422, allocations: 112.7 kB / 0.6706 GB, free: 2.117 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.31e-07/0.4422, allocations: 1.531 kB / 0.6706 GB, free: 2.117 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002922/0.4425, allocations: 67.3 kB / 0.6707 GB, free: 2.105 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.0005449/0.4431, allocations: 0.8098 MB / 0.6714 GB, free: 1.418 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003472/0.4434, allocations: 374.4 kB / 0.6718 GB, free: 1.191 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.4434, allocations: 0 / 0.6718 GB, free: 1.191 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001122/0.4436, allocations: 135.2 kB / 0.6719 GB, free: 1.102 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001511/0.4437, allocations: 12.3 kB / 0.6719 GB, free: 1.094 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001822/0.4455, allocations: 2.133 MB / 0.674 GB, free: 15.55 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002323/0.4458, allocations: 0.6969 MB / 0.6747 GB, free: 14.84 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 7.164e-06/0.4458, allocations: 1.094 kB / 0.6747 GB, free: 14.84 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.921e-05/0.4458, allocations: 16.5 kB / 0.6747 GB, free: 14.82 MB / 0.5137 GB Notification: Performance of SimCode: time 3.2e-07/0.4458, allocations: 32 / 0.6747 GB, free: 14.82 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01906/0.4649, allocations: 3.294 MB / 0.6779 GB, free: 13.11 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.784/8.249, allocations: 6.469 kB / 0.6779 GB, free: 13.1 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)