Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Functions.Examples.QuinticHermite.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.QuinticHermite,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Functions_Examples_QuinticHermite",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.QuinticHermite,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Functions_Examples_QuinticHermite",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.001616/0.001616, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001906/0.001907, allocations: 193.7 kB / 16.53 MB, free: 6.391 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.388/1.388, allocations: 222.9 MB / 240.2 MB, free: 4.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7599/0.7599, allocations: 132.2 MB / 422.6 MB, free: 1.797 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00125/0.00125, allocations: 72.28 kB / 0.5019 GB, free: 3.766 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4041/0.4053, allocations: 80.2 MB / 0.5802 GB, free: 4.426 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.QuinticHermite): time 0.001674/0.407, allocations: 0.6343 MB / 0.5808 GB, free: 4.02 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003634/0.4074, allocations: 195.9 kB / 0.581 GB, free: 3.887 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.777e-05/0.4075, allocations: 0 / 0.581 GB, free: 3.887 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.174e-05/0.4075, allocations: 4.938 kB / 0.581 GB, free: 3.883 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001407/0.4076, allocations: 6.656 kB / 0.581 GB, free: 3.879 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001819/0.4078, allocations: 72.97 kB / 0.5811 GB, free: 3.855 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 5.501e-05/0.4079, allocations: 30.89 kB / 0.5811 GB, free: 3.844 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.818e-05/0.4079, allocations: 6.953 kB / 0.5811 GB, free: 3.84 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.828e-05/0.408, allocations: 16.14 kB / 0.5811 GB, free: 3.832 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.122e-05/0.408, allocations: 23.84 kB / 0.5812 GB, free: 3.82 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.364e-05/0.4081, allocations: 2.5 kB / 0.5812 GB, free: 3.82 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002059/0.4083, allocations: 109.2 kB / 0.5813 GB, free: 3.785 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.565e-05/0.4083, allocations: 11.05 kB / 0.5813 GB, free: 3.777 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.762e-05/0.4083, allocations: 9.922 kB / 0.5813 GB, free: 3.773 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001755/0.4085, allocations: 105.1 kB / 0.5814 GB, free: 3.742 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.865e-06/0.4085, allocations: 0 / 0.5814 GB, free: 3.742 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.903e-06/0.4085, allocations: 1.125 kB / 0.5814 GB, free: 3.742 MB / 430.1 MB Notification: Performance of Transformations before backend: time 8.115e-06/0.4085, allocations: 3.938 kB / 0.5814 GB, free: 3.738 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004064/0.4089, allocations: 379.5 kB / 0.5818 GB, free: 3.355 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.483e-05/0.409, allocations: 10.39 kB / 0.5818 GB, free: 3.355 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.151e-05/0.409, allocations: 32.25 kB / 0.5818 GB, free: 3.316 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.526e-05/0.409, allocations: 2.406 kB / 0.5818 GB, free: 3.316 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.022e-05/0.4091, allocations: 183 kB / 0.582 GB, free: 3.105 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.104e-05/0.4092, allocations: 2.625 kB / 0.582 GB, free: 3.105 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.907e-05/0.4092, allocations: 2.406 kB / 0.582 GB, free: 3.105 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001302/0.4093, allocations: 56.47 kB / 0.582 GB, free: 3.066 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.022e-05/0.4093, allocations: 8.688 kB / 0.582 GB, free: 3.059 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.965e-06/0.4093, allocations: 0 / 0.582 GB, free: 3.059 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.4094, allocations: 1.688 kB / 0.582 GB, free: 3.059 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000134/0.4095, allocations: 33.67 kB / 0.5821 GB, free: 3.055 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001956/0.4097, allocations: 243.8 kB / 0.5823 GB, free: 2.785 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001991/0.4099, allocations: 75 kB / 0.5824 GB, free: 2.746 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.78e-05/0.41, allocations: 22.03 kB / 0.5824 GB, free: 2.738 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.672e-05/0.41, allocations: 5.156 kB / 0.5824 GB, free: 2.734 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.199e-05/0.41, allocations: 36.19 kB / 0.5824 GB, free: 2.691 MB / 430.1 MB Notification: Performance of pre-optimization done (n=4): time 1.102e-06/0.41, allocations: 0 / 0.5824 GB, free: 2.691 MB / 430.1 MB Notification: Performance of matching and sorting (n=8): time 0.02836/0.4384, allocations: 1.608 MB / 0.584 GB, free: 2.496 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.943e-05/0.4385, allocations: 52.56 kB / 0.5841 GB, free: 2.434 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.063e-05/0.4386, allocations: 120.2 kB / 0.5842 GB, free: 2.324 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 5.809e-05/0.4386, allocations: 27.02 kB / 0.5842 GB, free: 2.293 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.42e-05/0.4387, allocations: 90.27 kB / 0.5843 GB, free: 2.203 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.388e-05/0.4387, allocations: 26 kB / 0.5843 GB, free: 2.184 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001975/0.4389, allocations: 24.45 kB / 0.5843 GB, free: 2.164 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.08e-05/0.439, allocations: 323.3 kB / 0.5846 GB, free: 1.844 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004966/0.4395, allocations: 140.5 kB / 0.5848 GB, free: 1.809 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004862/0.44, allocations: 141.2 kB / 0.5849 GB, free: 1.773 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001006/0.441, allocations: 303.9 kB / 0.5852 GB, free: 1.664 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.441, allocations: 0 / 0.5852 GB, free: 1.664 MB / 430.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.001195/0.4422, allocations: 344.3 kB / 0.5855 GB, free: 1.535 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.584e-05/0.4422, allocations: 5.469 kB / 0.5855 GB, free: 1.535 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.122e-06/0.4422, allocations: 4 kB / 0.5855 GB, free: 1.531 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.631e-05/0.4423, allocations: 5.922 kB / 0.5855 GB, free: 1.527 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001594/0.4439, allocations: 59.94 kB / 0.5856 GB, free: 1.527 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.903e-06/0.4439, allocations: 0.6406 kB / 0.5856 GB, free: 1.527 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001411/0.4453, allocations: 46.47 kB / 0.5856 GB, free: 1.527 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.294e-05/0.4454, allocations: 7.438 kB / 0.5857 GB, free: 1.523 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * 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 0.0001555/0.4455, allocations: 125.7 kB / 0.5858 GB, free: 1.395 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.285e-05/0.4456, allocations: 6.656 kB / 0.5858 GB, free: 1.391 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001234/0.4458, allocations: 19.02 kB / 0.5858 GB, free: 1.371 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.956e-06/0.4458, allocations: 1.375 kB / 0.5858 GB, free: 1.371 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.4458, allocations: 0 / 0.5858 GB, free: 1.371 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.058e-06/0.4458, allocations: 0.75 kB / 0.5858 GB, free: 1.371 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005843/0.4516, allocations: 0.8452 MB / 0.5866 GB, free: 0.9766 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.025e-06/0.4516, allocations: 2.109 kB / 0.5866 GB, free: 0.9766 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001193/0.4528, allocations: 51.86 kB / 0.5867 GB, free: 0.9766 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.749e-06/0.4529, allocations: 2.047 kB / 0.5867 GB, free: 0.9766 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.536e-05/0.4529, allocations: 10.5 kB / 0.5867 GB, free: 0.9688 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.066e-06/0.4529, allocations: 2.25 kB / 0.5867 GB, free: 0.9688 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.4529, allocations: 1.375 kB / 0.5867 GB, free: 0.9688 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009228/0.4539, allocations: 324.1 kB / 0.587 GB, free: 0.7812 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.429e-05/0.4539, allocations: 81.16 kB / 0.5871 GB, free: 0.6875 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.708e-05/0.454, allocations: 5.906 kB / 0.5871 GB, free: 0.6836 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001098/0.4551, allocations: 38.73 kB / 0.5871 GB, free: 0.6836 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.685e-05/0.4551, allocations: 8.875 kB / 0.5871 GB, free: 0.6797 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.074e-05/0.4552, allocations: 4.922 kB / 0.5871 GB, free: 0.6797 MB / 430.1 MB Notification: Performance of sorting global known variables: time 5.086e-05/0.4552, allocations: 96.2 kB / 0.5872 GB, free: 0.5977 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4552, allocations: 4 kB / 0.5872 GB, free: 0.5938 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.000455/0.4557, allocations: 96.38 kB / 0.5873 GB, free: 0.5859 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * 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.001236/0.4569, allocations: 0.8713 MB / 0.5882 GB, free: 15.86 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001033/0.458, allocations: 242.1 kB / 0.5884 GB, free: 15.81 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.458, allocations: 0.5938 kB / 0.5884 GB, free: 15.81 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004349/0.4584, allocations: 100.5 kB / 0.5885 GB, free: 15.79 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003043/0.4587, allocations: 6.75 kB / 0.5885 GB, free: 15.79 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006875/0.4656, allocations: 2.674 MB / 0.5911 GB, free: 14.03 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000211/0.4658, allocations: 0.6853 MB / 0.5918 GB, free: 13.34 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0005156/0.4664, allocations: 57.44 kB / 0.5918 GB, free: 13.29 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004449/0.4668, allocations: 25.39 kB / 0.5919 GB, free: 13.27 MB / 446.1 MB Notification: Performance of SimCode: time 4.01e-07/0.4668, allocations: 0 / 0.5919 GB, free: 13.27 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02883/0.4957, allocations: 9.754 MB / 0.6014 GB, free: 8.496 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.49/7.986, allocations: 1.969 kB / 0.6014 GB, free: 8.496 MB / 446.1 MB (rm -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.QuinticHermite.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Functions.Examples.QuinticHermite.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Functions.Examples.QuinticHermite.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Functions.Examples.QuinticHermite.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Utilities.Math.Functions.Examples.QuinticHermite_res.csv --start-time 0 --stop-time 3 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0012 IDEAS_IDEAS_Utilities_Math_Functions_Examples_QuinticHermite.fmu > IDEAS_IDEAS.Utilities.Math.Functions.Examples.QuinticHermite.pipe 2>&1)