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.001225/0.001225, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001017/0.001017, allocations: 192 kB / 16.14 MB, free: 6.66 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.328/1.328, allocations: 222.9 MB / 239.8 MB, free: 4.586 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7523/0.7523, allocations: 132.2 MB / 422.1 MB, free: 2.016 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001285/0.001285, allocations: 63.31 kB / 0.5012 GB, free: 4.238 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3874/0.3887, allocations: 80.21 MB / 0.5795 GB, free: 4.578 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.QuinticHermite): time 0.001624/0.3903, allocations: 0.6854 MB / 0.5802 GB, free: 4.141 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003787/0.3907, allocations: 203.8 kB / 0.5804 GB, free: 4.004 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.816e-05/0.3907, allocations: 0.9062 kB / 0.5804 GB, free: 4.004 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.499e-05/0.3908, allocations: 3.938 kB / 0.5804 GB, free: 4 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001378/0.3909, allocations: 11.27 kB / 0.5804 GB, free: 3.992 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001452/0.3911, allocations: 63.67 kB / 0.5805 GB, free: 3.973 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 6.273e-05/0.3911, allocations: 26.41 kB / 0.5805 GB, free: 3.965 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.056e-05/0.3912, allocations: 3.562 kB / 0.5805 GB, free: 3.965 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.88e-05/0.3912, allocations: 15.33 kB / 0.5805 GB, free: 3.957 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.525e-05/0.3913, allocations: 23.98 kB / 0.5805 GB, free: 3.945 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.359e-05/0.3913, allocations: 6.5 kB / 0.5805 GB, free: 3.941 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001609/0.3915, allocations: 109.4 kB / 0.5806 GB, free: 3.906 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.509e-05/0.3915, allocations: 15.91 kB / 0.5806 GB, free: 3.895 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.209e-05/0.3915, allocations: 8.172 kB / 0.5807 GB, free: 3.891 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001654/0.3917, allocations: 102.1 kB / 0.5807 GB, free: 3.863 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.3917, allocations: 3.938 kB / 0.5808 GB, free: 3.859 MB / 430.1 MB Notification: Performance of FrontEnd: time 7.22e-07/0.3917, allocations: 0.7188 kB / 0.5808 GB, free: 3.859 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.086e-06/0.3917, allocations: 0 / 0.5808 GB, free: 3.859 MB / 430.1 MB 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.0004109/0.3921, allocations: 378.5 kB / 0.5811 GB, free: 3.477 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.549e-05/0.3922, allocations: 9.125 kB / 0.5811 GB, free: 3.477 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.446e-05/0.3922, allocations: 31.86 kB / 0.5812 GB, free: 3.438 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.592e-05/0.3922, allocations: 7.266 kB / 0.5812 GB, free: 3.434 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.743e-05/0.3923, allocations: 179.3 kB / 0.5813 GB, free: 3.227 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.542e-06/0.3923, allocations: 1.188 kB / 0.5813 GB, free: 3.227 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.775e-05/0.3924, allocations: 2.859 kB / 0.5813 GB, free: 3.227 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001319/0.3925, allocations: 56.94 kB / 0.5814 GB, free: 3.188 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.197e-06/0.3925, allocations: 4.719 kB / 0.5814 GB, free: 3.184 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.105e-06/0.3925, allocations: 5.188 kB / 0.5814 GB, free: 3.18 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.676e-06/0.3925, allocations: 0 / 0.5814 GB, free: 3.18 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001267/0.3927, allocations: 37.8 kB / 0.5814 GB, free: 3.172 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001911/0.3929, allocations: 244.4 kB / 0.5817 GB, free: 2.902 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001915/0.3931, allocations: 74.62 kB / 0.5817 GB, free: 2.863 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.499e-05/0.3931, allocations: 22.39 kB / 0.5818 GB, free: 2.855 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.679e-05/0.3932, allocations: 4.797 kB / 0.5818 GB, free: 2.852 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.408e-05/0.3932, allocations: 35.97 kB / 0.5818 GB, free: 2.809 MB / 430.1 MB Notification: Performance of pre-optimization done (n=4): time 1.132e-06/0.3932, allocations: 0 / 0.5818 GB, free: 2.809 MB / 430.1 MB Notification: Performance of matching and sorting (n=8): time 0.03018/0.4234, allocations: 1.612 MB / 0.5834 GB, free: 2.609 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.582e-05/0.4234, allocations: 53.66 kB / 0.5834 GB, free: 2.547 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.739e-05/0.4235, allocations: 125.4 kB / 0.5835 GB, free: 2.434 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 5.887e-05/0.4236, allocations: 25.7 kB / 0.5836 GB, free: 2.402 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.387e-05/0.4236, allocations: 90.19 kB / 0.5837 GB, free: 2.312 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.672e-05/0.4237, allocations: 21.7 kB / 0.5837 GB, free: 2.297 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002053/0.4239, allocations: 24.02 kB / 0.5837 GB, free: 2.277 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.872e-05/0.424, allocations: 327.6 kB / 0.584 GB, free: 1.953 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005166/0.4245, allocations: 140.6 kB / 0.5841 GB, free: 1.918 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005405/0.425, allocations: 141.6 kB / 0.5843 GB, free: 1.883 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001045/0.4261, allocations: 298.9 kB / 0.5846 GB, free: 1.777 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.4261, allocations: 0.6562 kB / 0.5846 GB, free: 1.777 MB / 430.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.001257/0.4274, allocations: 333 kB / 0.5849 GB, free: 1.66 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.831e-05/0.4274, allocations: 8.562 kB / 0.5849 GB, free: 1.656 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.4274, allocations: 4 kB / 0.5849 GB, free: 1.652 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.607e-05/0.4274, allocations: 1.062 kB / 0.5849 GB, free: 1.652 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001642/0.4291, allocations: 65.17 kB / 0.585 GB, free: 1.648 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.47e-06/0.4291, allocations: 0 / 0.585 GB, free: 1.648 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001407/0.4305, allocations: 45.86 kB / 0.585 GB, free: 1.648 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.728e-05/0.4306, allocations: 4.422 kB / 0.585 GB, free: 1.648 MB / 430.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: 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.0001627/0.4308, allocations: 120.8 kB / 0.5851 GB, free: 1.523 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.182e-05/0.4309, allocations: 11.47 kB / 0.5851 GB, free: 1.516 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001345/0.431, allocations: 19.55 kB / 0.5852 GB, free: 1.496 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/0.431, allocations: 0.9688 kB / 0.5852 GB, free: 1.496 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.431, allocations: 0 / 0.5852 GB, free: 1.496 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.431, allocations: 2 kB / 0.5852 GB, free: 1.496 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005693/0.4367, allocations: 0.8449 MB / 0.586 GB, free: 1.102 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.4367, allocations: 1.469 kB / 0.586 GB, free: 1.102 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00113/0.4379, allocations: 56.23 kB / 0.586 GB, free: 1.098 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.476e-06/0.4379, allocations: 2.031 kB / 0.586 GB, free: 1.098 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.252e-05/0.4379, allocations: 6.844 kB / 0.586 GB, free: 1.094 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.447e-06/0.4379, allocations: 5.531 kB / 0.586 GB, free: 1.09 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.438, allocations: 5.156 kB / 0.5861 GB, free: 1.086 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009421/0.4389, allocations: 325 kB / 0.5864 GB, free: 0.8984 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.313e-05/0.4389, allocations: 88.16 kB / 0.5864 GB, free: 0.7969 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.71e-05/0.439, allocations: 7.078 kB / 0.5865 GB, free: 0.793 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001077/0.4401, allocations: 38.64 kB / 0.5865 GB, free: 0.793 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.614e-05/0.4401, allocations: 8.453 kB / 0.5865 GB, free: 0.7891 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.617e-05/0.4402, allocations: 4.375 kB / 0.5865 GB, free: 0.7891 MB / 430.1 MB Notification: Performance of sorting global known variables: time 4.22e-05/0.4402, allocations: 93 kB / 0.5866 GB, free: 0.7109 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.4402, allocations: 0 / 0.5866 GB, free: 0.7109 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0004253/0.4407, allocations: 95 kB / 0.5867 GB, free: 0.7031 MB / 430.1 MB 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.001186/0.4419, allocations: 0.87 MB / 0.5875 GB, free: 15.98 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001023/0.4429, allocations: 241.1 kB / 0.5878 GB, free: 15.93 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.4429, allocations: 0.8438 kB / 0.5878 GB, free: 15.93 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004542/0.4434, allocations: 96.42 kB / 0.5879 GB, free: 15.91 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002965/0.4437, allocations: 11.23 kB / 0.5879 GB, free: 15.91 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006718/0.4504, allocations: 2.684 MB / 0.5905 GB, free: 14.13 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002324/0.4506, allocations: 0.6848 MB / 0.5912 GB, free: 13.44 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0005758/0.4512, allocations: 53.92 kB / 0.5912 GB, free: 13.39 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005152/0.4517, allocations: 21.28 kB / 0.5912 GB, free: 13.38 MB / 446.1 MB Notification: Performance of SimCode: time 6.62e-07/0.4518, allocations: 0 / 0.5912 GB, free: 13.38 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01876/0.4705, allocations: 9.193 MB / 0.6002 GB, free: 9.023 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002479/0.4708, allocations: 202.9 kB / 0.6004 GB, free: 8.77 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.024/2.495, allocations: 4 kB / 0.6004 GB, free: 8.766 MB / 446.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Math_Functions_Examples_QuinticHermite_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Math_Functions_Examples_QuinticHermite.fmu > IDEAS_IDEAS.Utilities.Math.Functions.Examples.QuinticHermite.pipe 2>&1)