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.001449/0.001449, allocations: 108 kB / 15.6 MB, free: 132 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.001195/0.001195, allocations: 191.8 kB / 16.53 MB, free: 6.391 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.344/1.344, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8353/0.8353, allocations: 132.2 MB / 422.6 MB, free: 1.777 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001269/0.001269, allocations: 64.5 kB / 0.5019 GB, free: 3.734 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3748/0.3761, allocations: 80.2 MB / 0.5802 GB, free: 4.566 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.QuinticHermite): time 0.00178/0.3779, allocations: 0.6258 MB / 0.5808 GB, free: 4.164 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003984/0.3783, allocations: 204.7 kB / 0.581 GB, free: 4.023 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.032e-05/0.3783, allocations: 1.281 kB / 0.581 GB, free: 4.023 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.273e-05/0.3784, allocations: 0 / 0.581 GB, free: 4.023 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001508/0.3785, allocations: 10.36 kB / 0.581 GB, free: 4.016 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001988/0.3787, allocations: 81.06 kB / 0.5811 GB, free: 3.984 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 6.012e-05/0.3788, allocations: 26.14 kB / 0.5811 GB, free: 3.977 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.842e-05/0.3789, allocations: 3.859 kB / 0.5811 GB, free: 3.977 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.022e-05/0.3789, allocations: 15.81 kB / 0.5811 GB, free: 3.969 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.285e-05/0.379, allocations: 23.64 kB / 0.5812 GB, free: 3.957 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.533e-05/0.379, allocations: 2.625 kB / 0.5812 GB, free: 3.957 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001748/0.3792, allocations: 109.2 kB / 0.5813 GB, free: 3.922 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.566e-05/0.3792, allocations: 12.19 kB / 0.5813 GB, free: 3.914 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.23e-05/0.3792, allocations: 8.109 kB / 0.5813 GB, free: 3.91 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001788/0.3794, allocations: 114.1 kB / 0.5814 GB, free: 3.871 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.3794, allocations: 0 / 0.5814 GB, free: 3.871 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.3794, allocations: 4.844 kB / 0.5814 GB, free: 3.867 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.408e-06/0.3794, allocations: 0 / 0.5814 GB, free: 3.867 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.0004329/0.3798, allocations: 369.1 kB / 0.5818 GB, free: 3.492 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.644e-05/0.3799, allocations: 10.84 kB / 0.5818 GB, free: 3.492 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.178e-05/0.3799, allocations: 31.81 kB / 0.5818 GB, free: 3.453 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.737e-05/0.38, allocations: 3.609 kB / 0.5818 GB, free: 3.453 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000102/0.3801, allocations: 186.7 kB / 0.582 GB, free: 3.238 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.053e-06/0.3801, allocations: 1.5 kB / 0.582 GB, free: 3.238 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.016e-05/0.3801, allocations: 2.344 kB / 0.582 GB, free: 3.238 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001359/0.3802, allocations: 53.22 kB / 0.582 GB, free: 3.203 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.204e-05/0.3803, allocations: 5.062 kB / 0.582 GB, free: 3.199 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.949e-06/0.3803, allocations: 4.781 kB / 0.582 GB, free: 3.195 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.579e-06/0.3803, allocations: 1.188 kB / 0.582 GB, free: 3.195 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001358/0.3804, allocations: 33.02 kB / 0.5821 GB, free: 3.191 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002087/0.3806, allocations: 247.9 kB / 0.5823 GB, free: 2.918 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002006/0.3808, allocations: 75.11 kB / 0.5824 GB, free: 2.879 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.913e-05/0.3809, allocations: 22.03 kB / 0.5824 GB, free: 2.871 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.778e-05/0.3809, allocations: 1.438 kB / 0.5824 GB, free: 2.871 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.279e-05/0.381, allocations: 36.14 kB / 0.5824 GB, free: 2.828 MB / 430.1 MB Notification: Performance of pre-optimization done (n=4): time 1.333e-06/0.381, allocations: 0 / 0.5824 GB, free: 2.828 MB / 430.1 MB Notification: Performance of matching and sorting (n=8): time 0.02812/0.4091, allocations: 1.608 MB / 0.584 GB, free: 2.633 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.534e-05/0.4091, allocations: 52.78 kB / 0.5841 GB, free: 2.57 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.173e-05/0.4092, allocations: 128.8 kB / 0.5842 GB, free: 2.453 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 5.682e-05/0.4093, allocations: 27.61 kB / 0.5842 GB, free: 2.422 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.735e-05/0.4094, allocations: 90.42 kB / 0.5843 GB, free: 2.332 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.776e-05/0.4094, allocations: 28.78 kB / 0.5843 GB, free: 2.309 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001971/0.4096, allocations: 23.78 kB / 0.5843 GB, free: 2.289 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.951e-05/0.4097, allocations: 322.6 kB / 0.5847 GB, free: 1.969 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005221/0.4102, allocations: 144.7 kB / 0.5848 GB, free: 1.93 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004978/0.4107, allocations: 142.4 kB / 0.5849 GB, free: 1.895 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000989/0.4117, allocations: 291.2 kB / 0.5852 GB, free: 1.797 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.4117, allocations: 0 / 0.5852 GB, free: 1.797 MB / 430.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.001218/0.413, allocations: 339.8 kB / 0.5855 GB, free: 1.672 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.774e-05/0.413, allocations: 5.906 kB / 0.5855 GB, free: 1.672 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.62e-06/0.413, allocations: 3.938 kB / 0.5855 GB, free: 1.668 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.561e-05/0.413, allocations: 1.281 kB / 0.5855 GB, free: 1.668 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001579/0.4146, allocations: 61 kB / 0.5856 GB, free: 1.668 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.081e-06/0.4146, allocations: 5.125 kB / 0.5856 GB, free: 1.664 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001346/0.416, allocations: 45.22 kB / 0.5856 GB, free: 1.664 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.365e-05/0.416, allocations: 7.609 kB / 0.5857 GB, free: 1.66 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.0001536/0.4162, allocations: 121 kB / 0.5858 GB, free: 1.535 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.459e-05/0.4163, allocations: 7.672 kB / 0.5858 GB, free: 1.531 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001211/0.4164, allocations: 18.95 kB / 0.5858 GB, free: 1.512 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.358e-06/0.4164, allocations: 1.125 kB / 0.5858 GB, free: 1.512 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.91e-06/0.4164, allocations: 1.062 kB / 0.5858 GB, free: 1.512 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.397e-06/0.4164, allocations: 0.7969 kB / 0.5858 GB, free: 1.512 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005808/0.4223, allocations: 0.8457 MB / 0.5866 GB, free: 1.117 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.4223, allocations: 0.9375 kB / 0.5866 GB, free: 1.117 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001172/0.4235, allocations: 56.27 kB / 0.5867 GB, free: 1.113 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.957e-06/0.4235, allocations: 5.062 kB / 0.5867 GB, free: 1.109 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.529e-05/0.4235, allocations: 7.859 kB / 0.5867 GB, free: 1.105 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.577e-06/0.4235, allocations: 2.016 kB / 0.5867 GB, free: 1.105 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.4235, allocations: 0.8438 kB / 0.5867 GB, free: 1.105 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009417/0.4245, allocations: 324.3 kB / 0.587 GB, free: 0.918 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.546e-05/0.4245, allocations: 80.56 kB / 0.5871 GB, free: 0.8242 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.736e-05/0.4246, allocations: 6.562 kB / 0.5871 GB, free: 0.8203 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001087/0.4257, allocations: 38.94 kB / 0.5871 GB, free: 0.8203 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.414e-05/0.4257, allocations: 13.94 kB / 0.5871 GB, free: 0.8125 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.005e-05/0.4258, allocations: 8.141 kB / 0.5871 GB, free: 0.8086 MB / 430.1 MB Notification: Performance of sorting global known variables: time 4.531e-05/0.4258, allocations: 91.53 kB / 0.5872 GB, free: 0.7305 MB / 430.1 MB Notification: Performance of sort global known variables: time 5.21e-07/0.4258, allocations: 0 / 0.5872 GB, free: 0.7305 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0004593/0.4263, allocations: 92.14 kB / 0.5873 GB, free: 0.7266 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.001182/0.4275, allocations: 0.871 MB / 0.5882 GB, free: 4 kB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001059/0.4286, allocations: 245.3 kB / 0.5884 GB, free: 15.95 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.4286, allocations: 3.938 kB / 0.5884 GB, free: 15.95 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004426/0.429, allocations: 91.83 kB / 0.5885 GB, free: 15.93 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000305/0.4293, allocations: 14.12 kB / 0.5885 GB, free: 15.93 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006914/0.4362, allocations: 2.666 MB / 0.5911 GB, free: 14.17 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002853/0.4365, allocations: 0.6845 MB / 0.5918 GB, free: 13.48 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0005238/0.4371, allocations: 58.45 kB / 0.5918 GB, free: 13.43 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004636/0.4376, allocations: 21.12 kB / 0.5919 GB, free: 13.42 MB / 446.1 MB Notification: Performance of SimCode: time 2.51e-07/0.4376, allocations: 0 / 0.5919 GB, free: 13.42 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02642/0.464, allocations: 9.761 MB / 0.6014 GB, free: 8.609 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.874/8.338, allocations: 1.875 kB / 0.6014 GB, free: 8.609 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)