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.001465/0.001465, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001746/0.001746, allocations: 188 kB / 16.25 MB, free: 6.629 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.313/1.313, allocations: 222.9 MB / 239.9 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7124/0.7124, allocations: 132.2 MB / 422.3 MB, free: 1.969 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001182/0.001182, allocations: 64.89 kB / 0.5014 GB, free: 9.008 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1358/0.137, allocations: 80.2 MB / 0.5797 GB, free: 9.031 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.QuinticHermite): time 0.001627/0.1387, allocations: 0.6933 MB / 0.5804 GB, free: 8.332 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003675/0.1391, allocations: 205 kB / 0.5806 GB, free: 8.133 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.78e-05/0.1391, allocations: 0 / 0.5806 GB, free: 8.133 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.753e-05/0.1391, allocations: 0 / 0.5806 GB, free: 8.133 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000123/0.1392, allocations: 11.94 kB / 0.5806 GB, free: 8.121 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001653/0.1394, allocations: 71.81 kB / 0.5806 GB, free: 8.051 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.885e-05/0.1395, allocations: 19.98 kB / 0.5807 GB, free: 8.031 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.641e-05/0.1395, allocations: 4 kB / 0.5807 GB, free: 8.027 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.979e-05/0.1396, allocations: 15.92 kB / 0.5807 GB, free: 8.012 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.673e-05/0.1396, allocations: 23.91 kB / 0.5807 GB, free: 7.988 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.662e-05/0.1397, allocations: 0 / 0.5807 GB, free: 7.988 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001538/0.1398, allocations: 115.7 kB / 0.5808 GB, free: 7.875 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.457e-05/0.1398, allocations: 7.984 kB / 0.5808 GB, free: 7.867 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 1.921e-05/0.1399, allocations: 15.88 kB / 0.5808 GB, free: 7.852 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001637/0.14, allocations: 103.8 kB / 0.5809 GB, free: 7.75 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.209e-06/0.14, allocations: 4 kB / 0.5809 GB, free: 7.746 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.1401, allocations: 0 / 0.5809 GB, free: 7.746 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.97e-06/0.1401, allocations: 0 / 0.5809 GB, free: 7.746 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.0005136/0.1406, allocations: 371.6 kB / 0.5813 GB, free: 7.332 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.373e-05/0.1406, allocations: 8.031 kB / 0.5813 GB, free: 7.324 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.507e-05/0.1407, allocations: 30.75 kB / 0.5813 GB, free: 7.285 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.598e-05/0.1407, allocations: 12.88 kB / 0.5813 GB, free: 7.273 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001215/0.1408, allocations: 180.3 kB / 0.5815 GB, free: 7.059 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.018e-05/0.1408, allocations: 384 / 0.5815 GB, free: 7.059 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.798e-05/0.1409, allocations: 8.312 kB / 0.5815 GB, free: 7.051 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000136/0.141, allocations: 50.23 kB / 0.5816 GB, free: 6.996 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.033e-05/0.141, allocations: 3.938 kB / 0.5816 GB, free: 6.992 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.544e-06/0.141, allocations: 0 / 0.5816 GB, free: 6.992 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.007e-06/0.141, allocations: 4 kB / 0.5816 GB, free: 6.988 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001263/0.1412, allocations: 39.95 kB / 0.5816 GB, free: 6.949 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002445/0.1414, allocations: 244.9 kB / 0.5818 GB, free: 6.66 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001899/0.1416, allocations: 74.45 kB / 0.5819 GB, free: 6.578 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.505e-05/0.1417, allocations: 20.94 kB / 0.5819 GB, free: 6.555 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.368e-05/0.1417, allocations: 4 kB / 0.5819 GB, free: 6.551 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.705e-05/0.1418, allocations: 42.55 kB / 0.582 GB, free: 6.5 MB / 494.1 MB Notification: Performance of pre-optimization done (n=4): time 1.072e-06/0.1418, allocations: 0 / 0.582 GB, free: 6.5 MB / 494.1 MB Notification: Performance of matching and sorting (n=8): time 0.0298/0.1716, allocations: 1.609 MB / 0.5836 GB, free: 4.883 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.883e-05/0.1716, allocations: 55.41 kB / 0.5836 GB, free: 4.816 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001018/0.1717, allocations: 121.8 kB / 0.5837 GB, free: 4.688 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 7.057e-05/0.1718, allocations: 29.69 kB / 0.5837 GB, free: 4.652 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.913e-05/0.1719, allocations: 88.05 kB / 0.5838 GB, free: 4.562 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.058e-05/0.172, allocations: 23.66 kB / 0.5839 GB, free: 4.539 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002196/0.1722, allocations: 25.7 kB / 0.5839 GB, free: 4.508 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000112/0.1723, allocations: 322.8 kB / 0.5842 GB, free: 4.184 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004686/0.1728, allocations: 143.9 kB / 0.5843 GB, free: 4.043 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000467/0.1733, allocations: 143.9 kB / 0.5845 GB, free: 3.902 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009545/0.1742, allocations: 293.3 kB / 0.5847 GB, free: 3.613 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.1742, allocations: 7.938 kB / 0.5847 GB, free: 3.605 MB / 494.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.001174/0.1754, allocations: 337.4 kB / 0.5851 GB, free: 3.27 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.648e-05/0.1754, allocations: 8 kB / 0.5851 GB, free: 3.262 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.9e-06/0.1754, allocations: 0 / 0.5851 GB, free: 3.262 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.218e-05/0.1755, allocations: 0 / 0.5851 GB, free: 3.262 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001664/0.1771, allocations: 63.88 kB / 0.5851 GB, free: 3.199 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.254e-06/0.1772, allocations: 7.984 kB / 0.5851 GB, free: 3.191 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001406/0.1786, allocations: 43.95 kB / 0.5852 GB, free: 3.148 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.295e-05/0.1786, allocations: 0 / 0.5852 GB, free: 3.148 MB / 494.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.0001853/0.1788, allocations: 121.8 kB / 0.5853 GB, free: 3.02 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.051e-05/0.1789, allocations: 3.906 kB / 0.5853 GB, free: 3.016 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001327/0.1791, allocations: 20.38 kB / 0.5853 GB, free: 2.996 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.374e-06/0.1791, allocations: 0 / 0.5853 GB, free: 2.996 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.1791, allocations: 0 / 0.5853 GB, free: 2.996 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.1791, allocations: 0 / 0.5853 GB, free: 2.996 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005992/0.1851, allocations: 0.8453 MB / 0.5862 GB, free: 2.09 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.63e-06/0.1851, allocations: 4 kB / 0.5862 GB, free: 2.086 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001193/0.1863, allocations: 55.88 kB / 0.5862 GB, free: 2.031 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.567e-06/0.1863, allocations: 0 / 0.5862 GB, free: 2.031 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.474e-05/0.1864, allocations: 11.92 kB / 0.5862 GB, free: 2.02 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.465e-06/0.1864, allocations: 0 / 0.5862 GB, free: 2.02 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.1864, allocations: 0 / 0.5862 GB, free: 2.02 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009151/0.1873, allocations: 325.1 kB / 0.5865 GB, free: 1.68 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.769e-05/0.1874, allocations: 81.11 kB / 0.5866 GB, free: 1.582 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.473e-05/0.1874, allocations: 3.938 kB / 0.5866 GB, free: 1.578 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001157/0.1886, allocations: 44.02 kB / 0.5867 GB, free: 1.535 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.333e-05/0.1886, allocations: 7.984 kB / 0.5867 GB, free: 1.527 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.615e-05/0.1887, allocations: 8 kB / 0.5867 GB, free: 1.52 MB / 494.1 MB Notification: Performance of sorting global known variables: time 6.105e-05/0.1887, allocations: 99.3 kB / 0.5868 GB, free: 1.422 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1887, allocations: 0 / 0.5868 GB, free: 1.422 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003919/0.1891, allocations: 88 kB / 0.5868 GB, free: 1.336 MB / 494.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.001264/0.1904, allocations: 0.8779 MB / 0.5877 GB, free: 436 kB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0009515/0.1914, allocations: 243.8 kB / 0.5879 GB, free: 192 kB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.028e-06/0.1914, allocations: 0 / 0.5879 GB, free: 192 kB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004031/0.1918, allocations: 95.88 kB / 0.588 GB, free: 96 kB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003084/0.1921, allocations: 10.53 kB / 0.588 GB, free: 88 kB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006636/0.1988, allocations: 2.693 MB / 0.5907 GB, free: 13.3 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002112/0.199, allocations: 0.6853 MB / 0.5913 GB, free: 12.59 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0005457/0.1995, allocations: 55.98 kB / 0.5914 GB, free: 12.54 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004789/0.2, allocations: 19.42 kB / 0.5914 GB, free: 12.52 MB / 0.4981 GB Notification: Performance of SimCode: time 3.51e-07/0.2, allocations: 0 / 0.5914 GB, free: 12.52 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1505/0.3505, allocations: 9.677 MB / 0.6009 GB, free: 2.93 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002637/0.3508, allocations: 201.2 kB / 0.6011 GB, free: 2.672 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.171/2.522, allocations: 4 kB / 0.6011 GB, free: 2.668 MB / 0.4981 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Math_Functions_Examples_QuinticHermite_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Math_Functions_Examples_QuinticHermite.fmu > IDEAS_IDEAS.Utilities.Math.Functions.Examples.QuinticHermite.pipe 2>&1)