Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.CubicHermite.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.CubicHermite,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.CubicHermite") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.333/2.333, allocations: 252.6 MB / 265.2 MB, free: 5.742 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001399/0.001399, allocations: 186.9 kB / 324.5 MB, free: 14.34 MB / 266.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.153/2.153, allocations: 205.4 MB / 0.5754 GB, free: 10.47 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001134/0.001134, allocations: 99.66 kB / 0.6797 GB, free: 15.7 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 4.132e-05/4.142e-05, allocations: 12 kB / 0.7911 GB, free: 96.57 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2078/0.2079, allocations: 106.2 MB / 0.8949 GB, free: 6.223 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8492/1.057, allocations: 132.3 MB / 1.024 GB, free: 2.188 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000319/1.058, allocations: 86.5 kB / 1.024 GB, free: 2.137 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.01625/1.074, allocations: 3.176 MB / 1.027 GB, free: 15.32 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.733e-06/1.074, allocations: 0 / 1.027 GB, free: 15.32 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 1.268e-05/1.074, allocations: 4 kB / 1.027 GB, free: 15.32 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.0004933/1.074, allocations: 431.7 kB / 1.028 GB, free: 14.84 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.811e-05/1.074, allocations: 12.03 kB / 1.028 GB, free: 14.83 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.463e-05/1.074, allocations: 3.906 kB / 1.028 GB, free: 14.83 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001567/1.075, allocations: 182 kB / 1.028 GB, free: 14.62 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.292e-05/1.075, allocations: 3.938 kB / 1.028 GB, free: 14.61 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.419e-05/1.075, allocations: 4 kB / 1.028 GB, free: 14.61 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002427/1.075, allocations: 96.77 kB / 1.028 GB, free: 14.51 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.655e-06/1.075, allocations: 0 / 1.028 GB, free: 14.51 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.457e-05/1.075, allocations: 0 / 1.028 GB, free: 14.51 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/1.075, allocations: 0 / 1.028 GB, free: 14.51 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001464/1.075, allocations: 62.16 kB / 1.028 GB, free: 14.46 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001954/1.075, allocations: 179.8 kB / 1.028 GB, free: 14.24 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001689/1.076, allocations: 81.34 kB / 1.028 GB, free: 14.16 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00015/1.076, allocations: 75.83 kB / 1.028 GB, free: 14.09 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 4.97e-06/1.076, allocations: 0 / 1.028 GB, free: 14.09 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.672e-05/1.076, allocations: 30.56 kB / 1.028 GB, free: 14.05 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=4): time 1.793e-06/1.076, allocations: 0 / 1.028 GB, free: 14.05 MB / 0.6511 GB Notification: Performance of matching and sorting (n=4): time 0.0004565/1.076, allocations: 191.7 kB / 1.029 GB, free: 13.86 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.498e-05/1.076, allocations: 83.42 kB / 1.029 GB, free: 13.76 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001549/1.077, allocations: 134 kB / 1.029 GB, free: 13.63 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.358e-05/1.077, allocations: 25.7 kB / 1.029 GB, free: 13.6 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 6.913e-05/1.077, allocations: 103.9 kB / 1.029 GB, free: 13.5 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 2.87e-05/1.077, allocations: 7.531 kB / 1.029 GB, free: 13.49 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.286e-05/1.077, allocations: 4 kB / 1.029 GB, free: 13.49 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001281/1.077, allocations: 318 kB / 1.029 GB, free: 13.17 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002054/1.077, allocations: 95.19 kB / 1.029 GB, free: 13.09 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002084/1.077, allocations: 104.2 kB / 1.029 GB, free: 13 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002563/1.078, allocations: 153.7 kB / 1.03 GB, free: 12.85 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/1.078, allocations: 0 / 1.03 GB, free: 12.85 MB / 0.6511 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0006273/1.078, allocations: 315.9 kB / 1.03 GB, free: 12.55 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 8.248e-05/1.078, allocations: 74.64 kB / 1.03 GB, free: 12.46 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.268e-06/1.078, allocations: 3.984 kB / 1.03 GB, free: 12.46 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.697e-05/1.078, allocations: 0 / 1.03 GB, free: 12.46 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.323e-06/1.078, allocations: 0 / 1.03 GB, free: 12.46 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.234e-05/1.078, allocations: 3.984 kB / 1.03 GB, free: 12.46 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001333/1.079, allocations: 15.84 kB / 1.03 GB, free: 12.44 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.508e-05/1.079, allocations: 8 kB / 1.03 GB, free: 12.43 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 0.0001208/1.079, allocations: 142 kB / 1.03 GB, free: 12.29 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.586e-05/1.079, allocations: 7.906 kB / 1.03 GB, free: 12.28 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.886e-05/1.079, allocations: 12.03 kB / 1.03 GB, free: 12.27 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-06/1.079, allocations: 0 / 1.03 GB, free: 12.27 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/1.079, allocations: 0 / 1.03 GB, free: 12.27 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.936e-06/1.079, allocations: 0 / 1.03 GB, free: 12.27 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001637/1.079, allocations: 176.9 kB / 1.03 GB, free: 12.05 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.744e-06/1.079, allocations: 0 / 1.03 GB, free: 12.05 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.062e-06/1.079, allocations: 0 / 1.03 GB, free: 12.05 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.385e-06/1.079, allocations: 0 / 1.03 GB, free: 12.05 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.75e-05/1.079, allocations: 4 kB / 1.03 GB, free: 12.05 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/1.079, allocations: 0 / 1.03 GB, free: 12.05 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/1.079, allocations: 0 / 1.03 GB, free: 12.05 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004469/1.08, allocations: 232.1 kB / 1.031 GB, free: 11.81 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 5.045e-05/1.08, allocations: 84.97 kB / 1.031 GB, free: 11.71 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.169e-05/1.08, allocations: 4 kB / 1.031 GB, free: 11.7 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.159e-05/1.08, allocations: 7.984 kB / 1.031 GB, free: 11.7 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.475e-05/1.08, allocations: 7.375 kB / 1.031 GB, free: 11.69 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.215e-05/1.08, allocations: 0.875 kB / 1.031 GB, free: 11.69 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0001016/1.08, allocations: 111.2 kB / 1.031 GB, free: 11.59 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.6e-07/1.08, allocations: 4.031 kB / 1.031 GB, free: 11.59 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0004672/1.08, allocations: 75.38 kB / 1.031 GB, free: 11.52 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.0003999/1.081, allocations: 163.1 kB / 1.031 GB, free: 11.34 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.000602/1.081, allocations: 361.3 kB / 1.031 GB, free: 11.02 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.644e-06/1.082, allocations: 0 / 1.031 GB, free: 11.02 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0002518/1.082, allocations: 141.1 kB / 1.031 GB, free: 10.89 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001295/1.082, allocations: 8.828 kB / 1.031 GB, free: 10.88 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004413/1.082, allocations: 163.2 kB / 1.032 GB, free: 10.71 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003025/1.083, allocations: 0.6962 MB / 1.032 GB, free: 9.988 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 6.623e-06/1.083, allocations: 0 / 1.032 GB, free: 9.988 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.38e-05/1.083, allocations: 7.438 kB / 1.032 GB, free: 9.98 MB / 0.6511 GB Notification: Performance of SimCode: time 1.252e-06/1.083, allocations: 0 / 1.032 GB, free: 9.98 MB / 0.6511 GB Notification: Performance of Templates: time 0.006566/1.089, allocations: 1.844 MB / 1.034 GB, free: 8.152 MB / 0.6511 GB