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.463/1.463, allocations: 249.5 MB / 257 MB, free: 6.922 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.001044/0.001044, allocations: 180.8 kB / 316.3 MB, free: 3.23 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.366/1.366, allocations: 205.3 MB / 0.5671 GB, free: 15.82 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.0009726/0.0009725, allocations: 86.53 kB / 0.6714 GB, free: 4.938 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.198e-05/2.2e-05, allocations: 8 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2416/0.2417, allocations: 106.4 MB / 0.8853 GB, free: 12.14 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8621/1.104, allocations: 131.6 MB / 1.014 GB, free: 5.738 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002459/1.104, allocations: 73.69 kB / 1.014 GB, free: 5.695 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.003814/1.108, allocations: 1.233 MB / 1.015 GB, free: 4.605 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.834e-06/1.108, allocations: 0 / 1.015 GB, free: 4.605 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.111e-05/1.108, allocations: 4 kB / 1.015 GB, free: 4.602 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.000451/1.108, allocations: 362.1 kB / 1.015 GB, free: 4.207 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.634e-05/1.109, allocations: 8.031 kB / 1.015 GB, free: 4.199 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.686e-05/1.109, allocations: 11.81 kB / 1.015 GB, free: 4.191 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001942/1.109, allocations: 181.9 kB / 1.016 GB, free: 3.977 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.449e-05/1.109, allocations: 0 / 1.016 GB, free: 3.977 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.027e-05/1.109, allocations: 0 / 1.016 GB, free: 3.977 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.504e-05/1.109, allocations: 19.92 kB / 1.016 GB, free: 3.961 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.533e-05/1.109, allocations: 37.69 kB / 1.016 GB, free: 3.918 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.372e-05/1.109, allocations: 0 / 1.016 GB, free: 3.918 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.099e-05/1.109, allocations: 0 / 1.016 GB, free: 3.918 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.538e-06/1.109, allocations: 0 / 1.016 GB, free: 3.918 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000312/1.109, allocations: 247.4 kB / 1.016 GB, free: 3.645 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 7.804e-05/1.109, allocations: 33.64 kB / 1.016 GB, free: 3.609 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.585e-05/1.11, allocations: 12.86 kB / 1.016 GB, free: 3.594 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.254e-05/1.11, allocations: 0 / 1.016 GB, free: 3.594 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.238e-05/1.11, allocations: 42.58 kB / 1.016 GB, free: 3.547 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=4): time 2.224e-06/1.11, allocations: 0 / 1.016 GB, free: 3.547 MB / 0.6355 GB Notification: Performance of matching and sorting (n=8): time 0.01628/1.126, allocations: 1.206 MB / 1.017 GB, free: 2.434 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.233e-05/1.126, allocations: 51.41 kB / 1.017 GB, free: 2.371 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001096/1.126, allocations: 115.6 kB / 1.017 GB, free: 2.258 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 7.052e-05/1.126, allocations: 25.7 kB / 1.017 GB, free: 2.227 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.478e-05/1.126, allocations: 95.23 kB / 1.017 GB, free: 2.133 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 7.509e-05/1.126, allocations: 25.77 kB / 1.018 GB, free: 2.113 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.063e-05/1.126, allocations: 0 / 1.018 GB, free: 2.113 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001595/1.127, allocations: 310.8 kB / 1.018 GB, free: 1.801 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002859/1.127, allocations: 118.6 kB / 1.018 GB, free: 1.723 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002824/1.127, allocations: 112.5 kB / 1.018 GB, free: 1.645 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006092/1.128, allocations: 159.6 kB / 1.018 GB, free: 1.527 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/1.128, allocations: 4 kB / 1.018 GB, free: 1.523 MB / 0.6355 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.001068/1.129, allocations: 324.3 kB / 1.018 GB, free: 1.273 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.881e-05/1.129, allocations: 8 kB / 1.018 GB, free: 1.266 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.131e-06/1.129, allocations: 0 / 1.018 GB, free: 1.266 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.73e-05/1.129, allocations: 0 / 1.018 GB, free: 1.266 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001513/1.13, allocations: 64.03 kB / 1.019 GB, free: 1.203 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.038e-05/1.13, allocations: 3.938 kB / 1.019 GB, free: 1.199 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001326/1.132, allocations: 59.89 kB / 1.019 GB, free: 1.141 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.089e-05/1.132, allocations: 4 kB / 1.019 GB, free: 1.137 MB / 0.6355 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.0001734/1.132, allocations: 106.5 kB / 1.019 GB, free: 1.031 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001097/1.133, allocations: 320.9 kB / 1.019 GB, free: 0.7812 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7e-05/1.133, allocations: 0 / 1.019 GB, free: 0.7812 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001408/1.133, allocations: 20.25 kB / 1.019 GB, free: 0.7656 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.366e-06/1.133, allocations: 3.828 kB / 1.019 GB, free: 0.7656 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.394e-06/1.133, allocations: 7.953 kB / 1.019 GB, free: 0.7578 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.457e-06/1.133, allocations: 0 / 1.019 GB, free: 0.7578 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005531/1.139, allocations: 0.8186 MB / 1.02 GB, free: 15.94 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/1.139, allocations: 0 / 1.02 GB, free: 15.94 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001086/1.14, allocations: 63.89 kB / 1.02 GB, free: 15.88 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.582e-06/1.14, allocations: 0 / 1.02 GB, free: 15.88 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.003e-05/1.14, allocations: 11.8 kB / 1.02 GB, free: 15.87 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.795e-06/1.14, allocations: 4 kB / 1.02 GB, free: 15.86 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.3e-06/1.14, allocations: 0 / 1.02 GB, free: 15.86 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008836/1.141, allocations: 336.3 kB / 1.02 GB, free: 15.53 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 4.318e-05/1.141, allocations: 89.09 kB / 1.02 GB, free: 15.43 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.213e-05/1.141, allocations: 0 / 1.02 GB, free: 15.43 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009894/1.142, allocations: 43.95 kB / 1.02 GB, free: 15.38 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.882e-05/1.142, allocations: 7.984 kB / 1.02 GB, free: 15.38 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.754e-05/1.142, allocations: 4 kB / 1.02 GB, free: 15.37 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 5.844e-05/1.142, allocations: 90.16 kB / 1.02 GB, free: 15.29 MB / 0.6511 GB Notification: Performance of sort global known variables: time 2.3e-07/1.142, allocations: 4 kB / 1.02 GB, free: 15.29 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0004281/1.143, allocations: 103.9 kB / 1.021 GB, free: 15.18 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.001382/1.144, allocations: 1.032 MB / 1.022 GB, free: 14.14 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0006086/1.145, allocations: 185.2 kB / 1.022 GB, free: 14.01 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/1.145, allocations: 0 / 1.022 GB, free: 14.01 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.000238/1.145, allocations: 68.61 kB / 1.022 GB, free: 13.95 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001958/1.145, allocations: 4.422 kB / 1.022 GB, free: 13.95 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002626/1.148, allocations: 290.4 kB / 1.022 GB, free: 13.63 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002649/1.148, allocations: 0.6885 MB / 1.023 GB, free: 12.92 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0004981/1.149, allocations: 52.78 kB / 1.023 GB, free: 12.87 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004382/1.149, allocations: 26.11 kB / 1.023 GB, free: 12.85 MB / 0.6511 GB Notification: Performance of SimCode: time 2.8e-07/1.149, allocations: 0 / 1.023 GB, free: 12.85 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0288/1.178, allocations: 7.946 MB / 1.031 GB, free: 4.863 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002564/1.178, allocations: 164.8 kB / 1.031 GB, free: 4.668 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.937/3.116, allocations: 0 / 1.031 GB, free: 4.668 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)