Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.QuinticHermite,fileNamePrefix="Buildings_8_0_0_Buildings_Utilities_Math_Functions_Examples_QuinticHermite",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.QuinticHermite,fileNamePrefix="Buildings_8_0_0_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 8.0.0/package.mo): time 2.767/2.767, allocations: 284.9 MB / 292.4 MB, free: 10.57 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001385/0.001384, allocations: 176.8 kB / 360.6 MB, free: 7.293 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.075/2.075, allocations: 205.3 MB / 0.6191 GB, free: 12.2 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00109/0.001089, allocations: 92.41 kB / 0.7321 GB, free: 44.72 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.642e-05/3.633e-05, allocations: 12 kB / 0.8509 GB, free: 3.316 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8272/0.8273, allocations: 115.3 MB / 0.9634 GB, free: 78.59 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2423/1.07, allocations: 136.8 MB / 1.097 GB, free: 3.668 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002954/1.07, allocations: 83.08 kB / 1.097 GB, free: 3.59 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.006003/1.076, allocations: 1.229 MB / 1.098 GB, free: 2.387 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.024e-06/1.076, allocations: 4.438 kB / 1.098 GB, free: 2.383 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.764e-06/1.076, allocations: 0.7812 kB / 1.098 GB, free: 2.383 MB / 0.698 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.0004947/1.077, allocations: 351.9 kB / 1.099 GB, free: 1.996 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.371e-05/1.077, allocations: 12.03 kB / 1.099 GB, free: 1.984 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.806e-05/1.077, allocations: 5.828 kB / 1.099 GB, free: 1.98 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002016/1.077, allocations: 185.1 kB / 1.099 GB, free: 1.762 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.501e-05/1.077, allocations: 0.625 kB / 1.099 GB, free: 1.762 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.31e-05/1.077, allocations: 0 / 1.099 GB, free: 1.762 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.371e-05/1.077, allocations: 12.5 kB / 1.099 GB, free: 1.75 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001113/1.077, allocations: 46.23 kB / 1.099 GB, free: 1.699 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.324e-05/1.077, allocations: 0.7812 kB / 1.099 GB, free: 1.699 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.594e-05/1.077, allocations: 0 / 1.099 GB, free: 1.699 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.001e-06/1.077, allocations: 4.469 kB / 1.099 GB, free: 1.695 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003407/1.078, allocations: 235.4 kB / 1.099 GB, free: 1.43 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000119/1.078, allocations: 36.08 kB / 1.099 GB, free: 1.387 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.318e-05/1.078, allocations: 25.05 kB / 1.099 GB, free: 1.363 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.248e-05/1.078, allocations: 0 / 1.099 GB, free: 1.363 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.584e-05/1.078, allocations: 32.81 kB / 1.099 GB, free: 1.324 MB / 0.698 GB Notification: Performance of pre-optimization done (n=4): time 1.653e-06/1.078, allocations: 0 / 1.099 GB, free: 1.324 MB / 0.698 GB Notification: Performance of matching and sorting (n=8): time 0.03471/1.113, allocations: 1.204 MB / 1.1 GB, free: 124 kB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.384e-05/1.113, allocations: 55.41 kB / 1.1 GB, free: 56 kB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000152/1.113, allocations: 110.5 kB / 1.1 GB, free: 15.94 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 9.064e-05/1.113, allocations: 25.7 kB / 1.101 GB, free: 15.91 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 7.387e-05/1.113, allocations: 95.98 kB / 1.101 GB, free: 15.81 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001112/1.113, allocations: 19.7 kB / 1.101 GB, free: 15.79 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.92e-05/1.113, allocations: 0 / 1.101 GB, free: 15.79 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001245/1.113, allocations: 318.8 kB / 1.101 GB, free: 15.47 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000594/1.114, allocations: 119.9 kB / 1.101 GB, free: 15.36 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005889/1.115, allocations: 112 kB / 1.101 GB, free: 15.25 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001311/1.116, allocations: 162 kB / 1.101 GB, free: 15.09 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.848e-06/1.116, allocations: 0 / 1.101 GB, free: 15.09 MB / 0.7136 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.002242/1.118, allocations: 325.4 kB / 1.102 GB, free: 14.77 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 3.272e-05/1.118, allocations: 4 kB / 1.102 GB, free: 14.76 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.937e-06/1.118, allocations: 7.938 kB / 1.102 GB, free: 14.75 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.222e-05/1.118, allocations: 0 / 1.102 GB, free: 14.75 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003007/1.121, allocations: 68.69 kB / 1.102 GB, free: 14.69 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.078e-06/1.121, allocations: 0 / 1.102 GB, free: 14.69 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002623/1.124, allocations: 57.11 kB / 1.102 GB, free: 14.63 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001008/1.124, allocations: 4 kB / 1.102 GB, free: 14.63 MB / 0.7136 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.0002826/1.125, allocations: 105 kB / 1.102 GB, free: 14.52 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002224/1.127, allocations: 317.4 kB / 1.102 GB, free: 14.2 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001212/1.127, allocations: 11 kB / 1.102 GB, free: 14.2 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002371/1.127, allocations: 20.62 kB / 1.102 GB, free: 14.18 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.678e-06/1.127, allocations: 0.75 kB / 1.102 GB, free: 14.18 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.855e-06/1.127, allocations: 3.953 kB / 1.102 GB, free: 14.17 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/1.127, allocations: 0 / 1.102 GB, free: 14.17 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01084/1.138, allocations: 0.8139 MB / 1.103 GB, free: 13.31 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.478e-06/1.138, allocations: 3.984 kB / 1.103 GB, free: 13.3 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002146/1.14, allocations: 67.95 kB / 1.103 GB, free: 13.24 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.797e-05/1.14, allocations: 0 / 1.103 GB, free: 13.24 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.988e-05/1.14, allocations: 4 kB / 1.103 GB, free: 13.23 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.594e-06/1.14, allocations: 0 / 1.103 GB, free: 13.23 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.609e-06/1.14, allocations: 3.938 kB / 1.103 GB, free: 13.23 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001813/1.142, allocations: 340.5 kB / 1.103 GB, free: 12.86 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 6.611e-05/1.142, allocations: 85.58 kB / 1.103 GB, free: 12.76 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001024/1.142, allocations: 0 / 1.103 GB, free: 12.76 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002035/1.145, allocations: 47.95 kB / 1.104 GB, free: 12.71 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.875e-05/1.145, allocations: 7.984 kB / 1.104 GB, free: 12.71 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.816e-05/1.145, allocations: 4 kB / 1.104 GB, free: 12.7 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 9.312e-05/1.145, allocations: 91.28 kB / 1.104 GB, free: 12.61 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.01e-07/1.145, allocations: 0 / 1.104 GB, free: 12.61 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0006278/1.145, allocations: 103.9 kB / 1.104 GB, free: 12.51 MB / 0.7136 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.002333/1.148, allocations: 1.028 MB / 1.105 GB, free: 11.45 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.001228/1.149, allocations: 192.9 kB / 1.105 GB, free: 11.26 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 4.529e-06/1.149, allocations: 0 / 1.105 GB, free: 11.26 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0004823/1.15, allocations: 67.92 kB / 1.105 GB, free: 11.19 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002628/1.15, allocations: 16.02 kB / 1.105 GB, free: 11.18 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005101/1.155, allocations: 277.6 kB / 1.105 GB, free: 10.86 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002988/1.155, allocations: 0.6924 MB / 1.106 GB, free: 10.14 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0008777/1.156, allocations: 49.03 kB / 1.106 GB, free: 10.09 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008109/1.157, allocations: 23.42 kB / 1.106 GB, free: 10.07 MB / 0.7136 GB Notification: Performance of SimCode: time 1.233e-06/1.157, allocations: 1.125 kB / 1.106 GB, free: 10.07 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04917/1.206, allocations: 7.95 MB / 1.114 GB, free: 2.129 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003257/1.207, allocations: 152.6 kB / 1.114 GB, free: 1.934 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.78/3.987, allocations: 0 / 1.114 GB, free: 1.934 MB / 0.7136 GB (rm -f Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Utilities_Math_Functions_Examples_QuinticHermite_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Utilities_Math_Functions_Examples_QuinticHermite.fmu > Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe 2>&1)