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.0007809/0.000781, allocations: 92 kB / 15.06 MB, free: 1.098 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.000819/0.000819, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.279/1.279, allocations: 223.3 MB / 240 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.715/0.715, allocations: 132.3 MB / 423.4 MB, free: 2.109 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003054/0.0003055, allocations: 12.88 kB / 0.5035 GB, free: 4.137 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.365/0.3653, allocations: 81.57 MB / 0.5832 GB, free: 4.02 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.QuinticHermite): time 0.000597/0.366, allocations: 357.7 kB / 0.5835 GB, free: 3.777 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003313/0.3663, allocations: 186.2 kB / 0.5837 GB, free: 3.652 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.487e-05/0.3664, allocations: 2.25 kB / 0.5837 GB, free: 3.652 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 9.808e-06/0.3664, allocations: 3.938 kB / 0.5837 GB, free: 3.648 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001283/0.3665, allocations: 4.297 kB / 0.5837 GB, free: 3.648 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001474/0.3667, allocations: 69.98 kB / 0.5838 GB, free: 3.621 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 5.283e-05/0.3667, allocations: 23.22 kB / 0.5838 GB, free: 3.613 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.975e-05/0.3668, allocations: 3.203 kB / 0.5838 GB, free: 3.613 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.857e-05/0.3668, allocations: 17.3 kB / 0.5838 GB, free: 3.605 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.272e-05/0.3669, allocations: 24.44 kB / 0.5838 GB, free: 3.594 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.323e-05/0.3669, allocations: 2.156 kB / 0.5838 GB, free: 3.594 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001593/0.3671, allocations: 104.8 kB / 0.5839 GB, free: 3.562 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.096e-05/0.3671, allocations: 6.766 kB / 0.5839 GB, free: 3.559 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 1.395e-05/0.3671, allocations: 30.36 kB / 0.584 GB, free: 3.527 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001129/0.3672, allocations: 66.91 kB / 0.584 GB, free: 3.516 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.506e-06/0.3672, allocations: 0 / 0.584 GB, free: 3.516 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.3672, allocations: 0 / 0.584 GB, free: 3.516 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.347e-06/0.3672, allocations: 1.312 kB / 0.584 GB, free: 3.516 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.0003763/0.3676, allocations: 366.1 kB / 0.5844 GB, free: 3.148 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.626e-05/0.3677, allocations: 9.188 kB / 0.5844 GB, free: 3.148 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.538e-05/0.3677, allocations: 39.2 kB / 0.5844 GB, free: 3.102 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.084e-05/0.3677, allocations: 10.55 kB / 0.5844 GB, free: 3.094 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.525e-05/0.3678, allocations: 174.2 kB / 0.5846 GB, free: 2.891 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.676e-06/0.3678, allocations: 0.6562 kB / 0.5846 GB, free: 2.891 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.495e-05/0.3678, allocations: 2.688 kB / 0.5846 GB, free: 2.891 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001261/0.368, allocations: 60.77 kB / 0.5847 GB, free: 2.852 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.097e-06/0.368, allocations: 0 / 0.5847 GB, free: 2.852 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.093e-06/0.368, allocations: 0 / 0.5847 GB, free: 2.852 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.001e-06/0.368, allocations: 1.375 kB / 0.5847 GB, free: 2.852 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001399/0.3682, allocations: 41.31 kB / 0.5847 GB, free: 2.848 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001948/0.3684, allocations: 259.8 kB / 0.5849 GB, free: 2.562 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001949/0.3686, allocations: 78.25 kB / 0.585 GB, free: 2.531 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.625e-05/0.3686, allocations: 28.72 kB / 0.585 GB, free: 2.52 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.384e-05/0.3687, allocations: 1.625 kB / 0.585 GB, free: 2.52 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.443e-05/0.3687, allocations: 31.66 kB / 0.5851 GB, free: 2.48 MB / 430.1 MB Notification: Performance of pre-optimization done (n=4): time 1.102e-06/0.3687, allocations: 0 / 0.5851 GB, free: 2.48 MB / 430.1 MB Notification: Performance of matching and sorting (n=8): time 0.02403/0.3927, allocations: 1.763 MB / 0.5868 GB, free: 2.262 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.325e-05/0.3928, allocations: 56.97 kB / 0.5868 GB, free: 2.195 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.544e-05/0.3929, allocations: 124.4 kB / 0.587 GB, free: 2.082 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 5.128e-05/0.3929, allocations: 27.14 kB / 0.587 GB, free: 2.051 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.977e-05/0.393, allocations: 90.36 kB / 0.5871 GB, free: 1.961 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.765e-05/0.393, allocations: 21.02 kB / 0.5871 GB, free: 1.945 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.686e-05/0.3931, allocations: 0.625 kB / 0.5871 GB, free: 1.945 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.344e-05/0.3931, allocations: 322.5 kB / 0.5874 GB, free: 1.625 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005058/0.3936, allocations: 157.5 kB / 0.5876 GB, free: 1.59 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004908/0.3941, allocations: 165.9 kB / 0.5877 GB, free: 1.547 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005168/0.3947, allocations: 162.2 kB / 0.5879 GB, free: 1.5 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.11e-07/0.3947, allocations: 1.938 kB / 0.5879 GB, free: 1.5 MB / 430.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.001208/0.3959, allocations: 383.7 kB / 0.5882 GB, free: 1.375 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.63e-05/0.3959, allocations: 5.094 kB / 0.5882 GB, free: 1.375 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.3959, allocations: 4.703 kB / 0.5882 GB, free: 1.371 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.386e-05/0.396, allocations: 0.8438 kB / 0.5882 GB, free: 1.371 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00134/0.3973, allocations: 81.59 kB / 0.5883 GB, free: 1.367 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.23e-06/0.3973, allocations: 0 / 0.5883 GB, free: 1.367 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001113/0.3984, allocations: 55.27 kB / 0.5884 GB, free: 1.363 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.307e-05/0.3985, allocations: 13.94 kB / 0.5884 GB, free: 1.359 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001353/0.3986, allocations: 112.3 kB / 0.5885 GB, free: 1.242 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.359e-05/0.3987, allocations: 7.047 kB / 0.5885 GB, free: 1.238 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001333/0.3989, allocations: 19.69 kB / 0.5885 GB, free: 1.219 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.138e-06/0.3989, allocations: 8.922 kB / 0.5885 GB, free: 1.211 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.52e-06/0.3989, allocations: 1.672 kB / 0.5885 GB, free: 1.211 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.467e-06/0.3989, allocations: 0.6094 kB / 0.5885 GB, free: 1.211 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005056/0.4039, allocations: 0.9131 MB / 0.5894 GB, free: 0.8164 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.404, allocations: 1.125 kB / 0.5894 GB, free: 0.8164 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009871/0.405, allocations: 76.92 kB / 0.5895 GB, free: 0.8086 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.641e-06/0.405, allocations: 1.156 kB / 0.5895 GB, free: 0.8086 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.221e-05/0.405, allocations: 13.39 kB / 0.5895 GB, free: 0.8047 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.697e-06/0.405, allocations: 2.031 kB / 0.5895 GB, free: 0.8047 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.405, allocations: 0 / 0.5895 GB, free: 0.8047 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009463/0.406, allocations: 382 kB / 0.5899 GB, free: 0.6055 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.436e-05/0.406, allocations: 83.97 kB / 0.59 GB, free: 0.5078 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.851e-05/0.4061, allocations: 1.766 kB / 0.59 GB, free: 0.5078 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008814/0.407, allocations: 49.12 kB / 0.59 GB, free: 0.5039 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.723e-05/0.407, allocations: 8.828 kB / 0.59 GB, free: 0.5 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.895e-05/0.4071, allocations: 9.25 kB / 0.59 GB, free: 0.5 MB / 430.1 MB Notification: Performance of sorting global known variables: time 4.074e-05/0.4071, allocations: 95.75 kB / 0.5901 GB, free: 428 kB / 430.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.4071, allocations: 0 / 0.5901 GB, free: 428 kB / 430.1 MB Notification: Performance of remove unused functions: time 0.0004359/0.4076, allocations: 95.3 kB / 0.5902 GB, free: 420 kB / 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001245/0.4088, allocations: 0.9273 MB / 0.5911 GB, free: 15.68 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001049/0.4099, allocations: 278.8 kB / 0.5914 GB, free: 15.62 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.4099, allocations: 0 / 0.5914 GB, free: 15.62 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004611/0.4104, allocations: 121.6 kB / 0.5915 GB, free: 15.61 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002823/0.4106, allocations: 7.406 kB / 0.5915 GB, free: 15.6 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004587/0.4152, allocations: 1.605 MB / 0.5931 GB, free: 14.79 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002398/0.4155, allocations: 0.6853 MB / 0.5937 GB, free: 14.09 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0005491/0.4161, allocations: 57.2 kB / 0.5938 GB, free: 14.05 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004683/0.4165, allocations: 37.11 kB / 0.5938 GB, free: 14.04 MB / 446.1 MB Notification: Performance of SimCode: time 2.41e-07/0.4165, allocations: 0 / 0.5938 GB, free: 14.04 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01921/0.4357, allocations: 9.021 MB / 0.6026 GB, free: 9.516 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000185/0.436, allocations: 184.7 kB / 0.6028 GB, free: 9.277 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.933/2.369, allocations: 4 kB / 0.6028 GB, free: 9.273 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/linux/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) Environment - environmentSimulation: