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.001578/0.001578, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001226/0.001226, allocations: 195.3 kB / 16.53 MB, free: 6.664 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.376/1.376, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7609/0.7609, allocations: 132.2 MB / 422.6 MB, free: 1.84 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001345/0.001346, allocations: 65 kB / 0.5019 GB, free: 8.699 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1442/0.1456, allocations: 80.2 MB / 0.5802 GB, free: 8.723 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.CubicHermite): time 0.001748/0.1473, allocations: 0.6129 MB / 0.5808 GB, free: 8.102 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001777/0.1491, allocations: 1.378 MB / 0.5821 GB, free: 6.707 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.313e-05/0.1492, allocations: 0 / 0.5821 GB, free: 6.707 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 5.591e-05/0.1493, allocations: 8 kB / 0.5822 GB, free: 6.699 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.79e-05/0.1493, allocations: 7.938 kB / 0.5822 GB, free: 6.691 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006656/0.15, allocations: 178.3 kB / 0.5823 GB, free: 6.52 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 9.813e-05/0.1501, allocations: 47.95 kB / 0.5824 GB, free: 6.473 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.005e-05/0.1502, allocations: 0 / 0.5824 GB, free: 6.473 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.595e-05/0.1502, allocations: 23.92 kB / 0.5824 GB, free: 6.449 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.476e-05/0.1503, allocations: 31.89 kB / 0.5824 GB, free: 6.418 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.686e-05/0.1503, allocations: 4 kB / 0.5824 GB, free: 6.414 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003222/0.1506, allocations: 191.7 kB / 0.5826 GB, free: 6.227 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.862e-05/0.1507, allocations: 8 kB / 0.5826 GB, free: 6.219 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.388e-05/0.1507, allocations: 31.8 kB / 0.5827 GB, free: 6.188 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000268/0.151, allocations: 191.8 kB / 0.5828 GB, free: 6 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.151, allocations: 0 / 0.5828 GB, free: 6 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.151, allocations: 0 / 0.5828 GB, free: 6 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.807e-06/0.151, allocations: 0 / 0.5828 GB, free: 6 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004186/0.1514, allocations: 446.6 kB / 0.5833 GB, free: 5.504 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.5e-05/0.1515, allocations: 12.03 kB / 0.5833 GB, free: 5.492 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.848e-05/0.1515, allocations: 30.75 kB / 0.5833 GB, free: 5.453 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.091e-05/0.1516, allocations: 4.938 kB / 0.5833 GB, free: 5.449 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001129/0.1517, allocations: 180.2 kB / 0.5835 GB, free: 5.234 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.452e-05/0.1517, allocations: 8.375 kB / 0.5835 GB, free: 5.227 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.251e-05/0.1517, allocations: 384 / 0.5835 GB, free: 5.227 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001682/0.1519, allocations: 101.7 kB / 0.5836 GB, free: 5.121 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.853e-06/0.1519, allocations: 0 / 0.5836 GB, free: 5.121 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.104e-05/0.1519, allocations: 4 kB / 0.5836 GB, free: 5.117 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.893e-06/0.1519, allocations: 0 / 0.5836 GB, free: 5.117 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.513e-05/0.152, allocations: 63.95 kB / 0.5836 GB, free: 5.055 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001439/0.1522, allocations: 177.6 kB / 0.5838 GB, free: 4.832 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001063/0.1523, allocations: 74.53 kB / 0.5839 GB, free: 4.75 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.639e-05/0.1524, allocations: 72.89 kB / 0.584 GB, free: 4.676 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.662e-06/0.1524, allocations: 0 / 0.584 GB, free: 4.676 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.382e-05/0.1524, allocations: 34.5 kB / 0.584 GB, free: 4.633 MB / 494.1 MB Notification: Performance of pre-optimization done (n=4): time 1.282e-06/0.1524, allocations: 7.938 kB / 0.584 GB, free: 4.625 MB / 494.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003671/0.1528, allocations: 255.3 kB / 0.5842 GB, free: 4.363 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.024e-05/0.1529, allocations: 81.09 kB / 0.5843 GB, free: 4.266 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001145/0.153, allocations: 144.3 kB / 0.5845 GB, free: 4.117 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.72e-05/0.153, allocations: 33.64 kB / 0.5845 GB, free: 4.078 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.317e-05/0.153, allocations: 92.12 kB / 0.5846 GB, free: 3.984 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.879e-05/0.1531, allocations: 11.81 kB / 0.5846 GB, free: 3.973 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.78e-05/0.1531, allocations: 29.7 kB / 0.5846 GB, free: 3.938 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.647e-05/0.1532, allocations: 322.9 kB / 0.5849 GB, free: 3.613 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001336/0.1534, allocations: 103.9 kB / 0.585 GB, free: 3.512 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000108/0.1535, allocations: 99.94 kB / 0.5851 GB, free: 3.414 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002507/0.1537, allocations: 281.4 kB / 0.5854 GB, free: 3.121 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.1538, allocations: 0 / 0.5854 GB, free: 3.121 MB / 494.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000335/0.1541, allocations: 320.8 kB / 0.5857 GB, free: 2.789 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.165e-05/0.1542, allocations: 71.39 kB / 0.5858 GB, free: 2.707 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.1542, allocations: 8 kB / 0.5858 GB, free: 2.699 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.275e-05/0.1542, allocations: 3.984 kB / 0.5858 GB, free: 2.695 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.62e-07/0.1542, allocations: 0 / 0.5858 GB, free: 2.695 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.129e-06/0.1542, allocations: 4.062 kB / 0.5858 GB, free: 2.691 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001367/0.1544, allocations: 11.84 kB / 0.5858 GB, free: 2.68 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.287e-05/0.1544, allocations: 4 kB / 0.5858 GB, free: 2.676 MB / 494.1 MB 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.0001046/0.1545, allocations: 151.5 kB / 0.5859 GB, free: 2.512 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.984e-05/0.1545, allocations: 7.938 kB / 0.5859 GB, free: 2.504 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.574e-05/0.1545, allocations: 8.234 kB / 0.586 GB, free: 2.488 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.1545, allocations: 4 kB / 0.586 GB, free: 2.484 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.888e-06/0.1545, allocations: 3.938 kB / 0.586 GB, free: 2.48 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.144e-06/0.1546, allocations: 4 kB / 0.586 GB, free: 2.477 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001106/0.1547, allocations: 177.5 kB / 0.5861 GB, free: 2.254 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.298e-06/0.1547, allocations: 3.938 kB / 0.5861 GB, free: 2.25 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.92e-07/0.1547, allocations: 3.938 kB / 0.5861 GB, free: 2.246 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.1547, allocations: 0 / 0.5861 GB, free: 2.246 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.237e-06/0.1547, allocations: 0 / 0.5861 GB, free: 2.246 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.1547, allocations: 4 kB / 0.5861 GB, free: 2.242 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.1547, allocations: 0 / 0.5861 GB, free: 2.242 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002524/0.155, allocations: 218.7 kB / 0.5864 GB, free: 2.004 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.571e-05/0.155, allocations: 92.98 kB / 0.5864 GB, free: 1.895 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.785e-05/0.155, allocations: 0 / 0.5864 GB, free: 1.895 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.183e-05/0.1551, allocations: 4 kB / 0.5864 GB, free: 1.891 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.922e-05/0.1552, allocations: 11.98 kB / 0.5865 GB, free: 1.879 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.277e-06/0.1552, allocations: 4 kB / 0.5865 GB, free: 1.875 MB / 494.1 MB Notification: Performance of sorting global known variables: time 6.103e-05/0.1553, allocations: 107.2 kB / 0.5866 GB, free: 1.77 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1553, allocations: 0 / 0.5866 GB, free: 1.77 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002817/0.1555, allocations: 64 kB / 0.5866 GB, free: 1.707 MB / 494.1 MB 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.0006568/0.1562, allocations: 0.8169 MB / 0.5874 GB, free: 0.8516 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0003746/0.1566, allocations: 370.7 kB / 0.5878 GB, free: 476 kB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.1566, allocations: 0 / 0.5878 GB, free: 476 kB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001229/0.1567, allocations: 135.3 kB / 0.5879 GB, free: 328 kB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001493/0.1569, allocations: 5.719 kB / 0.5879 GB, free: 324 kB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001999/0.1589, allocations: 2.138 MB / 0.59 GB, free: 14.08 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002346/0.1591, allocations: 0.6924 MB / 0.5907 GB, free: 13.36 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 5.871e-06/0.1592, allocations: 0 / 0.5907 GB, free: 13.36 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.887e-05/0.1592, allocations: 15.44 kB / 0.5907 GB, free: 13.35 MB / 0.4981 GB Notification: Performance of SimCode: time 3.51e-07/0.1592, allocations: 0 / 0.5907 GB, free: 13.35 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01811/0.1773, allocations: 3.26 MB / 0.5939 GB, free: 10.19 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.198/7.375, allocations: 13.41 kB / 0.5939 GB, free: 10.18 MB / 0.4981 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)