Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.CubicHermite.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.CubicHermite,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.CubicHermite") translateModel(Buildings.Utilities.Math.Functions.Examples.CubicHermite,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.CubicHermite") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.742/2.742, allocations: 284.8 MB / 297.3 MB, free: 6.359 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00155/0.00155, allocations: 192.5 kB / 365.7 MB, free: 2.582 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.063/2.063, allocations: 205.1 MB / 0.6241 GB, free: 8.18 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00138/0.001381, allocations: 92.05 kB / 0.7372 GB, free: 40.77 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.978e-05/4e-05, allocations: 4 kB / 0.8574 GB, free: 13.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8298/0.8298, allocations: 115.2 MB / 0.97 GB, free: 78.16 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2454/1.075, allocations: 138.6 MB / 1.105 GB, free: 13.81 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000352/1.076, allocations: 87.55 kB / 1.105 GB, free: 13.73 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.01627/1.092, allocations: 3.166 MB / 1.109 GB, free: 10.61 MB / 0.7136 GB Notification: Performance of FrontEnd: time 3.597e-06/1.092, allocations: 2.688 kB / 1.109 GB, free: 10.61 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.918e-05/1.092, allocations: 4 kB / 1.109 GB, free: 10.61 MB / 0.7136 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.0009463/1.093, allocations: 430.4 kB / 1.109 GB, free: 10.13 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 0.0001275/1.093, allocations: 12.03 kB / 1.109 GB, free: 10.12 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001386/1.093, allocations: 13.03 kB / 1.109 GB, free: 10.11 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003409/1.094, allocations: 176.4 kB / 1.109 GB, free: 9.895 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.484e-05/1.094, allocations: 0.5312 kB / 1.109 GB, free: 9.895 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.502e-05/1.094, allocations: 4.719 kB / 1.109 GB, free: 9.891 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004062/1.094, allocations: 100.2 kB / 1.109 GB, free: 9.789 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.133e-05/1.094, allocations: 0 / 1.109 GB, free: 9.789 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.419e-05/1.094, allocations: 4 kB / 1.109 GB, free: 9.785 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.953e-06/1.094, allocations: 1.219 kB / 1.109 GB, free: 9.785 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001636/1.095, allocations: 57.12 kB / 1.109 GB, free: 9.73 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002396/1.095, allocations: 189.5 kB / 1.109 GB, free: 9.496 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001836/1.095, allocations: 82.53 kB / 1.11 GB, free: 9.406 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000157/1.095, allocations: 76.83 kB / 1.11 GB, free: 9.328 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 9.859e-06/1.095, allocations: 0 / 1.11 GB, free: 9.328 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.295e-05/1.095, allocations: 30.56 kB / 1.11 GB, free: 9.289 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=4): time 2.175e-06/1.095, allocations: 0 / 1.11 GB, free: 9.289 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4): time 0.0004855/1.096, allocations: 183.3 kB / 1.11 GB, free: 9.098 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.892e-05/1.096, allocations: 77.11 kB / 1.11 GB, free: 9.004 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001809/1.096, allocations: 142 kB / 1.11 GB, free: 8.855 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 4.408e-05/1.096, allocations: 25.7 kB / 1.11 GB, free: 8.824 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 6.822e-05/1.096, allocations: 88.14 kB / 1.11 GB, free: 8.734 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.576e-05/1.096, allocations: 14.7 kB / 1.11 GB, free: 8.723 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.528e-05/1.096, allocations: 8 kB / 1.11 GB, free: 8.715 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001297/1.096, allocations: 310.8 kB / 1.11 GB, free: 8.402 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002101/1.097, allocations: 95.94 kB / 1.111 GB, free: 8.309 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002121/1.097, allocations: 103.9 kB / 1.111 GB, free: 8.207 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002651/1.097, allocations: 167.3 kB / 1.111 GB, free: 8.031 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.689e-06/1.097, allocations: 3.953 kB / 1.111 GB, free: 8.027 MB / 0.7136 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0005994/1.098, allocations: 309.7 kB / 1.111 GB, free: 7.707 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 8.286e-05/1.098, allocations: 71.39 kB / 1.111 GB, free: 7.625 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.495e-06/1.098, allocations: 0 / 1.111 GB, free: 7.625 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.712e-05/1.098, allocations: 0 / 1.111 GB, free: 7.625 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.874e-06/1.098, allocations: 0 / 1.111 GB, free: 7.625 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.847e-06/1.098, allocations: 0 / 1.111 GB, free: 7.625 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001429/1.098, allocations: 18.8 kB / 1.111 GB, free: 7.609 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.597e-05/1.098, allocations: 8 kB / 1.111 GB, free: 7.602 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: 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.0001314/1.098, allocations: 134.7 kB / 1.111 GB, free: 7.457 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.88e-05/1.098, allocations: 15.84 kB / 1.111 GB, free: 7.441 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.336e-05/1.098, allocations: 12.03 kB / 1.111 GB, free: 7.418 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/1.098, allocations: 0 / 1.111 GB, free: 7.418 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/1.098, allocations: 0 / 1.111 GB, free: 7.418 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.485e-06/1.098, allocations: 0 / 1.111 GB, free: 7.418 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001574/1.099, allocations: 169.6 kB / 1.112 GB, free: 7.203 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/1.099, allocations: 0 / 1.112 GB, free: 7.203 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.7e-06/1.099, allocations: 3.953 kB / 1.112 GB, free: 7.199 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/1.099, allocations: 3.938 kB / 1.112 GB, free: 7.195 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.055e-05/1.099, allocations: 12 kB / 1.112 GB, free: 7.184 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/1.099, allocations: 0 / 1.112 GB, free: 7.184 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/1.099, allocations: 1.094 kB / 1.112 GB, free: 7.184 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004487/1.099, allocations: 222.6 kB / 1.112 GB, free: 6.941 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.83e-05/1.099, allocations: 81.02 kB / 1.112 GB, free: 6.844 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.966e-05/1.099, allocations: 7.953 kB / 1.112 GB, free: 6.836 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.772e-05/1.099, allocations: 7 kB / 1.112 GB, free: 6.832 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.387e-05/1.099, allocations: 16.02 kB / 1.112 GB, free: 6.816 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.106e-05/1.099, allocations: 0 / 1.112 GB, free: 6.816 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0001033/1.1, allocations: 105 kB / 1.112 GB, free: 6.715 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.11e-07/1.1, allocations: 0 / 1.112 GB, free: 6.715 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0004752/1.1, allocations: 79.86 kB / 1.112 GB, free: 6.637 MB / 0.7136 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.0004374/1.101, allocations: 159.2 kB / 1.112 GB, free: 6.473 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0006077/1.101, allocations: 366.6 kB / 1.113 GB, free: 6.09 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/1.101, allocations: 64 / 1.113 GB, free: 6.09 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0002074/1.101, allocations: 135.4 kB / 1.113 GB, free: 5.945 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001409/1.102, allocations: 14.02 kB / 1.113 GB, free: 5.934 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004314/1.102, allocations: 159.8 kB / 1.113 GB, free: 5.754 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002851/1.102, allocations: 0.6926 MB / 1.114 GB, free: 5.035 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 1.094e-05/1.102, allocations: 0 / 1.114 GB, free: 5.035 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.203e-05/1.102, allocations: 7.438 kB / 1.114 GB, free: 5.027 MB / 0.7136 GB Notification: Performance of SimCode: time 9.32e-07/1.102, allocations: 0 / 1.114 GB, free: 5.027 MB / 0.7136 GB Notification: Performance of Templates: time 0.006641/1.109, allocations: 1.852 MB / 1.115 GB, free: 3.219 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.CubicHermite.makefile (rm -f Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.CubicHermite.sim & ./Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.CubicHermite -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe 2>&1)