Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.CubicHermite.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.CubicHermite,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Math_Functions_Examples_CubicHermite",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.CubicHermite,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Math_Functions_Examples_CubicHermite",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.644/1.644, allocations: 249.3 MB / 261.8 MB, free: 5.906 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.001425/0.001425, allocations: 188.8 kB / 321.3 MB, free: 14.65 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.912/1.912, allocations: 205.2 MB / 0.572 GB, free: 10.62 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.0008191/0.0008191, allocations: 90.53 kB / 0.6764 GB, free: 15.6 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 4.361e-05/4.364e-05, allocations: 4 kB / 0.788 GB, free: 97.02 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2382/0.2383, allocations: 106.3 MB / 0.8919 GB, free: 6.574 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7744/1.013, allocations: 132.5 MB / 1.021 GB, free: 2.277 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002529/1.013, allocations: 77.45 kB / 1.021 GB, free: 2.234 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.009693/1.023, allocations: 3.181 MB / 1.024 GB, free: 15.42 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.764e-06/1.023, allocations: 0 / 1.024 GB, free: 15.42 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 6.963e-06/1.023, allocations: 4 kB / 1.024 GB, free: 15.41 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004191/1.023, allocations: 432 kB / 1.025 GB, free: 14.94 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.573e-05/1.023, allocations: 12.03 kB / 1.025 GB, free: 14.93 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.061e-05/1.023, allocations: 34.19 kB / 1.025 GB, free: 14.89 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.37e-05/1.023, allocations: 7.906 kB / 1.025 GB, free: 14.88 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000142/1.023, allocations: 176.3 kB / 1.025 GB, free: 14.67 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.281e-05/1.023, allocations: 4 kB / 1.025 GB, free: 14.67 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.522e-05/1.024, allocations: 0 / 1.025 GB, free: 14.67 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001991/1.024, allocations: 96.77 kB / 1.025 GB, free: 14.57 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.133e-06/1.024, allocations: 0 / 1.025 GB, free: 14.57 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.3e-05/1.024, allocations: 4 kB / 1.025 GB, free: 14.57 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.182e-06/1.024, allocations: 4 kB / 1.025 GB, free: 14.56 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.497e-05/1.024, allocations: 66.7 kB / 1.025 GB, free: 14.5 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001952/1.024, allocations: 184.6 kB / 1.025 GB, free: 14.28 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001112/1.024, allocations: 81.22 kB / 1.026 GB, free: 14.2 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.747e-05/1.024, allocations: 60.28 kB / 1.026 GB, free: 14.14 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 7.915e-06/1.024, allocations: 3.938 kB / 1.026 GB, free: 14.14 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.14e-05/1.024, allocations: 38.44 kB / 1.026 GB, free: 14.09 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=4): time 1.473e-06/1.024, allocations: 4 kB / 1.026 GB, free: 14.09 MB / 0.6511 GB Notification: Performance of matching and sorting (n=4): time 0.0003475/1.025, allocations: 186.5 kB / 1.026 GB, free: 13.9 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.266e-05/1.025, allocations: 81.11 kB / 1.026 GB, free: 13.8 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001363/1.025, allocations: 133.3 kB / 1.026 GB, free: 13.68 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.232e-05/1.025, allocations: 29.7 kB / 1.026 GB, free: 13.64 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 5.739e-05/1.025, allocations: 87.95 kB / 1.026 GB, free: 13.56 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 2.474e-05/1.025, allocations: 7.906 kB / 1.026 GB, free: 13.55 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.762e-06/1.025, allocations: 0 / 1.026 GB, free: 13.55 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001431/1.025, allocations: 326.5 kB / 1.026 GB, free: 13.23 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001363/1.025, allocations: 93.88 kB / 1.027 GB, free: 13.14 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001146/1.025, allocations: 97.8 kB / 1.027 GB, free: 13.06 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001823/1.026, allocations: 165.5 kB / 1.027 GB, free: 12.9 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/1.026, allocations: 7.938 kB / 1.027 GB, free: 12.89 MB / 0.6511 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003635/1.026, allocations: 301.8 kB / 1.027 GB, free: 12.61 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 5.805e-05/1.026, allocations: 75.31 kB / 1.027 GB, free: 12.52 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/1.026, allocations: 0 / 1.027 GB, free: 12.52 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.391e-05/1.026, allocations: 0 / 1.027 GB, free: 12.52 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.092e-06/1.026, allocations: 0 / 1.027 GB, free: 12.52 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.346e-06/1.026, allocations: 4.062 kB / 1.027 GB, free: 12.52 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.672e-05/1.026, allocations: 19.78 kB / 1.027 GB, free: 12.5 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.198e-05/1.026, allocations: 4 kB / 1.027 GB, free: 12.5 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: 1 (i) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 2 * 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 9.766e-05/1.026, allocations: 146.2 kB / 1.027 GB, free: 12.34 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.53e-05/1.026, allocations: 7.906 kB / 1.027 GB, free: 12.34 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.436e-05/1.026, allocations: 8.016 kB / 1.027 GB, free: 12.33 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/1.026, allocations: 0 / 1.027 GB, free: 12.33 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.287e-06/1.026, allocations: 4 kB / 1.027 GB, free: 12.32 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/1.026, allocations: 0 / 1.027 GB, free: 12.32 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001553/1.027, allocations: 171.7 kB / 1.027 GB, free: 12.11 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.504e-06/1.027, allocations: 7.953 kB / 1.027 GB, free: 12.11 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.71e-07/1.027, allocations: 3.938 kB / 1.027 GB, free: 12.1 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.313e-06/1.027, allocations: 0 / 1.027 GB, free: 12.1 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.589e-05/1.027, allocations: 3.984 kB / 1.027 GB, free: 12.1 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.42e-07/1.027, allocations: 3.938 kB / 1.027 GB, free: 12.09 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.325e-06/1.027, allocations: 4 kB / 1.027 GB, free: 12.09 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002775/1.027, allocations: 218.8 kB / 1.028 GB, free: 11.87 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 5.331e-05/1.027, allocations: 96.98 kB / 1.028 GB, free: 11.75 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.731e-05/1.027, allocations: 0 / 1.028 GB, free: 11.75 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.649e-05/1.027, allocations: 4 kB / 1.028 GB, free: 11.75 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.193e-05/1.027, allocations: 15.47 kB / 1.028 GB, free: 11.74 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.033e-05/1.027, allocations: 4 kB / 1.028 GB, free: 11.73 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 6.777e-05/1.027, allocations: 108.5 kB / 1.028 GB, free: 11.64 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.8e-07/1.027, allocations: 0 / 1.028 GB, free: 11.64 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0002961/1.028, allocations: 71.92 kB / 1.028 GB, free: 11.57 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (i) * Number of discrete states: 1 (i) * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0007647/1.028, allocations: 0.8213 MB / 1.029 GB, free: 10.72 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0004039/1.029, allocations: 365.4 kB / 1.029 GB, free: 10.4 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/1.029, allocations: 0 / 1.029 GB, free: 10.4 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001337/1.029, allocations: 132.7 kB / 1.029 GB, free: 10.27 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001104/1.029, allocations: 11.31 kB / 1.029 GB, free: 10.26 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004688/1.03, allocations: 233.3 kB / 1.03 GB, free: 10 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003289/1.03, allocations: 0.6887 MB / 1.03 GB, free: 9.289 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 5.951e-06/1.03, allocations: 0 / 1.03 GB, free: 9.289 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.773e-05/1.03, allocations: 19.05 kB / 1.03 GB, free: 9.277 MB / 0.6511 GB Notification: Performance of SimCode: time 3.21e-07/1.03, allocations: 4 kB / 1.03 GB, free: 9.273 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01394/1.044, allocations: 2.839 MB / 1.033 GB, free: 6.559 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000202/1.044, allocations: 176.5 kB / 1.033 GB, free: 6.328 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.559/2.603, allocations: 0 / 1.033 GB, free: 6.328 MB / 0.6511 GB (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.CubicHermite.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Utilities_Math_Functions_Examples_CubicHermite_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Utilities_Math_Functions_Examples_CubicHermite.fmu > Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe 2>&1)