Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Utilities.Math.Functions.Examples.QuinticHermite,fileNamePrefix="Buildings_8_Buildings_Utilities_Math_Functions_Examples_QuinticHermite",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.QuinticHermite,fileNamePrefix="Buildings_8_Buildings_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.001044/0.001044, allocations: 86.88 kB / 15.06 MB, free: 1.09 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.001059/0.001059, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.592/1.592, allocations: 205.4 MB / 222.1 MB, free: 5.652 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.794/1.794, allocations: 292.7 MB / 0.5499 GB, free: 14.56 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0006006/0.0006006, allocations: 18.72 kB / 0.6738 GB, free: 26.28 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2885/0.2891, allocations: 116.3 MB / 0.7874 GB, free: 11.85 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.QuinticHermite): time 0.0009104/0.2901, allocations: 375.4 kB / 0.7878 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0004407/0.2906, allocations: 171.6 kB / 0.7879 GB, free: 11.31 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.199e-05/0.2906, allocations: 0 / 0.7879 GB, free: 11.31 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.387e-05/0.2906, allocations: 0 / 0.7879 GB, free: 11.31 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001878/0.2908, allocations: 15.86 kB / 0.788 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001659/0.291, allocations: 67.89 kB / 0.788 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 6.716e-05/0.2911, allocations: 19.92 kB / 0.788 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 5.436e-05/0.2911, allocations: 7.984 kB / 0.788 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 4.637e-05/0.2912, allocations: 15.92 kB / 0.7881 GB, free: 11.19 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 8.318e-05/0.2913, allocations: 23.91 kB / 0.7881 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.5e-05/0.2913, allocations: 4 kB / 0.7881 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001533/0.2915, allocations: 95.73 kB / 0.7882 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.439e-05/0.2915, allocations: 11.97 kB / 0.7882 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.339e-05/0.2915, allocations: 33.64 kB / 0.7882 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001254/0.2916, allocations: 59.95 kB / 0.7883 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/0.2917, allocations: 0 / 0.7883 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.164e-06/0.2917, allocations: 7.938 kB / 0.7883 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.278e-06/0.2917, allocations: 0 / 0.7883 GB, free: 10.95 MB / 0.6075 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.0005369/0.2922, allocations: 367.5 kB / 0.7886 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.883e-05/0.2923, allocations: 8.031 kB / 0.7886 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.989e-05/0.2923, allocations: 30.56 kB / 0.7887 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.081e-05/0.2924, allocations: 7.906 kB / 0.7887 GB, free: 10.49 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001675/0.2925, allocations: 175 kB / 0.7888 GB, free: 10.28 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.253e-05/0.2926, allocations: 4 kB / 0.7888 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.519e-05/0.2926, allocations: 7.984 kB / 0.7889 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001672/0.2928, allocations: 57.61 kB / 0.7889 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.322e-05/0.2928, allocations: 0 / 0.7889 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.608e-06/0.2928, allocations: 0 / 0.7889 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.494e-06/0.2928, allocations: 4 kB / 0.7889 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001566/0.293, allocations: 43.97 kB / 0.789 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003322/0.2933, allocations: 256.8 kB / 0.7892 GB, free: 9.855 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002069/0.2935, allocations: 82.52 kB / 0.7893 GB, free: 9.766 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.08e-05/0.2936, allocations: 32.88 kB / 0.7893 GB, free: 9.73 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.597e-05/0.2937, allocations: 0 / 0.7893 GB, free: 9.73 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.032e-05/0.2937, allocations: 34.56 kB / 0.7893 GB, free: 9.688 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=4): time 8.91e-07/0.2937, allocations: 0 / 0.7893 GB, free: 9.688 MB / 0.6075 GB Notification: Performance of matching and sorting (n=8): time 0.02284/0.3165, allocations: 1.749 MB / 0.7911 GB, free: 7.93 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.265e-05/0.3167, allocations: 59.3 kB / 0.7911 GB, free: 7.859 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001215/0.3168, allocations: 121.8 kB / 0.7912 GB, free: 7.73 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 6.082e-05/0.3169, allocations: 25.7 kB / 0.7913 GB, free: 7.699 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 8.337e-05/0.3169, allocations: 96.05 kB / 0.7913 GB, free: 7.602 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 7.372e-05/0.317, allocations: 23.64 kB / 0.7914 GB, free: 7.578 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.772e-05/0.3171, allocations: 4 kB / 0.7914 GB, free: 7.574 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001224/0.3172, allocations: 314.8 kB / 0.7917 GB, free: 7.258 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000478/0.3177, allocations: 163.9 kB / 0.7918 GB, free: 7.098 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004581/0.3182, allocations: 156.2 kB / 0.792 GB, free: 6.945 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000493/0.3187, allocations: 168.1 kB / 0.7921 GB, free: 6.781 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.342e-06/0.3187, allocations: 0 / 0.7921 GB, free: 6.781 MB / 0.6075 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.001164/0.3199, allocations: 385.3 kB / 0.7925 GB, free: 6.398 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.523e-05/0.3199, allocations: 8 kB / 0.7925 GB, free: 6.391 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.189e-05/0.3199, allocations: 0 / 0.7925 GB, free: 6.391 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.466e-05/0.3199, allocations: 4 kB / 0.7925 GB, free: 6.387 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001326/0.3213, allocations: 75.89 kB / 0.7926 GB, free: 6.312 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.138e-05/0.3213, allocations: 7.953 kB / 0.7926 GB, free: 6.305 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001077/0.3224, allocations: 51.94 kB / 0.7926 GB, free: 6.254 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.885e-05/0.3224, allocations: 7.984 kB / 0.7926 GB, free: 6.246 MB / 0.6075 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001627/0.3226, allocations: 113.8 kB / 0.7928 GB, free: 6.125 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.385e-05/0.3227, allocations: 7.906 kB / 0.7928 GB, free: 6.117 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00015/0.3228, allocations: 24.36 kB / 0.7928 GB, free: 6.094 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.946e-06/0.3229, allocations: 0 / 0.7928 GB, free: 6.094 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.371e-06/0.3229, allocations: 0 / 0.7928 GB, free: 6.094 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/0.3229, allocations: 3.953 kB / 0.7928 GB, free: 6.09 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004859/0.3277, allocations: 0.9116 MB / 0.7937 GB, free: 5.113 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.506e-06/0.3278, allocations: 8.062 kB / 0.7937 GB, free: 5.105 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000917/0.3287, allocations: 71.97 kB / 0.7938 GB, free: 5.035 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.243e-06/0.3287, allocations: 3.953 kB / 0.7938 GB, free: 5.031 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.741e-05/0.3288, allocations: 11.97 kB / 0.7938 GB, free: 5.02 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.156e-06/0.3288, allocations: 0 / 0.7938 GB, free: 5.02 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.3288, allocations: 0 / 0.7938 GB, free: 5.02 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009361/0.3297, allocations: 369 kB / 0.7941 GB, free: 4.637 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.292e-05/0.3298, allocations: 92.94 kB / 0.7942 GB, free: 4.527 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.854e-05/0.3299, allocations: 3.953 kB / 0.7942 GB, free: 4.523 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008362/0.3307, allocations: 51.95 kB / 0.7943 GB, free: 4.473 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.351e-05/0.3307, allocations: 4 kB / 0.7943 GB, free: 4.469 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.617e-05/0.3308, allocations: 11.97 kB / 0.7943 GB, free: 4.457 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 7.225e-05/0.3309, allocations: 99.3 kB / 0.7944 GB, free: 4.359 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.11e-07/0.3309, allocations: 0 / 0.7944 GB, free: 4.359 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0004498/0.3313, allocations: 92 kB / 0.7945 GB, free: 4.27 MB / 0.6075 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 (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.001299/0.3326, allocations: 0.917 MB / 0.7954 GB, free: 3.32 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001012/0.3337, allocations: 283.8 kB / 0.7956 GB, free: 3.043 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.3337, allocations: 0 / 0.7956 GB, free: 3.043 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0004032/0.3341, allocations: 123.8 kB / 0.7958 GB, free: 2.922 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002975/0.3344, allocations: 7.938 kB / 0.7958 GB, free: 2.914 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004448/0.3388, allocations: 1.614 MB / 0.7973 GB, free: 1.246 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002551/0.3391, allocations: 0.6912 MB / 0.798 GB, free: 0.5312 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0005361/0.3397, allocations: 56.17 kB / 0.7981 GB, free: 488 kB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004574/0.3401, allocations: 43.36 kB / 0.7981 GB, free: 444 kB / 0.6075 GB Notification: Performance of SimCode: time 1.172e-06/0.3401, allocations: 0 / 0.7981 GB, free: 444 kB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0222/0.3623, allocations: 9.022 MB / 0.8069 GB, free: 7.496 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001955/0.3626, allocations: 205.3 kB / 0.8071 GB, free: 7.25 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.121/2.484, allocations: 0 / 0.8071 GB, free: 7.25 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_Math_Functions_Examples_QuinticHermite_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Utilities_Math_Functions_Examples_QuinticHermite.fmu > Buildings_8_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe 2>&1) Environment - environmentSimulation: