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.001318/0.001318, allocations: 112.5 kB / 15.73 MB, free: 76 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.001117/0.001117, allocations: 188.9 kB / 16.67 MB, free: 6.543 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.436/1.436, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7576/0.7576, allocations: 132.2 MB / 422.7 MB, free: 1.719 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00127/0.00127, allocations: 64.39 kB / 0.5809 GB, free: 1.094 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1942/0.1955, allocations: 80.2 MB / 0.6592 GB, free: 14 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.QuinticHermite): time 0.002304/0.1979, allocations: 0.6343 MB / 0.6599 GB, free: 13.37 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0005902/0.1985, allocations: 195.5 kB / 0.66 GB, free: 13.18 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.323e-05/0.1985, allocations: 0 / 0.66 GB, free: 13.18 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.075e-05/0.1986, allocations: 3.938 kB / 0.66 GB, free: 13.17 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002118/0.1988, allocations: 7.922 kB / 0.6601 GB, free: 13.16 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002999/0.1991, allocations: 71.81 kB / 0.6601 GB, free: 13.09 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.000112/0.1992, allocations: 31.86 kB / 0.6602 GB, free: 13.06 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 7.578e-05/0.1993, allocations: 13.33 kB / 0.6602 GB, free: 13.05 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.17e-05/0.1994, allocations: 15.92 kB / 0.6602 GB, free: 13.04 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001011/0.1995, allocations: 23.91 kB / 0.6602 GB, free: 13.01 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.22e-05/0.1995, allocations: 4 kB / 0.6602 GB, free: 13.01 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002776/0.1998, allocations: 111.7 kB / 0.6603 GB, free: 12.9 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.001e-05/0.1999, allocations: 4 kB / 0.6603 GB, free: 12.89 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 4.772e-05/0.1999, allocations: 19.84 kB / 0.6603 GB, free: 12.88 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002681/0.2002, allocations: 99.98 kB / 0.6604 GB, free: 12.78 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 1.035e-05/0.2002, allocations: 3.984 kB / 0.6604 GB, free: 12.77 MB / 0.4981 GB Notification: Performance of FrontEnd: time 4.007e-06/0.2002, allocations: 0 / 0.6604 GB, free: 12.77 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.421e-05/0.2003, allocations: 0 / 0.6604 GB, free: 12.77 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.0008417/0.2011, allocations: 375.1 kB / 0.6608 GB, free: 12.36 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.629e-05/0.2012, allocations: 12.03 kB / 0.6608 GB, free: 12.34 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.06e-05/0.2012, allocations: 30.75 kB / 0.6608 GB, free: 12.3 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.115e-05/0.2013, allocations: 4.938 kB / 0.6608 GB, free: 12.3 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001965/0.2015, allocations: 176.3 kB / 0.661 GB, free: 12.09 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.525e-05/0.2015, allocations: 4.359 kB / 0.661 GB, free: 12.09 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.362e-05/0.2016, allocations: 384 / 0.661 GB, free: 12.09 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002068/0.2018, allocations: 54.23 kB / 0.6611 GB, free: 12.03 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.871e-05/0.2018, allocations: 7.938 kB / 0.6611 GB, free: 12.02 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.286e-05/0.2018, allocations: 0 / 0.6611 GB, free: 12.02 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.979e-06/0.2019, allocations: 0 / 0.6611 GB, free: 12.02 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002027/0.2021, allocations: 31.97 kB / 0.6611 GB, free: 11.99 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004035/0.2025, allocations: 252.9 kB / 0.6613 GB, free: 11.69 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003036/0.2028, allocations: 78.41 kB / 0.6614 GB, free: 11.61 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001042/0.2029, allocations: 24.92 kB / 0.6614 GB, free: 11.58 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.801e-05/0.2029, allocations: 0 / 0.6614 GB, free: 11.58 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.333e-05/0.203, allocations: 34.56 kB / 0.6615 GB, free: 11.54 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=4): time 1.413e-06/0.203, allocations: 0 / 0.6615 GB, free: 11.54 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8): time 0.03001/0.233, allocations: 1.613 MB / 0.663 GB, free: 9.914 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.153e-05/0.2331, allocations: 51.41 kB / 0.6631 GB, free: 9.852 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001138/0.2332, allocations: 117.8 kB / 0.6632 GB, free: 9.727 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 6.968e-05/0.2333, allocations: 30.08 kB / 0.6632 GB, free: 9.691 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 7.313e-05/0.2334, allocations: 96.02 kB / 0.6633 GB, free: 9.594 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 8.722e-05/0.2335, allocations: 31.73 kB / 0.6634 GB, free: 9.562 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002065/0.2337, allocations: 29.7 kB / 0.6634 GB, free: 9.527 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001421/0.2339, allocations: 322.7 kB / 0.6637 GB, free: 9.203 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004978/0.2344, allocations: 143.9 kB / 0.6638 GB, free: 9.062 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000487/0.2349, allocations: 139.9 kB / 0.664 GB, free: 8.926 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001014/0.2359, allocations: 292.8 kB / 0.6642 GB, free: 8.637 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.352e-06/0.2359, allocations: 0 / 0.6642 GB, free: 8.637 MB / 0.4981 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.001244/0.2371, allocations: 337.5 kB / 0.6646 GB, free: 8.301 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.402e-05/0.2372, allocations: 8 kB / 0.6646 GB, free: 8.293 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.466e-06/0.2372, allocations: 0 / 0.6646 GB, free: 8.293 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.005e-05/0.2372, allocations: 4 kB / 0.6646 GB, free: 8.289 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001566/0.2388, allocations: 59.92 kB / 0.6646 GB, free: 8.23 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.069e-05/0.2388, allocations: 4 kB / 0.6646 GB, free: 8.227 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00132/0.2401, allocations: 43.89 kB / 0.6647 GB, free: 8.184 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.783e-05/0.2402, allocations: 7.984 kB / 0.6647 GB, free: 8.176 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.0002105/0.2404, allocations: 121.8 kB / 0.6648 GB, free: 8.047 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.78e-05/0.2405, allocations: 0 / 0.6648 GB, free: 8.047 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001306/0.2406, allocations: 20.38 kB / 0.6648 GB, free: 8.02 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.2407, allocations: 0 / 0.6648 GB, free: 8.02 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.142e-06/0.2407, allocations: 0 / 0.6648 GB, free: 8.02 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.2407, allocations: 0 / 0.6648 GB, free: 8.02 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005801/0.2465, allocations: 0.8531 MB / 0.6657 GB, free: 7.105 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.2465, allocations: 0 / 0.6657 GB, free: 7.105 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00113/0.2476, allocations: 56.16 kB / 0.6657 GB, free: 7.051 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.9e-06/0.2477, allocations: 4 kB / 0.6657 GB, free: 7.047 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.388e-05/0.2477, allocations: 3.938 kB / 0.6657 GB, free: 7.043 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.779e-06/0.2477, allocations: 7.938 kB / 0.6657 GB, free: 7.035 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.714e-06/0.2477, allocations: 4.062 kB / 0.6657 GB, free: 7.031 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000951/0.2487, allocations: 323.4 kB / 0.666 GB, free: 6.695 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.113e-05/0.2488, allocations: 81.11 kB / 0.6661 GB, free: 6.598 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.956e-05/0.2488, allocations: 15.86 kB / 0.6661 GB, free: 6.582 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001042/0.2499, allocations: 35.95 kB / 0.6662 GB, free: 6.547 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.145e-05/0.2499, allocations: 11.94 kB / 0.6662 GB, free: 6.535 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.974e-05/0.25, allocations: 4 kB / 0.6662 GB, free: 6.531 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 6.192e-05/0.25, allocations: 91.27 kB / 0.6663 GB, free: 6.441 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.5e-07/0.25, allocations: 0 / 0.6663 GB, free: 6.441 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0004356/0.2505, allocations: 99.86 kB / 0.6664 GB, free: 6.344 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.001409/0.2519, allocations: 0.874 MB / 0.6672 GB, free: 5.438 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001014/0.2529, allocations: 239.9 kB / 0.6674 GB, free: 5.203 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/0.2529, allocations: 0 / 0.6674 GB, free: 5.203 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.00042/0.2534, allocations: 100 kB / 0.6675 GB, free: 5.105 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003075/0.2537, allocations: 5.406 kB / 0.6675 GB, free: 5.102 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006815/0.2605, allocations: 2.677 MB / 0.6702 GB, free: 2.336 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003298/0.2609, allocations: 0.6885 MB / 0.6708 GB, free: 1.621 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0004469/0.2613, allocations: 55.92 kB / 0.6709 GB, free: 1.566 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004929/0.2618, allocations: 23.42 kB / 0.6709 GB, free: 1.543 MB / 0.4981 GB Notification: Performance of SimCode: time 5.61e-07/0.2618, allocations: 480 / 0.6709 GB, free: 1.543 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03103/0.2929, allocations: 9.79 MB / 0.6805 GB, free: 7.812 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.003/8.296, allocations: 12.33 kB / 0.6805 GB, free: 7.805 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)