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.0008445/0.0008447, allocations: 91.53 kB / 15.36 MB, free: 0.7383 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.005709/0.005709, allocations: 172.6 kB / 16.26 MB, free: 6.676 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.354/1.354, allocations: 223.3 MB / 240.3 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9655/0.9655, allocations: 135.3 MB / 426.7 MB, free: 14.35 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003378/0.0003379, allocations: 8.75 kB / 0.5077 GB, free: 4.625 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1553/0.1556, allocations: 82.31 MB / 0.5881 GB, free: 2.48 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.QuinticHermite): time 0.0007099/0.1564, allocations: 351 kB / 0.5884 GB, free: 2.133 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004236/0.1568, allocations: 192.9 kB / 0.5886 GB, free: 1.945 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.115e-05/0.1569, allocations: 0 / 0.5886 GB, free: 1.945 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.467e-05/0.1569, allocations: 4 kB / 0.5886 GB, free: 1.941 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000149/0.1571, allocations: 19.91 kB / 0.5886 GB, free: 1.922 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001642/0.1572, allocations: 59.84 kB / 0.5887 GB, free: 1.863 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.905e-05/0.1573, allocations: 31.84 kB / 0.5887 GB, free: 1.832 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.195e-05/0.1574, allocations: 7.984 kB / 0.5887 GB, free: 1.824 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.906e-05/0.1574, allocations: 8 kB / 0.5887 GB, free: 1.816 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.93e-05/0.1575, allocations: 27.84 kB / 0.5888 GB, free: 1.789 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.424e-05/0.1575, allocations: 4 kB / 0.5888 GB, free: 1.785 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001617/0.1577, allocations: 107.7 kB / 0.5889 GB, free: 1.68 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.475e-05/0.1577, allocations: 11.98 kB / 0.5889 GB, free: 1.668 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.382e-05/0.1577, allocations: 37.62 kB / 0.5889 GB, free: 1.625 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001716/0.1579, allocations: 111.7 kB / 0.589 GB, free: 1.516 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.1579, allocations: 0 / 0.589 GB, free: 1.516 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.734e-06/0.1579, allocations: 0 / 0.589 GB, free: 1.516 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.697e-06/0.1579, allocations: 0 / 0.589 GB, free: 1.516 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.0004669/0.1584, allocations: 359.7 kB / 0.5894 GB, free: 1.113 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.059e-05/0.1584, allocations: 16.03 kB / 0.5894 GB, free: 1.098 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.747e-05/0.1585, allocations: 38.73 kB / 0.5894 GB, free: 1.051 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.582e-05/0.1585, allocations: 4.844 kB / 0.5894 GB, free: 1.047 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001338/0.1587, allocations: 172.3 kB / 0.5896 GB, free: 0.8398 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.414e-06/0.1587, allocations: 384 / 0.5896 GB, free: 0.8398 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.043e-05/0.1587, allocations: 4.281 kB / 0.5896 GB, free: 0.8359 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001542/0.1589, allocations: 66.22 kB / 0.5897 GB, free: 0.7656 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.042e-05/0.1589, allocations: 3.938 kB / 0.5897 GB, free: 0.7617 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.376e-06/0.1589, allocations: 4 kB / 0.5897 GB, free: 0.7578 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.448e-06/0.1589, allocations: 0 / 0.5897 GB, free: 0.7578 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001532/0.1591, allocations: 43.95 kB / 0.5897 GB, free: 0.7148 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002776/0.1594, allocations: 249 kB / 0.5899 GB, free: 432 kB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002195/0.1596, allocations: 82.41 kB / 0.59 GB, free: 340 kB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.617e-05/0.1597, allocations: 36.92 kB / 0.5901 GB, free: 300 kB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.865e-05/0.1597, allocations: 4 kB / 0.5901 GB, free: 296 kB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.584e-05/0.1597, allocations: 30.56 kB / 0.5901 GB, free: 256 kB / 494.1 MB Notification: Performance of pre-optimization done (n=4): time 1.162e-06/0.1598, allocations: 0 / 0.5901 GB, free: 256 kB / 494.1 MB Notification: Performance of matching and sorting (n=8): time 0.03128/0.191, allocations: 1.753 MB / 0.5918 GB, free: 14.49 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.004e-05/0.1911, allocations: 55.41 kB / 0.5919 GB, free: 14.42 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001229/0.1913, allocations: 125.8 kB / 0.592 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 7.573e-05/0.1913, allocations: 29.7 kB / 0.592 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.058e-05/0.1914, allocations: 84.12 kB / 0.5921 GB, free: 14.17 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 8.328e-05/0.1915, allocations: 27.56 kB / 0.5921 GB, free: 14.14 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.657e-05/0.1916, allocations: 21.7 kB / 0.5921 GB, free: 14.11 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001275/0.1917, allocations: 322.7 kB / 0.5924 GB, free: 13.79 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005485/0.1923, allocations: 163.9 kB / 0.5926 GB, free: 13.63 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005428/0.1928, allocations: 159.9 kB / 0.5927 GB, free: 13.47 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001103/0.194, allocations: 336.7 kB / 0.5931 GB, free: 13.14 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.442e-06/0.194, allocations: 0 / 0.5931 GB, free: 13.14 MB / 0.4981 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.001378/0.1953, allocations: 377.4 kB / 0.5934 GB, free: 12.77 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.328e-05/0.1954, allocations: 8 kB / 0.5934 GB, free: 12.76 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.418e-06/0.1954, allocations: 0 / 0.5934 GB, free: 12.76 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.598e-05/0.1954, allocations: 0 / 0.5934 GB, free: 12.76 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00173/0.1972, allocations: 83.89 kB / 0.5935 GB, free: 12.68 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.496e-06/0.1972, allocations: 0 / 0.5935 GB, free: 12.68 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001587/0.1988, allocations: 55.94 kB / 0.5936 GB, free: 12.62 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.341e-05/0.1988, allocations: 3.984 kB / 0.5936 GB, free: 12.62 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.000217/0.1991, allocations: 125.7 kB / 0.5937 GB, free: 12.48 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.956e-05/0.1992, allocations: 7.906 kB / 0.5937 GB, free: 12.48 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001733/0.1994, allocations: 21.02 kB / 0.5937 GB, free: 12.45 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.204e-06/0.1994, allocations: 4 kB / 0.5937 GB, free: 12.45 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.606e-06/0.1994, allocations: 0 / 0.5937 GB, free: 12.45 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.67e-06/0.1994, allocations: 0 / 0.5937 GB, free: 12.45 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006615/0.206, allocations: 0.904 MB / 0.5946 GB, free: 11.48 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.36e-06/0.206, allocations: 4 kB / 0.5946 GB, free: 11.48 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001301/0.2074, allocations: 75.91 kB / 0.5947 GB, free: 11.4 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.819e-06/0.2074, allocations: 3.938 kB / 0.5947 GB, free: 11.4 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.121e-05/0.2074, allocations: 15.92 kB / 0.5947 GB, free: 11.38 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.975e-06/0.2074, allocations: 3.984 kB / 0.5947 GB, free: 11.38 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.2074, allocations: 0 / 0.5947 GB, free: 11.38 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001054/0.2085, allocations: 365.1 kB / 0.5951 GB, free: 11 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.982e-05/0.2086, allocations: 85 kB / 0.5951 GB, free: 10.9 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.797e-05/0.2086, allocations: 11.94 kB / 0.5951 GB, free: 10.89 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001128/0.2098, allocations: 43.95 kB / 0.5952 GB, free: 10.84 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.803e-05/0.2098, allocations: 7.938 kB / 0.5952 GB, free: 10.84 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.137e-05/0.2098, allocations: 11.97 kB / 0.5952 GB, free: 10.82 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 6.046e-05/0.2099, allocations: 99.27 kB / 0.5953 GB, free: 10.73 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.1e-07/0.2099, allocations: 0 / 0.5953 GB, free: 10.73 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003776/0.2103, allocations: 88 kB / 0.5954 GB, free: 10.64 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.2116, allocations: 0.9209 MB / 0.5963 GB, free: 9.688 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0009626/0.2126, allocations: 287.8 kB / 0.5966 GB, free: 9.406 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.2126, allocations: 0 / 0.5966 GB, free: 9.406 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0004179/0.213, allocations: 124 kB / 0.5967 GB, free: 9.285 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002985/0.2133, allocations: 8.547 kB / 0.5967 GB, free: 9.277 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007247/0.2206, allocations: 2.824 MB / 0.5994 GB, free: 6.367 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003221/0.2209, allocations: 0.6871 MB / 0.6001 GB, free: 5.656 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0005346/0.2215, allocations: 52 kB / 0.6002 GB, free: 5.605 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005064/0.222, allocations: 43.83 kB / 0.6002 GB, free: 5.562 MB / 0.4981 GB Notification: Performance of SimCode: time 8.01e-07/0.222, allocations: 0 / 0.6002 GB, free: 5.562 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.325/1.547, allocations: 9.276 MB / 0.6093 GB, free: 47.58 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002238/1.547, allocations: 199.2 kB / 0.6095 GB, free: 47.33 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.781/4.328, allocations: 5.188 kB / 0.6095 GB, free: 47.33 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)