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.001061/0.001061, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.00105/0.00105, allocations: 196.2 kB / 16.14 MB, free: 6.688 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.334/1.334, allocations: 222.9 MB / 239.8 MB, free: 4.539 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9288/0.9288, allocations: 135.1 MB / 425.1 MB, free: 11.97 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001171/0.001171, allocations: 69.33 kB / 0.5048 GB, free: 5.645 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1586/0.1598, allocations: 80.93 MB / 0.5838 GB, free: 4.887 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.QuinticHermite): time 0.001808/0.1616, allocations: 0.676 MB / 0.5845 GB, free: 4.203 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004602/0.1621, allocations: 200.9 kB / 0.5847 GB, free: 4.008 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.309e-05/0.1622, allocations: 4 kB / 0.5847 GB, free: 4.004 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.486e-05/0.1622, allocations: 0 / 0.5847 GB, free: 4.004 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001613/0.1624, allocations: 15.97 kB / 0.5847 GB, free: 3.988 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001914/0.1626, allocations: 59.84 kB / 0.5848 GB, free: 3.93 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.541e-05/0.1626, allocations: 27.86 kB / 0.5848 GB, free: 3.902 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.773e-05/0.1627, allocations: 7.984 kB / 0.5848 GB, free: 3.895 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.203e-05/0.1627, allocations: 15.92 kB / 0.5848 GB, free: 3.879 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.571e-05/0.1628, allocations: 19.92 kB / 0.5848 GB, free: 3.859 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.301e-05/0.1628, allocations: 0 / 0.5848 GB, free: 3.859 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001636/0.163, allocations: 111.7 kB / 0.5849 GB, free: 3.75 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.702e-05/0.163, allocations: 11.97 kB / 0.5849 GB, free: 3.738 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.739e-05/0.1631, allocations: 15.88 kB / 0.585 GB, free: 3.723 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001769/0.1632, allocations: 103.8 kB / 0.5851 GB, free: 3.621 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.432e-06/0.1633, allocations: 4 kB / 0.5851 GB, free: 3.617 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.1633, allocations: 0 / 0.5851 GB, free: 3.617 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.008e-06/0.1633, allocations: 0 / 0.5851 GB, free: 3.617 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.0005318/0.1638, allocations: 371.6 kB / 0.5854 GB, free: 3.203 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.897e-05/0.1639, allocations: 8.031 kB / 0.5854 GB, free: 3.195 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.6e-05/0.1639, allocations: 38.73 kB / 0.5855 GB, free: 3.148 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.952e-05/0.1639, allocations: 4.938 kB / 0.5855 GB, free: 3.145 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001437/0.1641, allocations: 168.3 kB / 0.5856 GB, free: 2.941 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.074e-05/0.1641, allocations: 4.375 kB / 0.5856 GB, free: 2.938 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.023e-05/0.1641, allocations: 4.375 kB / 0.5856 GB, free: 2.934 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001481/0.1643, allocations: 58.22 kB / 0.5857 GB, free: 2.871 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.086e-05/0.1643, allocations: 7.875 kB / 0.5857 GB, free: 2.863 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.258e-06/0.1643, allocations: 0 / 0.5857 GB, free: 2.863 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.616e-06/0.1643, allocations: 4 kB / 0.5857 GB, free: 2.859 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001243/0.1645, allocations: 35.97 kB / 0.5857 GB, free: 2.824 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002704/0.1647, allocations: 244.9 kB / 0.586 GB, free: 2.535 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002045/0.1649, allocations: 74.44 kB / 0.586 GB, free: 2.453 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.862e-05/0.165, allocations: 28.94 kB / 0.5861 GB, free: 2.422 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.611e-05/0.165, allocations: 0 / 0.5861 GB, free: 2.422 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.409e-05/0.1651, allocations: 38.5 kB / 0.5861 GB, free: 2.375 MB / 494.1 MB Notification: Performance of pre-optimization done (n=4): time 2.816e-06/0.1651, allocations: 0 / 0.5861 GB, free: 2.375 MB / 494.1 MB Notification: Performance of matching and sorting (n=8): time 0.02788/0.193, allocations: 1.62 MB / 0.5877 GB, free: 0.7461 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.828e-05/0.193, allocations: 55.39 kB / 0.5877 GB, free: 0.6797 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001096/0.1932, allocations: 117.8 kB / 0.5879 GB, free: 0.5547 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 6.43e-05/0.1932, allocations: 25.7 kB / 0.5879 GB, free: 0.5234 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.738e-05/0.1933, allocations: 84.14 kB / 0.588 GB, free: 448 kB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.191e-05/0.1934, allocations: 31.55 kB / 0.588 GB, free: 416 kB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002072/0.1936, allocations: 21.72 kB / 0.588 GB, free: 388 kB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001041/0.1937, allocations: 322.8 kB / 0.5883 GB, free: 56 kB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005162/0.1942, allocations: 147.9 kB / 0.5885 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004983/0.1947, allocations: 135.9 kB / 0.5886 GB, free: 15.78 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000996/0.1957, allocations: 304.7 kB / 0.5889 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.233e-06/0.1958, allocations: 0.5625 kB / 0.5889 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.001202/0.197, allocations: 333.4 kB / 0.5892 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.729e-05/0.197, allocations: 8 kB / 0.5892 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.71e-06/0.197, allocations: 0 / 0.5892 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.203e-05/0.197, allocations: 0 / 0.5892 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001584/0.1986, allocations: 71.92 kB / 0.5893 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.873e-06/0.1986, allocations: 80 / 0.5893 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001313/0.1999, allocations: 43.95 kB / 0.5893 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.186e-05/0.2, allocations: 7.969 kB / 0.5893 GB, free: 15.02 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.0001747/0.2002, allocations: 117.8 kB / 0.5894 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.858e-05/0.2003, allocations: 4 kB / 0.5894 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001323/0.2004, allocations: 16.38 kB / 0.5895 GB, free: 14.87 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.2004, allocations: 0 / 0.5895 GB, free: 14.87 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.2004, allocations: 4 kB / 0.5895 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-06/0.2004, allocations: 4 kB / 0.5895 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005355/0.2058, allocations: 0.8415 MB / 0.5903 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.359e-06/0.2058, allocations: 4 kB / 0.5903 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001038/0.2069, allocations: 51.94 kB / 0.5903 GB, free: 13.9 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.977e-06/0.2069, allocations: 0 / 0.5903 GB, free: 13.9 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.46e-05/0.2069, allocations: 16 kB / 0.5904 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.963e-06/0.2069, allocations: 0 / 0.5904 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.837e-06/0.207, allocations: 0 / 0.5904 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009553/0.2079, allocations: 325 kB / 0.5907 GB, free: 13.54 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.254e-05/0.208, allocations: 81.11 kB / 0.5907 GB, free: 13.45 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001021/0.2081, allocations: 7.938 kB / 0.5907 GB, free: 13.44 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009707/0.2091, allocations: 47.94 kB / 0.5908 GB, free: 13.39 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.296e-05/0.2091, allocations: 0 / 0.5908 GB, free: 13.39 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.279e-05/0.2091, allocations: 4 kB / 0.5908 GB, free: 13.39 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.926e-05/0.2092, allocations: 99.27 kB / 0.5909 GB, free: 13.29 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.2092, allocations: 0 / 0.5909 GB, free: 13.29 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0004614/0.2097, allocations: 91.98 kB / 0.591 GB, free: 13.2 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.001313/0.211, allocations: 0.8705 MB / 0.5918 GB, free: 12.3 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001016/0.212, allocations: 255.7 kB / 0.5921 GB, free: 12.05 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.212, allocations: 0 / 0.5921 GB, free: 12.05 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005063/0.2125, allocations: 91.89 kB / 0.5922 GB, free: 11.96 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000279/0.2128, allocations: 8 kB / 0.5922 GB, free: 11.95 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006413/0.2192, allocations: 2.677 MB / 0.5948 GB, free: 9.184 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003411/0.2196, allocations: 0.6926 MB / 0.5955 GB, free: 8.465 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0005158/0.2201, allocations: 51.98 kB / 0.5955 GB, free: 8.414 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004825/0.2206, allocations: 23.42 kB / 0.5955 GB, free: 8.391 MB / 0.4981 GB Notification: Performance of SimCode: time 3.1e-07/0.2206, allocations: 0 / 0.5955 GB, free: 8.391 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2245/0.4451, allocations: 9.192 MB / 0.6045 GB, free: 51.64 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001234/0.4452, allocations: 204.5 kB / 0.6047 GB, free: 51.39 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.039/2.484, allocations: 3.859 kB / 0.6047 GB, free: 51.39 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/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)