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.465/1.465, allocations: 251.9 MB / 266.8 MB, free: 11.02 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001229/0.001229, allocations: 182.1 kB / 326.5 MB, free: 2.25 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.934/1.934, allocations: 205.4 MB / 0.5775 GB, free: 20.27 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.0008044/0.0008043, allocations: 82.25 kB / 0.6821 GB, free: 12.91 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004567/0.0004569, allocations: 15.22 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2255/0.226, allocations: 106.3 MB / 0.9002 GB, free: 63.82 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1772/0.4033, allocations: 131.4 MB / 1.028 GB, free: 12.27 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002501/0.4036, allocations: 75.94 kB / 1.029 GB, free: 12.2 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.003884/0.4075, allocations: 1.25 MB / 1.03 GB, free: 10.94 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.984e-06/0.4075, allocations: 0 / 1.03 GB, free: 10.94 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 7.323e-06/0.4075, allocations: 0 / 1.03 GB, free: 10.94 MB / 0.6823 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.000531/0.4081, allocations: 379 kB / 1.03 GB, free: 10.52 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.765e-05/0.4081, allocations: 12.03 kB / 1.03 GB, free: 10.51 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.987e-05/0.4082, allocations: 30.56 kB / 1.03 GB, free: 10.47 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.074e-05/0.4082, allocations: 3.984 kB / 1.03 GB, free: 10.46 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001668/0.4084, allocations: 175 kB / 1.03 GB, free: 10.25 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.26e-05/0.4084, allocations: 7.938 kB / 1.03 GB, free: 10.25 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.237e-05/0.4084, allocations: 0 / 1.03 GB, free: 10.25 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001699/0.4086, allocations: 61.67 kB / 1.03 GB, free: 10.18 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.326e-05/0.4086, allocations: 3.906 kB / 1.03 GB, free: 10.18 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.247e-06/0.4086, allocations: 0 / 1.03 GB, free: 10.18 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-06/0.4086, allocations: 0 / 1.03 GB, free: 10.18 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000147/0.4088, allocations: 43.95 kB / 1.03 GB, free: 10.13 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003539/0.4092, allocations: 249 kB / 1.031 GB, free: 9.84 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002144/0.4094, allocations: 82.47 kB / 1.031 GB, free: 9.75 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.089e-05/0.4094, allocations: 0 / 1.031 GB, free: 9.75 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.341e-05/0.4095, allocations: 38.56 kB / 1.031 GB, free: 9.703 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=4): time 1.222e-06/0.4095, allocations: 0 / 1.031 GB, free: 9.703 MB / 0.6823 GB Notification: Performance of matching and sorting (n=8): time 0.03266/0.4421, allocations: 1.753 MB / 1.033 GB, free: 7.941 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7e-05/0.4423, allocations: 55.41 kB / 1.033 GB, free: 7.875 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001618/0.4425, allocations: 113 kB / 1.033 GB, free: 7.758 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 9.992e-05/0.4426, allocations: 25.7 kB / 1.033 GB, free: 7.727 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 8.724e-05/0.4427, allocations: 92.11 kB / 1.033 GB, free: 7.633 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001163/0.4428, allocations: 27.56 kB / 1.033 GB, free: 7.605 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.206e-05/0.4429, allocations: 0 / 1.033 GB, free: 7.605 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001614/0.4431, allocations: 326.8 kB / 1.033 GB, free: 7.277 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007847/0.4439, allocations: 163.8 kB / 1.033 GB, free: 7.117 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008083/0.4447, allocations: 156.2 kB / 1.033 GB, free: 6.965 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008077/0.4455, allocations: 167.9 kB / 1.034 GB, free: 6.801 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-06/0.4455, allocations: 0 / 1.034 GB, free: 6.801 MB / 0.6823 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.001884/0.4474, allocations: 381.4 kB / 1.034 GB, free: 6.422 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 3.16e-05/0.4475, allocations: 8 kB / 1.034 GB, free: 6.414 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.18e-05/0.4475, allocations: 4 kB / 1.034 GB, free: 6.41 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.237e-05/0.4475, allocations: 0 / 1.034 GB, free: 6.41 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002531/0.4501, allocations: 75.89 kB / 1.034 GB, free: 6.336 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.32e-05/0.4501, allocations: 3.953 kB / 1.034 GB, free: 6.332 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002034/0.4522, allocations: 55.95 kB / 1.034 GB, free: 6.277 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001127/0.4523, allocations: 11.97 kB / 1.034 GB, free: 6.266 MB / 0.6823 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.0002868/0.4526, allocations: 113.8 kB / 1.034 GB, free: 6.145 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001472/0.4527, allocations: 7.906 kB / 1.034 GB, free: 6.137 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002476/0.453, allocations: 16.38 kB / 1.034 GB, free: 6.121 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.471e-05/0.453, allocations: 7.984 kB / 1.034 GB, free: 6.113 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.123e-06/0.4531, allocations: 3.938 kB / 1.034 GB, free: 6.109 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.603e-06/0.4531, allocations: 3.953 kB / 1.034 GB, free: 6.105 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009089/0.4622, allocations: 0.9079 MB / 1.035 GB, free: 5.133 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.031e-06/0.4622, allocations: 0 / 1.035 GB, free: 5.133 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001558/0.4638, allocations: 75.84 kB / 1.035 GB, free: 5.059 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-05/0.4638, allocations: 4.422 kB / 1.035 GB, free: 5.055 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.803e-05/0.4639, allocations: 3.984 kB / 1.035 GB, free: 5.051 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.402e-06/0.4639, allocations: 4 kB / 1.035 GB, free: 5.047 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.699e-06/0.464, allocations: 0 / 1.035 GB, free: 5.047 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001455/0.4654, allocations: 396.5 kB / 1.036 GB, free: 4.625 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 6.749e-05/0.4655, allocations: 89 kB / 1.036 GB, free: 4.52 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.307e-05/0.4656, allocations: 4 kB / 1.036 GB, free: 4.516 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001455/0.4671, allocations: 47.95 kB / 1.036 GB, free: 4.469 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.991e-05/0.4671, allocations: 7.984 kB / 1.036 GB, free: 4.461 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.371e-05/0.4672, allocations: 8.266 kB / 1.036 GB, free: 4.453 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 9.886e-05/0.4673, allocations: 95.2 kB / 1.036 GB, free: 4.359 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2.344e-06/0.4673, allocations: 0 / 1.036 GB, free: 4.359 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0007428/0.4681, allocations: 107.9 kB / 1.036 GB, free: 4.254 MB / 0.6823 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.00209/0.4702, allocations: 1.097 MB / 1.037 GB, free: 3.117 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001474/0.4717, allocations: 283.8 kB / 1.037 GB, free: 2.84 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.095e-06/0.4717, allocations: 0 / 1.037 GB, free: 2.84 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0006342/0.4723, allocations: 120 kB / 1.037 GB, free: 2.723 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000291/0.4726, allocations: 11.95 kB / 1.037 GB, free: 2.711 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007238/0.4799, allocations: 1.61 MB / 1.039 GB, free: 1.043 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004092/0.4803, allocations: 0.6926 MB / 1.04 GB, free: 332 kB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0008462/0.4812, allocations: 56.14 kB / 1.04 GB, free: 276 kB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006963/0.4819, allocations: 39.36 kB / 1.04 GB, free: 236 kB / 0.6823 GB Notification: Performance of SimCode: time 9.12e-07/0.4819, allocations: 0 / 1.04 GB, free: 236 kB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02828/0.5102, allocations: 9.024 MB / 1.049 GB, free: 7.324 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002603/0.5105, allocations: 194.1 kB / 1.049 GB, free: 7.086 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.981/2.491, allocations: 0 / 1.049 GB, free: 7.086 MB / 0.698 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)