Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Functions.Examples.CubicHermite.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.CubicHermite,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Functions_Examples_CubicHermite",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.CubicHermite,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Functions_Examples_CubicHermite",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.00819/0.00819, allocations: 99.67 kB / 15.73 MB, free: 6.039 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.002276/0.002276, allocations: 202.7 kB / 16.68 MB, free: 5.965 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.373/1.373, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7573/0.7573, allocations: 132.2 MB / 422.7 MB, free: 1.703 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001161/0.001161, allocations: 64.94 kB / 0.5809 GB, free: 0.9648 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1673/0.1685, allocations: 80.2 MB / 0.6592 GB, free: 13.87 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.CubicHermite): time 0.001942/0.1705, allocations: 0.6032 MB / 0.6598 GB, free: 13.27 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.00217/0.1726, allocations: 1.383 MB / 0.6612 GB, free: 11.87 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.34e-05/0.1727, allocations: 7.938 kB / 0.6612 GB, free: 11.86 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 5.742e-05/0.1728, allocations: 3.938 kB / 0.6612 GB, free: 11.86 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.643e-05/0.1729, allocations: 0 / 0.6612 GB, free: 11.86 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000751/0.1736, allocations: 186.7 kB / 0.6614 GB, free: 11.68 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001233/0.1738, allocations: 55.84 kB / 0.6614 GB, free: 11.62 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.286e-05/0.1738, allocations: 7.984 kB / 0.6614 GB, free: 11.61 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.066e-05/0.1738, allocations: 19.97 kB / 0.6615 GB, free: 11.59 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.857e-05/0.1739, allocations: 19.92 kB / 0.6615 GB, free: 11.57 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.61e-05/0.1739, allocations: 4 kB / 0.6615 GB, free: 11.57 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003562/0.1743, allocations: 199.7 kB / 0.6617 GB, free: 11.38 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 5.345e-05/0.1744, allocations: 15.91 kB / 0.6617 GB, free: 11.36 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 4.764e-05/0.1744, allocations: 27.88 kB / 0.6617 GB, free: 11.33 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003087/0.1747, allocations: 187.7 kB / 0.6619 GB, free: 11.15 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.1748, allocations: 0 / 0.6619 GB, free: 11.15 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.543e-06/0.1748, allocations: 0 / 0.6619 GB, free: 11.15 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.683e-06/0.1748, allocations: 4 kB / 0.6619 GB, free: 11.14 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005163/0.1753, allocations: 438.4 kB / 0.6623 GB, free: 10.66 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.2e-05/0.1754, allocations: 12.03 kB / 0.6623 GB, free: 10.64 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.522e-05/0.1754, allocations: 34.73 kB / 0.6624 GB, free: 10.6 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.626e-05/0.1755, allocations: 8.891 kB / 0.6624 GB, free: 10.59 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001547/0.1756, allocations: 173.7 kB / 0.6625 GB, free: 10.39 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.618e-05/0.1757, allocations: 8.375 kB / 0.6625 GB, free: 10.38 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.393e-05/0.1757, allocations: 4.375 kB / 0.6625 GB, free: 10.38 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001903/0.1759, allocations: 97.77 kB / 0.6626 GB, free: 10.27 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.127e-06/0.1759, allocations: 4 kB / 0.6626 GB, free: 10.27 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.353e-05/0.1759, allocations: 0 / 0.6626 GB, free: 10.27 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.981e-06/0.1759, allocations: 3.938 kB / 0.6626 GB, free: 10.27 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.118e-05/0.176, allocations: 59.95 kB / 0.6627 GB, free: 10.21 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001887/0.1762, allocations: 181.6 kB / 0.6629 GB, free: 9.98 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001266/0.1763, allocations: 86.47 kB / 0.663 GB, free: 9.887 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.929e-05/0.1764, allocations: 68.89 kB / 0.663 GB, free: 9.816 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 9.448e-06/0.1765, allocations: 0 / 0.663 GB, free: 9.816 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.052e-05/0.1765, allocations: 38.5 kB / 0.6631 GB, free: 9.77 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=4): time 1.002e-06/0.1765, allocations: 0 / 0.6631 GB, free: 9.77 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4): time 0.0004283/0.1769, allocations: 251.2 kB / 0.6633 GB, free: 9.512 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.187e-05/0.177, allocations: 85.05 kB / 0.6634 GB, free: 9.41 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001316/0.1771, allocations: 147.9 kB / 0.6635 GB, free: 9.258 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.595e-05/0.1772, allocations: 25.7 kB / 0.6635 GB, free: 9.227 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.422e-05/0.1772, allocations: 96.12 kB / 0.6636 GB, free: 9.129 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.578e-05/0.1773, allocations: 11.91 kB / 0.6636 GB, free: 9.117 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.399e-05/0.1773, allocations: 29.7 kB / 0.6637 GB, free: 9.082 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001287/0.1775, allocations: 318.8 kB / 0.664 GB, free: 8.762 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001262/0.1776, allocations: 103.9 kB / 0.6641 GB, free: 8.66 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001177/0.1777, allocations: 99.94 kB / 0.6642 GB, free: 8.562 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000297/0.178, allocations: 281.9 kB / 0.6644 GB, free: 8.266 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.178, allocations: 0 / 0.6644 GB, free: 8.266 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003506/0.1784, allocations: 327.5 kB / 0.6648 GB, free: 7.93 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 7.047e-05/0.1785, allocations: 75.38 kB / 0.6648 GB, free: 7.844 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.431e-06/0.1785, allocations: 0 / 0.6648 GB, free: 7.844 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.532e-05/0.1785, allocations: 0 / 0.6648 GB, free: 7.844 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.12e-07/0.1785, allocations: 0 / 0.6648 GB, free: 7.844 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.768e-06/0.1785, allocations: 4 kB / 0.6648 GB, free: 7.84 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001733/0.1787, allocations: 11.89 kB / 0.6648 GB, free: 7.828 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.472e-05/0.1787, allocations: 4 kB / 0.6648 GB, free: 7.824 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: 1 (i) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 2 * 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.0001216/0.1789, allocations: 155.6 kB / 0.665 GB, free: 7.656 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.257e-05/0.1789, allocations: 15.88 kB / 0.665 GB, free: 7.641 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.93e-05/0.1789, allocations: 4.25 kB / 0.665 GB, free: 7.629 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.332e-06/0.1789, allocations: 0 / 0.665 GB, free: 7.629 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.1789, allocations: 0 / 0.665 GB, free: 7.629 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.556e-06/0.1789, allocations: 0 / 0.665 GB, free: 7.629 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001451/0.1791, allocations: 173.6 kB / 0.6652 GB, free: 7.41 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.208e-06/0.1791, allocations: 3.938 kB / 0.6652 GB, free: 7.406 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.71e-07/0.1791, allocations: 3.938 kB / 0.6652 GB, free: 7.402 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.328e-06/0.1791, allocations: 4 kB / 0.6652 GB, free: 7.398 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.066e-05/0.1791, allocations: 4 kB / 0.6652 GB, free: 7.395 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.1791, allocations: 0 / 0.6652 GB, free: 7.395 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.1791, allocations: 0 / 0.6652 GB, free: 7.395 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002878/0.1794, allocations: 234.8 kB / 0.6654 GB, free: 7.141 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.411e-05/0.1795, allocations: 85 kB / 0.6655 GB, free: 7.039 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.843e-05/0.1795, allocations: 4 kB / 0.6655 GB, free: 7.035 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.466e-05/0.1796, allocations: 8 kB / 0.6655 GB, free: 7.027 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.219e-05/0.1796, allocations: 16.02 kB / 0.6655 GB, free: 7.012 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.052e-06/0.1796, allocations: 0 / 0.6655 GB, free: 7.012 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 7.797e-05/0.1797, allocations: 109.8 kB / 0.6656 GB, free: 6.906 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1797, allocations: 0 / 0.6656 GB, free: 6.906 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000312/0.1801, allocations: 71.86 kB / 0.6657 GB, free: 6.836 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (i) * Number of discrete states: 1 (i) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0007662/0.1808, allocations: 0.8092 MB / 0.6665 GB, free: 5.992 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004268/0.1813, allocations: 374.6 kB / 0.6668 GB, free: 5.602 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.1813, allocations: 4 kB / 0.6668 GB, free: 5.598 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.000135/0.1814, allocations: 127.4 kB / 0.667 GB, free: 5.461 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001548/0.1816, allocations: 4 kB / 0.667 GB, free: 5.457 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00225/0.1838, allocations: 2.143 MB / 0.6691 GB, free: 3.215 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003097/0.1842, allocations: 0.6924 MB / 0.6697 GB, free: 2.496 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.062e-05/0.1842, allocations: 3.984 kB / 0.6697 GB, free: 2.492 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.764e-05/0.1842, allocations: 15.44 kB / 0.6698 GB, free: 2.477 MB / 0.4981 GB Notification: Performance of SimCode: time 3.91e-07/0.1842, allocations: 0 / 0.6698 GB, free: 2.477 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01961/0.2038, allocations: 3.283 MB / 0.673 GB, free: 15.3 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.46/7.664, allocations: 5.578 kB / 0.673 GB, free: 15.3 MB / 0.5137 GB (rm -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.CubicHermite.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Functions.Examples.CubicHermite.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Functions.Examples.CubicHermite.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Functions.Examples.CubicHermite.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Utilities.Math.Functions.Examples.CubicHermite_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_IDEAS_Utilities_Math_Functions_Examples_CubicHermite.fmu > IDEAS_IDEAS.Utilities.Math.Functions.Examples.CubicHermite.pipe 2>&1)