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.0007747/0.0007747, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.000822/0.0008221, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.42/1.42, allocations: 223.2 MB / 240 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9219/0.9219, allocations: 135.3 MB / 426.3 MB, free: 14.26 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003233/0.0003233, allocations: 12 kB / 0.5071 GB, free: 5.035 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1504/0.1508, allocations: 82.32 MB / 0.5875 GB, free: 2.887 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.QuinticHermite): time 0.0006508/0.1515, allocations: 347 kB / 0.5878 GB, free: 2.543 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003602/0.1518, allocations: 189.1 kB / 0.588 GB, free: 2.359 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.653e-05/0.1519, allocations: 0 / 0.588 GB, free: 2.359 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.176e-05/0.1519, allocations: 0 / 0.588 GB, free: 2.359 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000131/0.152, allocations: 3.938 kB / 0.588 GB, free: 2.355 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001469/0.1522, allocations: 63.89 kB / 0.5881 GB, free: 2.293 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.357e-05/0.1522, allocations: 23.91 kB / 0.5881 GB, free: 2.27 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.689e-05/0.1523, allocations: 4 kB / 0.5881 GB, free: 2.266 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.024e-05/0.1523, allocations: 15.92 kB / 0.5881 GB, free: 2.25 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.092e-05/0.1524, allocations: 19.92 kB / 0.5881 GB, free: 2.23 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.284e-05/0.1524, allocations: 7.984 kB / 0.5881 GB, free: 2.223 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001536/0.1526, allocations: 107.7 kB / 0.5882 GB, free: 2.117 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 9.288e-06/0.1526, allocations: 3.938 kB / 0.5882 GB, free: 2.113 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.238e-05/0.1526, allocations: 37.64 kB / 0.5883 GB, free: 2.07 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001098/0.1527, allocations: 63.88 kB / 0.5883 GB, free: 2.008 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.1528, allocations: 0 / 0.5883 GB, free: 2.008 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.1528, allocations: 0 / 0.5883 GB, free: 2.008 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.212e-06/0.1528, allocations: 0 / 0.5883 GB, free: 2.008 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.0004433/0.1532, allocations: 371.5 kB / 0.5887 GB, free: 1.598 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.317e-05/0.1533, allocations: 8.031 kB / 0.5887 GB, free: 1.59 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.825e-05/0.1533, allocations: 30.56 kB / 0.5887 GB, free: 1.551 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.213e-05/0.1533, allocations: 7.906 kB / 0.5887 GB, free: 1.543 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001228/0.1534, allocations: 175 kB / 0.5889 GB, free: 1.332 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.586e-06/0.1535, allocations: 0 / 0.5889 GB, free: 1.332 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.658e-05/0.1535, allocations: 4 kB / 0.5889 GB, free: 1.328 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001331/0.1536, allocations: 61.61 kB / 0.589 GB, free: 1.262 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.578e-06/0.1536, allocations: 0 / 0.589 GB, free: 1.262 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.257e-06/0.1537, allocations: 4 kB / 0.589 GB, free: 1.258 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.087e-06/0.1537, allocations: 0 / 0.589 GB, free: 1.258 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001253/0.1538, allocations: 43.95 kB / 0.589 GB, free: 1.215 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00025/0.1541, allocations: 256.9 kB / 0.5892 GB, free: 0.9141 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000186/0.1543, allocations: 78.53 kB / 0.5893 GB, free: 0.8281 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.687e-05/0.1543, allocations: 32.88 kB / 0.5894 GB, free: 0.793 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.408e-05/0.1544, allocations: 0 / 0.5894 GB, free: 0.793 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.171e-05/0.1544, allocations: 34.55 kB / 0.5894 GB, free: 0.75 MB / 494.1 MB Notification: Performance of pre-optimization done (n=4): time 7.21e-07/0.1544, allocations: 0 / 0.5894 GB, free: 0.75 MB / 494.1 MB Notification: Performance of matching and sorting (n=8): time 0.02309/0.1775, allocations: 1.757 MB / 0.5911 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.737e-05/0.1776, allocations: 55.36 kB / 0.5912 GB, free: 14.92 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001023/0.1777, allocations: 117.8 kB / 0.5913 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.522e-05/0.1777, allocations: 25.7 kB / 0.5913 GB, free: 14.76 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.778e-05/0.1778, allocations: 92.03 kB / 0.5914 GB, free: 14.67 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 7.63e-05/0.1779, allocations: 23.66 kB / 0.5914 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.86e-05/0.178, allocations: 0 / 0.5914 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001162/0.1781, allocations: 322.8 kB / 0.5917 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004829/0.1786, allocations: 155.9 kB / 0.5919 GB, free: 14.17 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004772/0.1791, allocations: 176.1 kB / 0.592 GB, free: 14 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005035/0.1796, allocations: 159.9 kB / 0.5922 GB, free: 13.84 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.71e-07/0.1796, allocations: 4 kB / 0.5922 GB, free: 13.84 MB / 0.4981 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.001173/0.1808, allocations: 385.3 kB / 0.5925 GB, free: 13.45 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.983e-05/0.1808, allocations: 8 kB / 0.5926 GB, free: 13.45 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.1808, allocations: 0 / 0.5926 GB, free: 13.45 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.513e-05/0.1808, allocations: 0 / 0.5926 GB, free: 13.45 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001352/0.1822, allocations: 75.89 kB / 0.5926 GB, free: 13.37 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.011e-05/0.1822, allocations: 3.953 kB / 0.5926 GB, free: 13.37 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001109/0.1833, allocations: 59.95 kB / 0.5927 GB, free: 13.31 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.281e-05/0.1834, allocations: 7.969 kB / 0.5927 GB, free: 13.3 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001632/0.1836, allocations: 113.8 kB / 0.5928 GB, free: 13.18 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.263e-05/0.1836, allocations: 7.906 kB / 0.5928 GB, free: 13.17 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001442/0.1838, allocations: 12.38 kB / 0.5928 GB, free: 13.16 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.602e-06/0.1838, allocations: 4.422 kB / 0.5928 GB, free: 13.15 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.94e-06/0.1838, allocations: 4 kB / 0.5928 GB, free: 13.15 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.189e-06/0.1838, allocations: 3.953 kB / 0.5928 GB, free: 13.14 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004893/0.1887, allocations: 0.9079 MB / 0.5937 GB, free: 12.17 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.749e-06/0.1887, allocations: 4 kB / 0.5937 GB, free: 12.17 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009545/0.1897, allocations: 67.89 kB / 0.5938 GB, free: 12.1 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.712e-06/0.1897, allocations: 12 kB / 0.5938 GB, free: 12.09 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.64e-05/0.1898, allocations: 7.984 kB / 0.5938 GB, free: 12.08 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.605e-06/0.1898, allocations: 4 kB / 0.5938 GB, free: 12.08 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/0.1898, allocations: 0 / 0.5938 GB, free: 12.08 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009222/0.1907, allocations: 368.9 kB / 0.5942 GB, free: 11.7 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.811e-05/0.1908, allocations: 89.02 kB / 0.5943 GB, free: 11.59 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.032e-05/0.1909, allocations: 3.953 kB / 0.5943 GB, free: 11.59 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008625/0.1917, allocations: 56 kB / 0.5943 GB, free: 11.53 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.415e-05/0.1918, allocations: 4 kB / 0.5943 GB, free: 11.53 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.639e-05/0.1918, allocations: 7.984 kB / 0.5943 GB, free: 11.52 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 6.389e-05/0.1919, allocations: 95.48 kB / 0.5944 GB, free: 11.43 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1919, allocations: 4 kB / 0.5944 GB, free: 11.42 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0004185/0.1923, allocations: 104 kB / 0.5945 GB, free: 11.32 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001258/0.1936, allocations: 0.9208 MB / 0.5954 GB, free: 10.37 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0009864/0.1946, allocations: 283.8 kB / 0.5957 GB, free: 10.09 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.1946, allocations: 0 / 0.5957 GB, free: 10.09 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0004139/0.195, allocations: 120 kB / 0.5958 GB, free: 9.973 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000286/0.1953, allocations: 8 kB / 0.5958 GB, free: 9.965 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004528/0.1998, allocations: 1.605 MB / 0.5974 GB, free: 8.309 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002272/0.2001, allocations: 0.6926 MB / 0.5981 GB, free: 7.59 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0005447/0.2006, allocations: 51.98 kB / 0.5981 GB, free: 7.539 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004661/0.2011, allocations: 39.38 kB / 0.5981 GB, free: 7.5 MB / 0.4981 GB Notification: Performance of SimCode: time 4.61e-07/0.2011, allocations: 0 / 0.5981 GB, free: 7.5 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2597/0.4608, allocations: 9.026 MB / 0.607 GB, free: 48.3 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001204/0.4609, allocations: 187.4 kB / 0.6071 GB, free: 48.07 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.973/2.434, allocations: 0 / 0.6071 GB, free: 48.07 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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_QuinticHermite_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_QuinticHermite.fmu > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.QuinticHermite.pipe 2>&1) Environment - environmentSimulation: