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.005891/0.005891, allocations: 99.7 kB / 15.73 MB, free: 6.004 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.001506/0.001506, allocations: 192.5 kB / 16.67 MB, free: 5.922 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.443/1.443, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8413/0.8413, allocations: 135.1 MB / 425.7 MB, free: 4.07 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001216/0.001216, allocations: 65.27 kB / 0.5852 GB, free: 21.8 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1568/0.1581, allocations: 80.92 MB / 0.6642 GB, free: 6.242 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.QuinticHermite): time 0.001933/0.1601, allocations: 0.6381 MB / 0.6648 GB, free: 5.605 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0005036/0.1606, allocations: 194.1 kB / 0.665 GB, free: 5.418 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.719e-05/0.1606, allocations: 0 / 0.665 GB, free: 5.418 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.073e-05/0.1607, allocations: 7.875 kB / 0.665 GB, free: 5.41 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001691/0.1609, allocations: 7.922 kB / 0.665 GB, free: 5.402 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002444/0.1611, allocations: 83.75 kB / 0.6651 GB, free: 5.32 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.033e-05/0.1612, allocations: 23.92 kB / 0.6651 GB, free: 5.297 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.271e-05/0.1612, allocations: 7.984 kB / 0.6651 GB, free: 5.289 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.355e-05/0.1613, allocations: 15.92 kB / 0.6651 GB, free: 5.273 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.059e-05/0.1614, allocations: 23.91 kB / 0.6652 GB, free: 5.25 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.134e-05/0.1614, allocations: 4 kB / 0.6652 GB, free: 5.246 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002309/0.1616, allocations: 103.7 kB / 0.6653 GB, free: 5.145 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.952e-05/0.1617, allocations: 11.98 kB / 0.6653 GB, free: 5.133 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.818e-05/0.1617, allocations: 19.8 kB / 0.6653 GB, free: 5.113 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002002/0.1619, allocations: 96.05 kB / 0.6654 GB, free: 5.02 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.392e-06/0.1619, allocations: 7.984 kB / 0.6654 GB, free: 5.012 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.693e-06/0.1619, allocations: 0 / 0.6654 GB, free: 5.012 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.41e-06/0.1619, allocations: 0 / 0.6654 GB, free: 5.012 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.0005597/0.1625, allocations: 367.2 kB / 0.6657 GB, free: 4.602 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.1625, allocations: 9.109 kB / 0.6658 GB, free: 4.594 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.006e-05/0.1626, allocations: 38.75 kB / 0.6658 GB, free: 4.547 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.403e-05/0.1626, allocations: 8.828 kB / 0.6658 GB, free: 4.539 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001567/0.1628, allocations: 168.3 kB / 0.666 GB, free: 4.336 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.188e-05/0.1628, allocations: 12.36 kB / 0.666 GB, free: 4.324 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.564e-05/0.1628, allocations: 4.375 kB / 0.666 GB, free: 4.32 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001513/0.163, allocations: 54.23 kB / 0.666 GB, free: 4.262 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.449e-05/0.163, allocations: 3.938 kB / 0.666 GB, free: 4.258 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.033e-05/0.163, allocations: 0 / 0.666 GB, free: 4.258 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.163, allocations: 0 / 0.666 GB, free: 4.258 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001305/0.1632, allocations: 31.97 kB / 0.6661 GB, free: 4.227 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003162/0.1635, allocations: 260.9 kB / 0.6663 GB, free: 3.922 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002034/0.1637, allocations: 66.47 kB / 0.6664 GB, free: 3.848 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.373e-05/0.1638, allocations: 24.94 kB / 0.6664 GB, free: 3.82 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.798e-05/0.1638, allocations: 0 / 0.6664 GB, free: 3.82 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.211e-05/0.1638, allocations: 38.56 kB / 0.6664 GB, free: 3.773 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=4): time 3.176e-06/0.1639, allocations: 0 / 0.6664 GB, free: 3.773 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8): time 0.02815/0.192, allocations: 1.616 MB / 0.668 GB, free: 2.148 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.335e-05/0.1921, allocations: 55.41 kB / 0.6681 GB, free: 2.082 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001285/0.1922, allocations: 121.7 kB / 0.6682 GB, free: 1.953 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 8.454e-05/0.1923, allocations: 29.7 kB / 0.6682 GB, free: 1.918 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 7.722e-05/0.1924, allocations: 92.09 kB / 0.6683 GB, free: 1.824 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 8.626e-05/0.1925, allocations: 23.73 kB / 0.6683 GB, free: 1.801 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002217/0.1928, allocations: 29.7 kB / 0.6684 GB, free: 1.766 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001275/0.1929, allocations: 318.8 kB / 0.6687 GB, free: 1.445 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005008/0.1934, allocations: 139.9 kB / 0.6688 GB, free: 1.309 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004877/0.1939, allocations: 143.9 kB / 0.6689 GB, free: 1.168 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001011/0.1949, allocations: 292.8 kB / 0.6692 GB, free: 0.8789 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.1949, allocations: 0 / 0.6692 GB, free: 0.8789 MB / 0.4981 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.001215/0.1961, allocations: 337.5 kB / 0.6695 GB, free: 0.543 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.248e-05/0.1962, allocations: 4 kB / 0.6695 GB, free: 0.5391 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.424e-06/0.1962, allocations: 0 / 0.6695 GB, free: 0.5391 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.929e-05/0.1962, allocations: 0 / 0.6695 GB, free: 0.5391 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001642/0.1979, allocations: 67.86 kB / 0.6696 GB, free: 484 kB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.412e-06/0.1979, allocations: 0 / 0.6696 GB, free: 484 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001393/0.1993, allocations: 51.95 kB / 0.6696 GB, free: 432 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.96e-05/0.1993, allocations: 7.984 kB / 0.6697 GB, free: 424 kB / 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.0001856/0.1995, allocations: 114.4 kB / 0.6698 GB, free: 300 kB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.842e-05/0.1996, allocations: 7.953 kB / 0.6698 GB, free: 292 kB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001403/0.1998, allocations: 16.38 kB / 0.6698 GB, free: 276 kB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.839e-06/0.1998, allocations: 4 kB / 0.6698 GB, free: 272 kB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/0.1998, allocations: 432 / 0.6698 GB, free: 272 kB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.1998, allocations: 0 / 0.6698 GB, free: 272 kB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006036/0.2059, allocations: 0.8528 MB / 0.6706 GB, free: 15.35 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.813e-06/0.2059, allocations: 3.938 kB / 0.6706 GB, free: 15.34 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001176/0.2071, allocations: 59.94 kB / 0.6707 GB, free: 15.29 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.865e-06/0.2071, allocations: 0 / 0.6707 GB, free: 15.29 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.171e-05/0.2072, allocations: 11.92 kB / 0.6707 GB, free: 15.27 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.609e-06/0.2072, allocations: 0 / 0.6707 GB, free: 15.27 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.84e-06/0.2072, allocations: 0 / 0.6707 GB, free: 15.27 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001016/0.2082, allocations: 329 kB / 0.671 GB, free: 14.93 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 7.129e-05/0.2083, allocations: 81.11 kB / 0.6711 GB, free: 14.83 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.051e-05/0.2084, allocations: 7.922 kB / 0.6711 GB, free: 14.82 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001065/0.2095, allocations: 48.02 kB / 0.6711 GB, free: 14.78 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.615e-05/0.2095, allocations: 4 kB / 0.6711 GB, free: 14.77 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.196e-05/0.2095, allocations: 11.98 kB / 0.6712 GB, free: 14.76 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 6.665e-05/0.2096, allocations: 87.28 kB / 0.6712 GB, free: 14.68 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.51e-07/0.2096, allocations: 0 / 0.6712 GB, free: 14.68 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0004539/0.2101, allocations: 103.9 kB / 0.6713 GB, free: 14.57 MB / 0.5137 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.001517/0.2116, allocations: 0.8675 MB / 0.6722 GB, free: 13.68 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001096/0.2127, allocations: 251.8 kB / 0.6724 GB, free: 13.43 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.017e-06/0.2127, allocations: 0 / 0.6724 GB, free: 13.43 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0004242/0.2132, allocations: 91.95 kB / 0.6725 GB, free: 13.34 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002992/0.2135, allocations: 1.719 kB / 0.6725 GB, free: 13.34 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006858/0.2203, allocations: 2.688 MB / 0.6751 GB, free: 10.56 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000249/0.2206, allocations: 0.6889 MB / 0.6758 GB, free: 9.848 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0004516/0.2211, allocations: 51.98 kB / 0.6759 GB, free: 9.797 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000481/0.2216, allocations: 19.42 kB / 0.6759 GB, free: 9.781 MB / 0.5137 GB Notification: Performance of SimCode: time 5.81e-07/0.2216, allocations: 4 kB / 0.6759 GB, free: 9.777 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02774/0.2493, allocations: 9.791 MB / 0.6854 GB, free: 28 kB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.988/8.238, allocations: 8.531 kB / 0.6855 GB, free: 20 kB / 0.5137 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 & python3 -m fmpy simulate --output-file IDEAS_dev_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_dev_IDEAS_Utilities_Math_Functions_Examples_QuinticHermite.fmu > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.QuinticHermite.pipe 2>&1)