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.005207/0.005207, allocations: 99.34 kB / 15.73 MB, free: 6.059 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.001315/0.001315, allocations: 195.2 kB / 16.67 MB, free: 5.977 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.425/1.425, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8132/0.8132, allocations: 132.2 MB / 422.7 MB, free: 1.715 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001928/0.001929, allocations: 68.55 kB / 0.5809 GB, free: 1.086 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1601/0.1621, allocations: 80.2 MB / 0.6592 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.QuinticHermite): time 0.001598/0.1637, allocations: 0.6303 MB / 0.6599 GB, free: 13.32 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0004221/0.1641, allocations: 195.5 kB / 0.66 GB, free: 13.12 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.897e-05/0.1642, allocations: 4 kB / 0.6601 GB, free: 13.12 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.197e-05/0.1642, allocations: 0 / 0.6601 GB, free: 13.12 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001483/0.1644, allocations: 7.938 kB / 0.6601 GB, free: 13.11 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001861/0.1646, allocations: 83.73 kB / 0.6601 GB, free: 13.03 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.316e-05/0.1646, allocations: 27.86 kB / 0.6602 GB, free: 13 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.672e-05/0.1647, allocations: 4 kB / 0.6602 GB, free: 13 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.443e-05/0.1647, allocations: 19.91 kB / 0.6602 GB, free: 12.98 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.525e-05/0.1648, allocations: 19.92 kB / 0.6602 GB, free: 12.96 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.336e-05/0.1648, allocations: 0 / 0.6602 GB, free: 12.96 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002016/0.165, allocations: 111.7 kB / 0.6603 GB, free: 12.85 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.671e-05/0.165, allocations: 7.984 kB / 0.6603 GB, free: 12.84 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.952e-05/0.1651, allocations: 19.86 kB / 0.6603 GB, free: 12.82 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001835/0.1653, allocations: 104 kB / 0.6604 GB, free: 12.72 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.217e-06/0.1653, allocations: 0 / 0.6604 GB, free: 12.72 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.673e-06/0.1653, allocations: 0 / 0.6604 GB, free: 12.72 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.288e-06/0.1653, allocations: 0 / 0.6604 GB, free: 12.72 MB / 0.4981 GB 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.0005591/0.1659, allocations: 371.1 kB / 0.6608 GB, free: 12.31 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.595e-05/0.1659, allocations: 8.031 kB / 0.6608 GB, free: 12.3 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.722e-05/0.1659, allocations: 42.69 kB / 0.6608 GB, free: 12.25 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.602e-05/0.166, allocations: 4.938 kB / 0.6608 GB, free: 12.25 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001775/0.1662, allocations: 172.3 kB / 0.661 GB, free: 12.04 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.772e-06/0.1662, allocations: 4.312 kB / 0.661 GB, free: 12.04 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.277e-05/0.1662, allocations: 8.375 kB / 0.661 GB, free: 12.03 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001476/0.1663, allocations: 54.23 kB / 0.6611 GB, free: 11.97 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.319e-05/0.1664, allocations: 3.938 kB / 0.6611 GB, free: 11.96 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.495e-06/0.1664, allocations: 0 / 0.6611 GB, free: 11.96 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.077e-06/0.1664, allocations: 4 kB / 0.6611 GB, free: 11.96 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001365/0.1665, allocations: 39.95 kB / 0.6611 GB, free: 11.92 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002829/0.1668, allocations: 244.9 kB / 0.6614 GB, free: 11.63 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002147/0.1671, allocations: 70.41 kB / 0.6614 GB, free: 11.55 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.733e-05/0.1671, allocations: 28.94 kB / 0.6614 GB, free: 11.52 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.636e-05/0.1672, allocations: 3.984 kB / 0.6615 GB, free: 11.52 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.925e-05/0.1672, allocations: 34.56 kB / 0.6615 GB, free: 11.48 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=4): time 2.845e-06/0.1672, allocations: 0 / 0.6615 GB, free: 11.48 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8): time 0.02864/0.1959, allocations: 1.617 MB / 0.6631 GB, free: 9.852 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.102e-05/0.1959, allocations: 51.41 kB / 0.6631 GB, free: 9.789 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001117/0.1961, allocations: 113.8 kB / 0.6632 GB, free: 9.668 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 6.76e-05/0.1961, allocations: 29.7 kB / 0.6632 GB, free: 9.633 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.585e-05/0.1962, allocations: 92.08 kB / 0.6633 GB, free: 9.539 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 6.846e-05/0.1963, allocations: 23.75 kB / 0.6634 GB, free: 9.516 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002099/0.1965, allocations: 29.7 kB / 0.6634 GB, free: 9.48 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001663/0.1967, allocations: 326.7 kB / 0.6637 GB, free: 9.152 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005115/0.1972, allocations: 139.9 kB / 0.6638 GB, free: 9.016 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004936/0.1977, allocations: 143.9 kB / 0.664 GB, free: 8.875 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001031/0.1987, allocations: 301.3 kB / 0.6643 GB, free: 8.578 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.71e-07/0.1987, allocations: 0 / 0.6643 GB, free: 8.578 MB / 0.4981 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.001225/0.2, allocations: 333.6 kB / 0.6646 GB, free: 8.246 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.678e-05/0.2, allocations: 8 kB / 0.6646 GB, free: 8.238 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.2, allocations: 0 / 0.6646 GB, free: 8.238 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.893e-05/0.2, allocations: 3.984 kB / 0.6646 GB, free: 8.234 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00162/0.2016, allocations: 63.94 kB / 0.6646 GB, free: 8.172 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.09e-06/0.2017, allocations: 0 / 0.6646 GB, free: 8.172 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001383/0.203, allocations: 51.94 kB / 0.6647 GB, free: 8.121 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.849e-05/0.2031, allocations: 0 / 0.6647 GB, free: 8.121 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.0001764/0.2033, allocations: 121.7 kB / 0.6648 GB, free: 7.992 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.126e-05/0.2034, allocations: 7.984 kB / 0.6648 GB, free: 7.984 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00012/0.2035, allocations: 16.38 kB / 0.6648 GB, free: 7.961 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.2035, allocations: 0 / 0.6648 GB, free: 7.961 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.2035, allocations: 8 kB / 0.6648 GB, free: 7.953 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.2035, allocations: 0 / 0.6648 GB, free: 7.953 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005913/0.2095, allocations: 0.8414 MB / 0.6657 GB, free: 7.051 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.052e-06/0.2095, allocations: 4 kB / 0.6657 GB, free: 7.047 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001168/0.2106, allocations: 55.88 kB / 0.6657 GB, free: 6.992 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.017e-06/0.2107, allocations: 0 / 0.6657 GB, free: 6.992 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.276e-05/0.2107, allocations: 15.98 kB / 0.6657 GB, free: 6.977 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.735e-06/0.2107, allocations: 0 / 0.6657 GB, free: 6.977 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.427e-06/0.2107, allocations: 0 / 0.6657 GB, free: 6.977 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009793/0.2117, allocations: 327.4 kB / 0.6661 GB, free: 6.637 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.999e-05/0.2118, allocations: 81.11 kB / 0.6661 GB, free: 6.539 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.844e-05/0.2119, allocations: 3.938 kB / 0.6661 GB, free: 6.535 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001113/0.213, allocations: 47.95 kB / 0.6662 GB, free: 6.488 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.255e-05/0.213, allocations: 11.92 kB / 0.6662 GB, free: 6.477 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.112e-05/0.213, allocations: 0 / 0.6662 GB, free: 6.477 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 7.523e-05/0.2131, allocations: 99.3 kB / 0.6663 GB, free: 6.379 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2131, allocations: 0 / 0.6663 GB, free: 6.379 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0004908/0.2136, allocations: 95.88 kB / 0.6664 GB, free: 6.285 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.001428/0.2151, allocations: 0.874 MB / 0.6672 GB, free: 5.379 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001005/0.2161, allocations: 243.9 kB / 0.6675 GB, free: 5.141 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.2161, allocations: 0 / 0.6675 GB, free: 5.141 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0004201/0.2165, allocations: 95.88 kB / 0.6676 GB, free: 5.047 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002989/0.2168, allocations: 4 kB / 0.6676 GB, free: 5.043 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006863/0.2237, allocations: 2.682 MB / 0.6702 GB, free: 2.273 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002952/0.224, allocations: 0.6884 MB / 0.6708 GB, free: 1.559 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0004218/0.2245, allocations: 52 kB / 0.6709 GB, free: 1.508 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004839/0.2249, allocations: 23.42 kB / 0.6709 GB, free: 1.484 MB / 0.4981 GB Notification: Performance of SimCode: time 6.51e-07/0.2249, allocations: 0 / 0.6709 GB, free: 1.484 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03655/0.2615, allocations: 9.785 MB / 0.6805 GB, free: 7.762 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.159/8.421, allocations: 0.6562 kB / 0.6805 GB, free: 7.762 MB / 0.5137 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 & python3 -m fmpy simulate --output-file IDEAS_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_IDEAS_Utilities_Math_Functions_Examples_QuinticHermite.fmu > IDEAS_IDEAS.Utilities.Math.Functions.Examples.QuinticHermite.pipe 2>&1)