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.008214/0.008214, allocations: 99.67 kB / 15.73 MB, free: 6.043 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.00198/0.00198, allocations: 197.9 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.512/1.512, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.008/1.008, allocations: 135.5 MB / 426.1 MB, free: 11.99 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00193/0.00193, allocations: 67.89 kB / 0.5858 GB, free: 3.172 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4711/0.473, allocations: 81.03 MB / 0.6649 GB, free: 6.871 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.QuinticHermite): time 0.001953/0.475, allocations: 0.6182 MB / 0.6655 GB, free: 6.406 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0004414/0.4755, allocations: 206.1 kB / 0.6657 GB, free: 6.242 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.66e-05/0.4755, allocations: 1.406 kB / 0.6657 GB, free: 6.242 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.575e-05/0.4756, allocations: 7.938 kB / 0.6657 GB, free: 6.234 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001606/0.4757, allocations: 5.25 kB / 0.6657 GB, free: 6.23 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001815/0.4759, allocations: 76.03 kB / 0.6658 GB, free: 6.191 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.531e-05/0.476, allocations: 28.78 kB / 0.6658 GB, free: 6.176 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.941e-05/0.4761, allocations: 6.344 kB / 0.6658 GB, free: 6.172 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.186e-05/0.4761, allocations: 17.66 kB / 0.6659 GB, free: 6.16 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.258e-05/0.4762, allocations: 18.67 kB / 0.6659 GB, free: 6.148 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.397e-05/0.4762, allocations: 1.625 kB / 0.6659 GB, free: 6.148 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001578/0.4763, allocations: 114.3 kB / 0.666 GB, free: 6.07 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.809e-05/0.4764, allocations: 17.11 kB / 0.666 GB, free: 6.055 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.307e-05/0.4764, allocations: 10.86 kB / 0.666 GB, free: 6.047 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.000175/0.4766, allocations: 106.4 kB / 0.6661 GB, free: 5.992 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.4766, allocations: 0 / 0.6661 GB, free: 5.992 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.653e-06/0.4766, allocations: 0 / 0.6661 GB, free: 5.992 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 9.067e-06/0.4766, allocations: 0 / 0.6661 GB, free: 5.992 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.0004761/0.4771, allocations: 368.6 kB / 0.6665 GB, free: 5.605 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.148e-05/0.4771, allocations: 9.219 kB / 0.6665 GB, free: 5.605 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.425e-05/0.4772, allocations: 36.25 kB / 0.6665 GB, free: 5.562 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.962e-05/0.4772, allocations: 6.641 kB / 0.6665 GB, free: 5.559 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001041/0.4773, allocations: 176.9 kB / 0.6667 GB, free: 5.352 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.043e-05/0.4773, allocations: 1.719 kB / 0.6667 GB, free: 5.352 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.9e-05/0.4773, allocations: 1.875 kB / 0.6667 GB, free: 5.352 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001419/0.4775, allocations: 52.08 kB / 0.6667 GB, free: 5.309 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.563e-05/0.4775, allocations: 5.5 kB / 0.6667 GB, free: 5.305 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.656e-06/0.4775, allocations: 3.938 kB / 0.6667 GB, free: 5.301 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.4775, allocations: 0 / 0.6667 GB, free: 5.301 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00014/0.4777, allocations: 45.14 kB / 0.6668 GB, free: 5.277 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002226/0.4779, allocations: 241.9 kB / 0.667 GB, free: 5 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000198/0.4781, allocations: 71 kB / 0.6671 GB, free: 4.953 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.467e-05/0.4782, allocations: 25.62 kB / 0.6671 GB, free: 4.938 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.059e-05/0.4782, allocations: 0 / 0.6671 GB, free: 4.938 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.845e-05/0.4782, allocations: 43.64 kB / 0.6672 GB, free: 4.887 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=4): time 8.71e-07/0.4782, allocations: 0 / 0.6672 GB, free: 4.887 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8): time 0.02824/0.5065, allocations: 1.617 MB / 0.6687 GB, free: 4.148 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.503e-05/0.5065, allocations: 56.61 kB / 0.6688 GB, free: 4.082 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.46e-05/0.5066, allocations: 115.5 kB / 0.6689 GB, free: 3.973 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.852e-05/0.5067, allocations: 26.86 kB / 0.6689 GB, free: 3.941 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.958e-05/0.5068, allocations: 93.83 kB / 0.669 GB, free: 3.848 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 6.234e-05/0.5068, allocations: 29.33 kB / 0.669 GB, free: 3.824 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001995/0.507, allocations: 25.48 kB / 0.6691 GB, free: 3.801 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 3.868e-05/0.5071, allocations: 324.5 kB / 0.6694 GB, free: 3.477 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004714/0.5075, allocations: 143.2 kB / 0.6695 GB, free: 3.422 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004578/0.508, allocations: 146.8 kB / 0.6697 GB, free: 3.363 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009552/0.509, allocations: 300.1 kB / 0.6699 GB, free: 3.238 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.509, allocations: 0 / 0.6699 GB, free: 3.238 MB / 0.4981 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.001151/0.5101, allocations: 332.4 kB / 0.6703 GB, free: 3.09 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.56e-05/0.5102, allocations: 4.844 kB / 0.6703 GB, free: 3.09 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.5102, allocations: 1.344 kB / 0.6703 GB, free: 3.09 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.435e-05/0.5102, allocations: 0 / 0.6703 GB, free: 3.09 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001657/0.5119, allocations: 62.31 kB / 0.6703 GB, free: 3.07 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.991e-06/0.5119, allocations: 1.219 kB / 0.6703 GB, free: 3.07 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001418/0.5133, allocations: 47.38 kB / 0.6704 GB, free: 3.055 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.182e-05/0.5134, allocations: 2.188 kB / 0.6704 GB, free: 3.055 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.0001402/0.5135, allocations: 116.2 kB / 0.6705 GB, free: 2.934 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.374e-05/0.5136, allocations: 7.078 kB / 0.6705 GB, free: 2.93 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001133/0.5137, allocations: 21.8 kB / 0.6705 GB, free: 2.91 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.5137, allocations: 1.406 kB / 0.6705 GB, free: 2.91 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.5137, allocations: 0 / 0.6705 GB, free: 2.91 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.5137, allocations: 5.281 kB / 0.6705 GB, free: 2.906 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00578/0.5195, allocations: 0.8563 MB / 0.6713 GB, free: 2.258 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.417e-06/0.5196, allocations: 0 / 0.6713 GB, free: 2.258 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001173/0.5207, allocations: 52.47 kB / 0.6714 GB, free: 2.242 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.279e-06/0.5208, allocations: 1.25 kB / 0.6714 GB, free: 2.242 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.025e-05/0.5208, allocations: 6.188 kB / 0.6714 GB, free: 2.238 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.558e-06/0.5208, allocations: 4.766 kB / 0.6714 GB, free: 2.234 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.5208, allocations: 1.938 kB / 0.6714 GB, free: 2.234 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009016/0.5217, allocations: 328.5 kB / 0.6717 GB, free: 2.016 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.189e-05/0.5218, allocations: 80.86 kB / 0.6718 GB, free: 1.922 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.18e-05/0.5218, allocations: 7.875 kB / 0.6718 GB, free: 1.914 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001114/0.523, allocations: 42.7 kB / 0.6719 GB, free: 1.898 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.221e-05/0.523, allocations: 7.016 kB / 0.6719 GB, free: 1.895 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.544e-05/0.523, allocations: 7.406 kB / 0.6719 GB, free: 1.891 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.464e-05/0.5231, allocations: 92.48 kB / 0.672 GB, free: 1.809 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.9e-07/0.5231, allocations: 0 / 0.672 GB, free: 1.809 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003872/0.5235, allocations: 91.22 kB / 0.672 GB, free: 1.805 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.001161/0.5247, allocations: 0.8793 MB / 0.6729 GB, free: 1.043 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0009789/0.5256, allocations: 244.1 kB / 0.6731 GB, free: 0.957 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.471e-06/0.5257, allocations: 0 / 0.6731 GB, free: 0.957 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0004061/0.5261, allocations: 97.75 kB / 0.6732 GB, free: 0.9258 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002857/0.5264, allocations: 6.594 kB / 0.6732 GB, free: 0.9219 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006719/0.5331, allocations: 2.68 MB / 0.6758 GB, free: 14.93 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003591/0.5335, allocations: 0.6876 MB / 0.6765 GB, free: 14.23 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0004919/0.534, allocations: 52 kB / 0.6766 GB, free: 14.19 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004737/0.5345, allocations: 24.11 kB / 0.6766 GB, free: 14.17 MB / 0.5137 GB Notification: Performance of SimCode: time 1.232e-06/0.5345, allocations: 1.031 kB / 0.6766 GB, free: 14.17 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0346/0.5691, allocations: 9.801 MB / 0.6862 GB, free: 8.91 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.325/8.894, allocations: 9.828 kB / 0.6862 GB, free: 8.902 MB / 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)