Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-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.QuinticHermite,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_QuinticHermite",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.QuinticHermite,fileNamePrefix="IDEAS_dev_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.001056/0.001056, 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.001101/0.001101, allocations: 192 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.315/1.315, 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-master/package.mo): time 0.9159/0.9159, allocations: 135.1 MB / 425.5 MB, free: 11.81 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001255/0.001255, allocations: 64.02 kB / 0.5054 GB, free: 5.203 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1372/0.1385, allocations: 80.94 MB / 0.5845 GB, free: 4.426 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.QuinticHermite): time 0.001758/0.1403, allocations: 0.6191 MB / 0.5851 GB, free: 3.801 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004112/0.1407, allocations: 195.1 kB / 0.5853 GB, free: 3.609 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.369e-05/0.1407, allocations: 0 / 0.5853 GB, free: 3.609 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.939e-05/0.1408, allocations: 3.938 kB / 0.5853 GB, free: 3.605 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001756/0.141, allocations: 11.92 kB / 0.5853 GB, free: 3.594 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002044/0.1412, allocations: 75.75 kB / 0.5854 GB, free: 3.52 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.342e-05/0.1412, allocations: 27.98 kB / 0.5854 GB, free: 3.492 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.007e-05/0.1413, allocations: 0 / 0.5854 GB, free: 3.492 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.148e-05/0.1413, allocations: 19.92 kB / 0.5854 GB, free: 3.473 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.644e-05/0.1414, allocations: 23.89 kB / 0.5854 GB, free: 3.449 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.757e-05/0.1415, allocations: 7.938 kB / 0.5854 GB, free: 3.441 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001783/0.1416, allocations: 95.8 kB / 0.5855 GB, free: 3.348 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.838e-05/0.1417, allocations: 19.86 kB / 0.5855 GB, free: 3.328 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.802e-05/0.1417, allocations: 15.92 kB / 0.5856 GB, free: 3.312 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001911/0.1419, allocations: 99.81 kB / 0.5857 GB, free: 3.215 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.1419, allocations: 3.938 kB / 0.5857 GB, free: 3.211 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.1419, allocations: 0 / 0.5857 GB, free: 3.211 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.171e-06/0.1419, allocations: 0 / 0.5857 GB, free: 3.211 MB / 494.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.0006131/0.1425, allocations: 375.6 kB / 0.586 GB, free: 2.793 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.553e-05/0.1426, allocations: 12.03 kB / 0.586 GB, free: 2.781 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.657e-05/0.1427, allocations: 38.69 kB / 0.5861 GB, free: 2.734 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.668e-05/0.1427, allocations: 4.938 kB / 0.5861 GB, free: 2.73 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001755/0.1429, allocations: 176.3 kB / 0.5862 GB, free: 2.52 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.259e-05/0.1429, allocations: 384 / 0.5862 GB, free: 2.52 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.441e-05/0.1429, allocations: 4.375 kB / 0.5862 GB, free: 2.516 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001725/0.1431, allocations: 58.22 kB / 0.5863 GB, free: 2.453 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.564e-05/0.1431, allocations: 3.938 kB / 0.5863 GB, free: 2.449 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.109e-05/0.1432, allocations: 0 / 0.5863 GB, free: 2.449 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.61e-06/0.1432, allocations: 0 / 0.5863 GB, free: 2.449 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001421/0.1433, allocations: 31.97 kB / 0.5863 GB, free: 2.418 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003625/0.1437, allocations: 256.9 kB / 0.5866 GB, free: 2.117 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002531/0.1439, allocations: 70.45 kB / 0.5866 GB, free: 2.039 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.898e-05/0.144, allocations: 24.94 kB / 0.5867 GB, free: 2.012 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.877e-05/0.1441, allocations: 0 / 0.5867 GB, free: 2.012 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.928e-05/0.1441, allocations: 34.56 kB / 0.5867 GB, free: 1.969 MB / 494.1 MB Notification: Performance of pre-optimization done (n=4): time 1.032e-06/0.1441, allocations: 0 / 0.5867 GB, free: 1.969 MB / 494.1 MB Notification: Performance of matching and sorting (n=8): time 0.02896/0.1731, allocations: 1.62 MB / 0.5883 GB, free: 348 kB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.913e-05/0.1731, allocations: 55.34 kB / 0.5883 GB, free: 280 kB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.604e-05/0.1732, allocations: 117.8 kB / 0.5885 GB, free: 152 kB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 6.32e-05/0.1733, allocations: 33.7 kB / 0.5885 GB, free: 112 kB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.562e-05/0.1734, allocations: 88.05 kB / 0.5886 GB, free: 20 kB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001009/0.1735, allocations: 27.67 kB / 0.5886 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002065/0.1737, allocations: 29.66 kB / 0.5886 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 8.674e-05/0.1738, allocations: 314.8 kB / 0.5889 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005107/0.1743, allocations: 147.9 kB / 0.5891 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004976/0.1748, allocations: 139.9 kB / 0.5892 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00102/0.1758, allocations: 288.8 kB / 0.5895 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.1758, allocations: 0 / 0.5895 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.00124/0.1771, allocations: 341.4 kB / 0.5898 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.712e-05/0.1771, allocations: 10.12 kB / 0.5898 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.089e-06/0.1771, allocations: 0.6562 kB / 0.5898 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.466e-05/0.1772, allocations: 4 kB / 0.5898 GB, free: 14.72 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001651/0.1788, allocations: 63.86 kB / 0.5899 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.6e-06/0.1788, allocations: 0 / 0.5899 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001449/0.1803, allocations: 55.94 kB / 0.5899 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.225e-05/0.1803, allocations: 4 kB / 0.5899 GB, free: 14.6 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: 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.0001682/0.1805, allocations: 117.8 kB / 0.59 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.176e-05/0.1806, allocations: 3.938 kB / 0.59 GB, free: 14.47 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001258/0.1807, allocations: 20.38 kB / 0.5901 GB, free: 14.45 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.1808, allocations: 0 / 0.5901 GB, free: 14.45 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.1808, allocations: 0 / 0.5901 GB, free: 14.45 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.509e-06/0.1808, allocations: 3.984 kB / 0.5901 GB, free: 14.45 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005888/0.1867, allocations: 0.8338 MB / 0.5909 GB, free: 13.55 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.985e-06/0.1867, allocations: 8 kB / 0.5909 GB, free: 13.54 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001205/0.1879, allocations: 51.94 kB / 0.5909 GB, free: 13.49 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.136e-06/0.1879, allocations: 4 kB / 0.5909 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.493e-05/0.188, allocations: 3.938 kB / 0.5909 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.351e-06/0.188, allocations: 4 kB / 0.591 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.188, allocations: 0 / 0.591 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009556/0.1889, allocations: 329 kB / 0.5913 GB, free: 13.13 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.591e-05/0.189, allocations: 81.09 kB / 0.5913 GB, free: 13.04 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.944e-05/0.1891, allocations: 12 kB / 0.5914 GB, free: 13.02 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001202/0.1903, allocations: 39.95 kB / 0.5914 GB, free: 12.98 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.772e-05/0.1903, allocations: 8 kB / 0.5914 GB, free: 12.98 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.494e-05/0.1904, allocations: 7.984 kB / 0.5914 GB, free: 12.97 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 6.898e-05/0.1905, allocations: 87.28 kB / 0.5915 GB, free: 12.88 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.7e-07/0.1905, allocations: 0 / 0.5915 GB, free: 12.88 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0005484/0.191, allocations: 99.98 kB / 0.5916 GB, free: 12.79 MB / 0.4981 GB 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.001293/0.1923, allocations: 0.8662 MB / 0.5924 GB, free: 11.89 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001017/0.1934, allocations: 255.8 kB / 0.5927 GB, free: 11.64 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.1934, allocations: 0 / 0.5927 GB, free: 11.64 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0004322/0.1938, allocations: 87.95 kB / 0.5928 GB, free: 11.55 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003023/0.1941, allocations: 19.86 kB / 0.5928 GB, free: 11.53 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006632/0.2008, allocations: 2.671 MB / 0.5954 GB, free: 8.77 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001986/0.201, allocations: 0.6885 MB / 0.5961 GB, free: 8.055 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0004966/0.2015, allocations: 52 kB / 0.5961 GB, free: 8.004 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004662/0.2019, allocations: 23.42 kB / 0.5961 GB, free: 7.98 MB / 0.4981 GB Notification: Performance of SimCode: time 3.21e-07/0.202, allocations: 0 / 0.5961 GB, free: 7.98 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2526/0.4545, allocations: 9.761 MB / 0.6057 GB, free: 51.95 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.437/7.891, allocations: 6.328 kB / 0.6057 GB, free: 51.95 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.QuinticHermite.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.QuinticHermite.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.QuinticHermite.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.QuinticHermite.sim & python3 -m fmpy simulate --output-file IDEAS_dev_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_dev_IDEAS_Utilities_Math_Functions_Examples_QuinticHermite.fmu > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.QuinticHermite.pipe 2>&1)