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.007533/0.007533, allocations: 99.34 kB / 15.73 MB, free: 6.008 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.001866/0.001866, allocations: 197.5 kB / 16.67 MB, free: 5.934 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.452/1.452, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8356/0.8356, allocations: 132.2 MB / 422.7 MB, free: 6.539 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002234/0.002234, allocations: 65.75 kB / 0.5809 GB, free: 24.02 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1415/0.1437, allocations: 80.2 MB / 0.6592 GB, free: 10.71 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.CubicHermite): time 0.001865/0.1456, allocations: 0.6082 MB / 0.6598 GB, free: 10.11 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002097/0.1478, allocations: 1.387 MB / 0.6612 GB, free: 8.703 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.191e-05/0.1478, allocations: 4 kB / 0.6612 GB, free: 8.699 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 5.342e-05/0.1479, allocations: 3.938 kB / 0.6612 GB, free: 8.695 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 3.846e-05/0.1479, allocations: 0 / 0.6612 GB, free: 8.695 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007069/0.1486, allocations: 183.5 kB / 0.6614 GB, free: 8.516 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001303/0.1488, allocations: 55.89 kB / 0.6614 GB, free: 8.461 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.552e-05/0.1488, allocations: 4 kB / 0.6614 GB, free: 8.457 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.79e-05/0.1489, allocations: 19.97 kB / 0.6614 GB, free: 8.438 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.256e-05/0.1489, allocations: 23.91 kB / 0.6615 GB, free: 8.414 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.739e-05/0.149, allocations: 4 kB / 0.6615 GB, free: 8.41 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003773/0.1493, allocations: 195.7 kB / 0.6617 GB, free: 8.219 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.778e-05/0.1494, allocations: 15.91 kB / 0.6617 GB, free: 8.203 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 4.921e-05/0.1495, allocations: 27.86 kB / 0.6617 GB, free: 8.176 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003169/0.1498, allocations: 187.7 kB / 0.6619 GB, free: 7.992 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.447e-06/0.1498, allocations: 0 / 0.6619 GB, free: 7.992 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.383e-06/0.1498, allocations: 0 / 0.6619 GB, free: 7.992 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.53e-06/0.1498, allocations: 4 kB / 0.6619 GB, free: 7.988 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.0005138/0.1503, allocations: 442.4 kB / 0.6623 GB, free: 7.496 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.288e-05/0.1504, allocations: 12.03 kB / 0.6623 GB, free: 7.484 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.964e-05/0.1504, allocations: 34.69 kB / 0.6623 GB, free: 7.441 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.502e-05/0.1505, allocations: 8.891 kB / 0.6624 GB, free: 7.434 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001463/0.1506, allocations: 170.2 kB / 0.6625 GB, free: 7.23 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.285e-05/0.1506, allocations: 384 / 0.6625 GB, free: 7.23 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.266e-05/0.1507, allocations: 8.375 kB / 0.6625 GB, free: 7.223 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001855/0.1508, allocations: 105.8 kB / 0.6626 GB, free: 7.113 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.003e-05/0.1509, allocations: 0 / 0.6626 GB, free: 7.113 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.518e-06/0.1509, allocations: 7.875 kB / 0.6626 GB, free: 7.105 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.098e-06/0.1509, allocations: 0 / 0.6626 GB, free: 7.105 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001044/0.151, allocations: 67.94 kB / 0.6627 GB, free: 7.039 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001806/0.1512, allocations: 177.6 kB / 0.6629 GB, free: 6.816 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001226/0.1513, allocations: 82.47 kB / 0.6629 GB, free: 6.727 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00011/0.1514, allocations: 72.89 kB / 0.663 GB, free: 6.652 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 8.456e-06/0.1515, allocations: 0 / 0.663 GB, free: 6.652 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.254e-05/0.1515, allocations: 34.5 kB / 0.663 GB, free: 6.609 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=4): time 1.022e-06/0.1515, allocations: 4 kB / 0.663 GB, free: 6.605 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4): time 0.0004181/0.1519, allocations: 255.1 kB / 0.6633 GB, free: 6.344 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.022e-05/0.152, allocations: 81.11 kB / 0.6634 GB, free: 6.246 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001396/0.1521, allocations: 141.8 kB / 0.6635 GB, free: 6.098 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.778e-05/0.1522, allocations: 29.73 kB / 0.6635 GB, free: 6.062 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.683e-05/0.1522, allocations: 92.12 kB / 0.6636 GB, free: 5.969 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.636e-05/0.1523, allocations: 19.89 kB / 0.6636 GB, free: 5.949 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.46e-05/0.1523, allocations: 25.72 kB / 0.6637 GB, free: 5.918 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001399/0.1525, allocations: 318.8 kB / 0.664 GB, free: 5.598 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001316/0.1526, allocations: 95.94 kB / 0.6641 GB, free: 5.504 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001317/0.1527, allocations: 103.9 kB / 0.6642 GB, free: 5.402 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002979/0.153, allocations: 277.9 kB / 0.6644 GB, free: 5.109 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.1531, allocations: 4.031 kB / 0.6644 GB, free: 5.105 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003842/0.1534, allocations: 330.8 kB / 0.6647 GB, free: 4.766 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 6.452e-05/0.1535, allocations: 73.11 kB / 0.6648 GB, free: 4.684 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.1535, allocations: 0 / 0.6648 GB, free: 4.684 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.242e-05/0.1535, allocations: 0 / 0.6648 GB, free: 4.684 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.12e-07/0.1535, allocations: 0 / 0.6648 GB, free: 4.684 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.773e-06/0.1536, allocations: 4 kB / 0.6648 GB, free: 4.68 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000146/0.1537, allocations: 11.89 kB / 0.6648 GB, free: 4.668 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.71e-05/0.1537, allocations: 7.984 kB / 0.6648 GB, free: 4.66 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.0001235/0.1539, allocations: 151.6 kB / 0.665 GB, free: 4.496 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.191e-05/0.1539, allocations: 11.89 kB / 0.665 GB, free: 4.484 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.823e-05/0.1539, allocations: 8.25 kB / 0.665 GB, free: 4.469 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.333e-06/0.1539, allocations: 0 / 0.665 GB, free: 4.469 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.1539, allocations: 0 / 0.665 GB, free: 4.469 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.345e-06/0.1539, allocations: 0 / 0.665 GB, free: 4.469 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001399/0.1541, allocations: 169.6 kB / 0.6652 GB, free: 4.254 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.906e-06/0.1541, allocations: 7.875 kB / 0.6652 GB, free: 4.246 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.11e-07/0.1541, allocations: 0 / 0.6652 GB, free: 4.246 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.537e-06/0.1541, allocations: 4 kB / 0.6652 GB, free: 4.242 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.21e-05/0.1541, allocations: 4 kB / 0.6652 GB, free: 4.238 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.1541, allocations: 4 kB / 0.6652 GB, free: 4.234 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.1541, allocations: 0 / 0.6652 GB, free: 4.234 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003016/0.1544, allocations: 234.6 kB / 0.6654 GB, free: 3.98 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.703e-05/0.1545, allocations: 85 kB / 0.6655 GB, free: 3.879 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.989e-05/0.1545, allocations: 4 kB / 0.6655 GB, free: 3.875 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.686e-05/0.1546, allocations: 7.984 kB / 0.6655 GB, free: 3.867 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.305e-05/0.1546, allocations: 8 kB / 0.6655 GB, free: 3.859 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.147e-05/0.1547, allocations: 12.02 kB / 0.6655 GB, free: 3.848 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 7.947e-05/0.1547, allocations: 103.3 kB / 0.6656 GB, free: 3.746 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.5e-07/0.1548, allocations: 0 / 0.6656 GB, free: 3.746 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002981/0.1551, allocations: 71.86 kB / 0.6657 GB, free: 3.676 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.0008158/0.1559, allocations: 0.8093 MB / 0.6665 GB, free: 2.832 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004359/0.1563, allocations: 374.6 kB / 0.6668 GB, free: 2.441 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.1563, allocations: 0 / 0.6668 GB, free: 2.441 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001473/0.1565, allocations: 139.3 kB / 0.667 GB, free: 2.293 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001455/0.1566, allocations: 5.875 kB / 0.667 GB, free: 2.289 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002325/0.159, allocations: 2.136 MB / 0.6691 GB, free: 56 kB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003604/0.1594, allocations: 0.6924 MB / 0.6697 GB, free: 15.34 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 9.398e-06/0.1594, allocations: 4 kB / 0.6697 GB, free: 15.33 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.435e-05/0.1594, allocations: 15.44 kB / 0.6697 GB, free: 15.32 MB / 0.5137 GB Notification: Performance of SimCode: time 2.2e-07/0.1594, allocations: 0 / 0.6697 GB, free: 15.32 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02519/0.1846, allocations: 3.274 MB / 0.6729 GB, free: 12.14 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.789/7.974, allocations: 11.92 kB / 0.673 GB, free: 12.13 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)