Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.QuinticHermite,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Math_Functions_Examples_QuinticHermite",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.QuinticHermite,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Math_Functions_Examples_QuinticHermite",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.624/1.624, allocations: 249.3 MB / 261.8 MB, free: 5.918 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009964/0.0009963, allocations: 170.7 kB / 321.3 MB, free: 14.66 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.633/1.633, allocations: 205.2 MB / 0.572 GB, free: 10.71 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008787/0.0008788, allocations: 91.08 kB / 0.6764 GB, free: 15.69 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 6.16e-05/6.161e-05, allocations: 4 kB / 0.788 GB, free: 97.02 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2028/0.2029, allocations: 106.3 MB / 0.8919 GB, free: 6.586 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7398/0.9428, allocations: 131.3 MB / 1.02 GB, free: 3.477 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002154/0.943, allocations: 79.62 kB / 1.02 GB, free: 3.43 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.003725/0.9468, allocations: 1.237 MB / 1.021 GB, free: 2.328 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.063e-06/0.9468, allocations: 0 / 1.021 GB, free: 2.328 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.595e-06/0.9468, allocations: 4 kB / 1.021 GB, free: 2.324 MB / 0.6355 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.000356/0.9472, allocations: 361.5 kB / 1.022 GB, free: 1.93 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.703e-05/0.9472, allocations: 8.031 kB / 1.022 GB, free: 1.922 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.591e-05/0.9473, allocations: 30.56 kB / 1.022 GB, free: 1.883 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.099e-05/0.9473, allocations: 11.22 kB / 1.022 GB, free: 1.875 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001605/0.9475, allocations: 171 kB / 1.022 GB, free: 1.668 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.076e-05/0.9475, allocations: 0 / 1.022 GB, free: 1.668 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.253e-05/0.9475, allocations: 4 kB / 1.022 GB, free: 1.664 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001124/0.9477, allocations: 52.61 kB / 1.022 GB, free: 1.613 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.338e-05/0.9477, allocations: 11.92 kB / 1.022 GB, free: 1.605 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.015e-05/0.9477, allocations: 0 / 1.022 GB, free: 1.605 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.639e-06/0.9477, allocations: 0 / 1.022 GB, free: 1.605 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.965e-05/0.9478, allocations: 15.38 kB / 1.022 GB, free: 1.594 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000309/0.9481, allocations: 252 kB / 1.022 GB, free: 1.305 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 8.805e-05/0.9482, allocations: 38.02 kB / 1.022 GB, free: 1.262 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.757e-05/0.9482, allocations: 20.05 kB / 1.022 GB, free: 1.242 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.103e-05/0.9483, allocations: 4.078 kB / 1.022 GB, free: 1.238 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.21e-05/0.9483, allocations: 36.88 kB / 1.022 GB, free: 1.199 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=4): time 1.423e-06/0.9483, allocations: 0 / 1.022 GB, free: 1.199 MB / 0.6355 GB Notification: Performance of matching and sorting (n=8): time 0.01632/0.9646, allocations: 1.129 MB / 1.023 GB, free: 160 kB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.051e-05/0.9647, allocations: 51.41 kB / 1.024 GB, free: 96 kB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001507/0.9649, allocations: 108.7 kB / 1.024 GB, free: 15.99 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 6.48e-05/0.965, allocations: 29.7 kB / 1.024 GB, free: 15.95 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 6.102e-05/0.965, allocations: 91.3 kB / 1.024 GB, free: 15.86 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 8.859e-05/0.9651, allocations: 27.06 kB / 1.024 GB, free: 15.84 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.167e-05/0.9652, allocations: 0 / 1.024 GB, free: 15.84 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001291/0.9653, allocations: 318.6 kB / 1.024 GB, free: 15.52 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003511/0.9657, allocations: 120.4 kB / 1.024 GB, free: 15.44 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003436/0.966, allocations: 118.9 kB / 1.024 GB, free: 15.36 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003875/0.9664, allocations: 113.9 kB / 1.024 GB, free: 15.28 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.9664, allocations: 0 / 1.024 GB, free: 15.28 MB / 0.6511 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0009493/0.9674, allocations: 280.8 kB / 1.025 GB, free: 15.07 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.114e-05/0.9674, allocations: 4 kB / 1.025 GB, free: 15.07 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.706e-06/0.9674, allocations: 0 / 1.025 GB, free: 15.07 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.624e-05/0.9675, allocations: 4 kB / 1.025 GB, free: 15.07 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001639/0.9691, allocations: 75.88 kB / 1.025 GB, free: 14.99 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.015e-05/0.9691, allocations: 0 / 1.025 GB, free: 14.99 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001386/0.9705, allocations: 51.94 kB / 1.025 GB, free: 14.94 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.246e-05/0.9706, allocations: 4 kB / 1.025 GB, free: 14.94 MB / 0.6511 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 () * 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.0001817/0.9708, allocations: 108.2 kB / 1.025 GB, free: 14.83 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.27e-05/0.9709, allocations: 11.84 kB / 1.025 GB, free: 14.82 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001448/0.971, allocations: 18.56 kB / 1.025 GB, free: 14.8 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.791e-06/0.971, allocations: 4 kB / 1.025 GB, free: 14.8 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.145e-06/0.9711, allocations: 3.953 kB / 1.025 GB, free: 14.79 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/0.9711, allocations: 3.984 kB / 1.025 GB, free: 14.79 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005459/0.9765, allocations: 0.7948 MB / 1.026 GB, free: 13.98 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.051e-06/0.9766, allocations: 3.953 kB / 1.026 GB, free: 13.98 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001141/0.9777, allocations: 64 kB / 1.026 GB, free: 13.91 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.886e-06/0.9777, allocations: 0 / 1.026 GB, free: 13.91 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.142e-05/0.9778, allocations: 7.562 kB / 1.026 GB, free: 13.91 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.218e-06/0.9778, allocations: 288 / 1.026 GB, free: 13.91 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.9778, allocations: 0 / 1.026 GB, free: 13.91 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007654/0.9786, allocations: 305.5 kB / 1.026 GB, free: 13.61 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 6.479e-05/0.9787, allocations: 88.95 kB / 1.026 GB, free: 13.5 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.241e-05/0.9787, allocations: 0 / 1.026 GB, free: 13.5 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001011/0.9798, allocations: 44.83 kB / 1.026 GB, free: 13.46 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.897e-05/0.9798, allocations: 8.266 kB / 1.026 GB, free: 13.45 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.513e-05/0.9798, allocations: 11.75 kB / 1.026 GB, free: 13.44 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 6.287e-05/0.9799, allocations: 91.08 kB / 1.026 GB, free: 13.36 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.21e-07/0.9799, allocations: 0 / 1.026 GB, free: 13.36 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0004203/0.9804, allocations: 103.4 kB / 1.026 GB, free: 13.26 MB / 0.6511 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 () * 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.001289/0.9816, allocations: 0.9862 MB / 1.027 GB, free: 12.27 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0007141/0.9824, allocations: 192.8 kB / 1.028 GB, free: 12.12 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.9824, allocations: 0 / 1.028 GB, free: 12.12 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0002925/0.9827, allocations: 73.55 kB / 1.028 GB, free: 12.07 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001847/0.9829, allocations: 11.14 kB / 1.028 GB, free: 12.06 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002733/0.9856, allocations: 296 kB / 1.028 GB, free: 11.74 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002762/0.9859, allocations: 0.6887 MB / 1.029 GB, free: 11.03 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0005/0.9864, allocations: 56.02 kB / 1.029 GB, free: 10.97 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004678/0.9869, allocations: 25.42 kB / 1.029 GB, free: 10.95 MB / 0.6511 GB Notification: Performance of SimCode: time 9.61e-07/0.9869, allocations: 0 / 1.029 GB, free: 10.95 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02055/1.007, allocations: 8.897 MB / 1.037 GB, free: 2.129 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002492/1.008, allocations: 174.7 kB / 1.038 GB, free: 1.902 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.923/2.93, allocations: 0 / 1.038 GB, free: 1.902 MB / 0.6511 GB (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Utilities_Math_Functions_Examples_QuinticHermite_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Utilities_Math_Functions_Examples_QuinticHermite.fmu > Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe 2>&1)