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.004721/0.004721, allocations: 97.84 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.001242/0.001242, allocations: 201.1 kB / 16.68 MB, free: 5.969 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.567/1.567, 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-master/package.mo): time 0.9825/0.9825, allocations: 135.5 MB / 426.1 MB, free: 12 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002678/0.002678, allocations: 59.91 kB / 0.5858 GB, free: 3.18 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4175/0.4201, allocations: 81.02 MB / 0.6649 GB, free: 6.867 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.QuinticHermite): time 0.001513/0.4217, allocations: 0.6286 MB / 0.6655 GB, free: 6.395 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0003652/0.4221, allocations: 199.6 kB / 0.6657 GB, free: 6.238 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.996e-05/0.4221, allocations: 0 / 0.6657 GB, free: 6.238 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.775e-05/0.4222, allocations: 3.938 kB / 0.6657 GB, free: 6.234 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001517/0.4223, allocations: 12.88 kB / 0.6657 GB, free: 6.223 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001718/0.4225, allocations: 84.17 kB / 0.6658 GB, free: 6.176 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 5.626e-05/0.4226, allocations: 29.75 kB / 0.6658 GB, free: 6.16 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.788e-05/0.4226, allocations: 2 kB / 0.6658 GB, free: 6.16 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.801e-05/0.4226, allocations: 13.52 kB / 0.6659 GB, free: 6.152 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.063e-05/0.4227, allocations: 19.11 kB / 0.6659 GB, free: 6.141 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.39e-05/0.4227, allocations: 1.25 kB / 0.6659 GB, free: 6.141 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001559/0.4229, allocations: 110 kB / 0.666 GB, free: 6.066 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.393e-05/0.4229, allocations: 13.56 kB / 0.666 GB, free: 6.055 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.335e-05/0.4229, allocations: 19.72 kB / 0.666 GB, free: 6.039 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001562/0.4231, allocations: 102.6 kB / 0.6661 GB, free: 5.988 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.351e-06/0.4231, allocations: 0 / 0.6661 GB, free: 5.988 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.442e-06/0.4231, allocations: 0 / 0.6661 GB, free: 5.988 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.17e-06/0.4231, allocations: 0 / 0.6661 GB, free: 5.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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004275/0.4236, allocations: 367.6 kB / 0.6665 GB, free: 5.602 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.934e-05/0.4236, allocations: 9.469 kB / 0.6665 GB, free: 5.602 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.994e-05/0.4236, allocations: 36.08 kB / 0.6665 GB, free: 5.559 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.73e-05/0.4237, allocations: 6.047 kB / 0.6665 GB, free: 5.555 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.215e-05/0.4238, allocations: 181.5 kB / 0.6667 GB, free: 5.344 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.166e-05/0.4238, allocations: 5.25 kB / 0.6667 GB, free: 5.34 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.789e-05/0.4238, allocations: 1.906 kB / 0.6667 GB, free: 5.34 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001333/0.4239, allocations: 56.22 kB / 0.6667 GB, free: 5.293 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.376e-05/0.424, allocations: 4.969 kB / 0.6667 GB, free: 5.289 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.356e-06/0.424, allocations: 0 / 0.6667 GB, free: 5.289 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.55e-06/0.424, allocations: 1.625 kB / 0.6667 GB, free: 5.289 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001359/0.4241, allocations: 31.88 kB / 0.6668 GB, free: 5.277 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002508/0.4244, allocations: 254.2 kB / 0.667 GB, free: 4.988 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002064/0.4246, allocations: 74.5 kB / 0.6671 GB, free: 4.938 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.659e-05/0.4247, allocations: 25.05 kB / 0.6671 GB, free: 4.922 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.505e-05/0.4247, allocations: 5.047 kB / 0.6671 GB, free: 4.918 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.592e-05/0.4247, allocations: 39.81 kB / 0.6672 GB, free: 4.871 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=4): time 1.223e-06/0.4247, allocations: 0 / 0.6672 GB, free: 4.871 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8): time 0.02846/0.4532, allocations: 1.605 MB / 0.6687 GB, free: 4.145 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.603e-05/0.4533, allocations: 52.53 kB / 0.6688 GB, free: 4.082 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.26e-05/0.4534, allocations: 131.8 kB / 0.6689 GB, free: 3.957 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.93e-05/0.4534, allocations: 26.61 kB / 0.6689 GB, free: 3.926 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.878e-05/0.4535, allocations: 89.28 kB / 0.669 GB, free: 3.836 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 6.535e-05/0.4535, allocations: 31.27 kB / 0.669 GB, free: 3.812 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002088/0.4538, allocations: 24.52 kB / 0.6691 GB, free: 3.789 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.777e-05/0.4538, allocations: 323.9 kB / 0.6694 GB, free: 3.465 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004792/0.4543, allocations: 142.9 kB / 0.6695 GB, free: 3.41 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004629/0.4548, allocations: 143.8 kB / 0.6696 GB, free: 3.355 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009631/0.4557, allocations: 291.6 kB / 0.6699 GB, free: 3.238 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.4557, allocations: 0 / 0.6699 GB, free: 3.238 MB / 0.4981 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.001175/0.4569, allocations: 336.3 kB / 0.6702 GB, free: 3.086 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.01e-05/0.457, allocations: 5.188 kB / 0.6703 GB, free: 3.086 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.446e-06/0.457, allocations: 0 / 0.6703 GB, free: 3.086 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.593e-05/0.457, allocations: 1.156 kB / 0.6703 GB, free: 3.086 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001647/0.4586, allocations: 65.95 kB / 0.6703 GB, free: 3.062 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.145e-06/0.4587, allocations: 1.156 kB / 0.6703 GB, free: 3.062 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001403/0.4601, allocations: 46.67 kB / 0.6704 GB, free: 3.047 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.5e-05/0.4601, allocations: 3.219 kB / 0.6704 GB, free: 3.047 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.0001549/0.4603, allocations: 119.9 kB / 0.6705 GB, free: 2.922 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.315e-05/0.4604, allocations: 7.859 kB / 0.6705 GB, free: 2.918 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001205/0.4605, allocations: 18.44 kB / 0.6705 GB, free: 2.902 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.567e-06/0.4605, allocations: 1.031 kB / 0.6705 GB, free: 2.902 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.4605, allocations: 0 / 0.6705 GB, free: 2.902 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.367e-06/0.4605, allocations: 0 / 0.6705 GB, free: 2.902 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005977/0.4665, allocations: 0.8487 MB / 0.6713 GB, free: 2.262 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.589e-06/0.4666, allocations: 1.031 kB / 0.6713 GB, free: 2.262 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001201/0.4678, allocations: 72.44 kB / 0.6714 GB, free: 2.227 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.401e-06/0.4678, allocations: 1 kB / 0.6714 GB, free: 2.227 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.193e-05/0.4678, allocations: 9.797 kB / 0.6714 GB, free: 2.219 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.547e-06/0.4678, allocations: 1.938 kB / 0.6714 GB, free: 2.219 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.4679, allocations: 1.094 kB / 0.6714 GB, free: 2.219 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009216/0.4688, allocations: 324.8 kB / 0.6717 GB, free: 2.004 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.56e-05/0.4688, allocations: 79.64 kB / 0.6718 GB, free: 1.91 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.004e-05/0.4689, allocations: 5 kB / 0.6718 GB, free: 1.906 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001114/0.47, allocations: 38.86 kB / 0.6718 GB, free: 1.895 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.913e-05/0.47, allocations: 14.39 kB / 0.6719 GB, free: 1.883 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.452e-05/0.4701, allocations: 2.906 kB / 0.6719 GB, free: 1.883 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.136e-05/0.4701, allocations: 93.17 kB / 0.672 GB, free: 1.801 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4701, allocations: 0 / 0.672 GB, free: 1.801 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003954/0.4705, allocations: 94.69 kB / 0.672 GB, free: 1.793 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.001186/0.4717, allocations: 0.8763 MB / 0.6729 GB, free: 1.035 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.00101/0.4727, allocations: 242.9 kB / 0.6731 GB, free: 0.9492 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.4728, allocations: 1.344 kB / 0.6731 GB, free: 0.9492 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0004003/0.4732, allocations: 92.84 kB / 0.6732 GB, free: 0.9219 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000299/0.4735, allocations: 11.44 kB / 0.6732 GB, free: 0.9141 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006765/0.4802, allocations: 2.683 MB / 0.6758 GB, free: 14.92 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003645/0.4806, allocations: 0.6878 MB / 0.6765 GB, free: 14.22 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0004696/0.4811, allocations: 52.41 kB / 0.6766 GB, free: 14.18 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004795/0.4816, allocations: 20.73 kB / 0.6766 GB, free: 14.16 MB / 0.5137 GB Notification: Performance of SimCode: time 5.61e-07/0.4816, allocations: 0 / 0.6766 GB, free: 14.16 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03544/0.5171, allocations: 9.798 MB / 0.6862 GB, free: 8.906 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.046/8.563, allocations: 9.953 kB / 0.6862 GB, free: 8.898 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_QuinticHermite_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_QuinticHermite.fmu > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.QuinticHermite.pipe 2>&1)