Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.CubicHermite.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.CubicHermite,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.CubicHermite") translateModel(Buildings.Utilities.Math.Functions.Examples.CubicHermite,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.CubicHermite") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.694/1.694, allocations: 288.3 MB / 303.2 MB, free: 8.105 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.001135/0.001136, allocations: 190.1 kB / 371.8 MB, free: 10.13 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.766/1.766, allocations: 205.4 MB / 0.6306 GB, free: 9.996 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001161/0.001161, allocations: 98.84 kB / 0.7439 GB, free: 5.918 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000421/0.000421, allocations: 13.84 kB / 0.8668 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2503/0.2507, allocations: 115.3 MB / 0.9794 GB, free: 27.69 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7912/1.042, allocations: 138.9 MB / 1.115 GB, free: 16.35 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002874/1.042, allocations: 80.03 kB / 1.115 GB, free: 16.35 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.009253/1.052, allocations: 3.197 MB / 1.118 GB, free: 31.9 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.665e-06/1.052, allocations: 0 / 1.118 GB, free: 31.9 MB / 0.698 GB Notification: Performance of Transformations before backend: time 9.147e-06/1.052, allocations: 3.812 kB / 1.118 GB, free: 31.9 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004171/1.052, allocations: 447.2 kB / 1.119 GB, free: 31.45 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.875e-05/1.052, allocations: 7.75 kB / 1.119 GB, free: 31.45 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.287e-05/1.052, allocations: 3.969 kB / 1.119 GB, free: 31.45 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001354/1.052, allocations: 178.1 kB / 1.119 GB, free: 31.24 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.558e-05/1.052, allocations: 3.906 kB / 1.119 GB, free: 31.24 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.358e-05/1.052, allocations: 0 / 1.119 GB, free: 31.24 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001735/1.052, allocations: 97.84 kB / 1.119 GB, free: 31.2 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.085e-05/1.053, allocations: 3.938 kB / 1.119 GB, free: 31.2 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.436e-05/1.053, allocations: 3.047 kB / 1.119 GB, free: 31.2 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-06/1.053, allocations: 0 / 1.119 GB, free: 31.2 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.48e-05/1.053, allocations: 58.03 kB / 1.119 GB, free: 31.2 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001521/1.053, allocations: 173.9 kB / 1.119 GB, free: 31.01 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 9.157e-05/1.053, allocations: 82.75 kB / 1.119 GB, free: 30.98 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 7.985e-06/1.053, allocations: 0 / 1.119 GB, free: 30.98 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.104e-05/1.053, allocations: 38.41 kB / 1.119 GB, free: 30.94 MB / 0.698 GB Notification: Performance of pre-optimization done (n=4): time 8.81e-07/1.053, allocations: 0 / 1.119 GB, free: 30.94 MB / 0.698 GB Notification: Performance of matching and sorting (n=4): time 0.0004185/1.053, allocations: 339.6 kB / 1.12 GB, free: 30.77 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.848e-05/1.053, allocations: 77.11 kB / 1.12 GB, free: 30.68 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001181/1.054, allocations: 136.9 kB / 1.12 GB, free: 30.58 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.88e-05/1.054, allocations: 25.7 kB / 1.12 GB, free: 30.55 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 5.491e-05/1.054, allocations: 91.67 kB / 1.12 GB, free: 30.47 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.542e-05/1.054, allocations: 18.61 kB / 1.12 GB, free: 30.46 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.984e-06/1.054, allocations: 7.906 kB / 1.12 GB, free: 30.45 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001202/1.054, allocations: 314.8 kB / 1.12 GB, free: 30.14 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000101/1.054, allocations: 101.8 kB / 1.12 GB, free: 30.14 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.444e-05/1.054, allocations: 93.52 kB / 1.12 GB, free: 30.14 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001589/1.054, allocations: 165 kB / 1.121 GB, free: 30.07 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/1.054, allocations: 0 / 1.121 GB, free: 30.07 MB / 0.698 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002805/1.054, allocations: 323.3 kB / 1.121 GB, free: 29.96 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 5.102e-05/1.055, allocations: 68.22 kB / 1.121 GB, free: 29.9 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.623e-06/1.055, allocations: 0.625 kB / 1.121 GB, free: 29.9 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.648e-05/1.055, allocations: 4.062 kB / 1.121 GB, free: 29.9 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.442e-06/1.055, allocations: 0 / 1.121 GB, free: 29.9 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.26e-06/1.055, allocations: 0 / 1.121 GB, free: 29.9 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.15e-05/1.055, allocations: 7.594 kB / 1.121 GB, free: 29.9 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.769e-05/1.055, allocations: 10.72 kB / 1.121 GB, free: 29.9 MB / 0.698 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 () * Number of clocked 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.0001124/1.055, allocations: 148 kB / 1.121 GB, free: 29.75 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.612e-05/1.055, allocations: 14.67 kB / 1.121 GB, free: 29.75 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.879e-05/1.055, allocations: 8.188 kB / 1.121 GB, free: 29.74 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.263e-06/1.055, allocations: 4 kB / 1.121 GB, free: 29.74 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/1.055, allocations: 0 / 1.121 GB, free: 29.74 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.164e-06/1.055, allocations: 0 / 1.121 GB, free: 29.74 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.291e-05/1.055, allocations: 177 kB / 1.121 GB, free: 29.55 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.22e-07/1.055, allocations: 0 / 1.121 GB, free: 29.55 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.31e-07/1.055, allocations: 0 / 1.121 GB, free: 29.55 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.322e-06/1.055, allocations: 0 / 1.121 GB, free: 29.55 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.303e-05/1.055, allocations: 7.906 kB / 1.121 GB, free: 29.54 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/1.055, allocations: 0 / 1.121 GB, free: 29.54 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/1.055, allocations: 0 / 1.121 GB, free: 29.54 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002341/1.055, allocations: 240.5 kB / 1.122 GB, free: 29.43 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 2.98e-05/1.055, allocations: 81.02 kB / 1.122 GB, free: 29.34 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.928e-05/1.055, allocations: 7.25 kB / 1.122 GB, free: 29.34 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.503e-05/1.055, allocations: 7.734 kB / 1.122 GB, free: 29.33 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.072e-05/1.055, allocations: 6.672 kB / 1.122 GB, free: 29.33 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.484e-06/1.055, allocations: 0 / 1.122 GB, free: 29.33 MB / 0.698 GB Notification: Performance of sorting global known variables: time 7.34e-05/1.056, allocations: 115.3 kB / 1.122 GB, free: 29.25 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.2e-07/1.056, allocations: 0 / 1.122 GB, free: 29.25 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.000272/1.056, allocations: 80.17 kB / 1.122 GB, free: 29.24 MB / 0.698 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) * Number of clocked states: 0 () * 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.000266/1.056, allocations: 163.5 kB / 1.122 GB, free: 29.13 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.000317/1.056, allocations: 363.1 kB / 1.122 GB, free: 29 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/1.056, allocations: 0 / 1.122 GB, free: 29 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001054/1.057, allocations: 142.1 kB / 1.122 GB, free: 28.94 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001037/1.057, allocations: 0 / 1.122 GB, free: 28.94 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000328/1.057, allocations: 216.5 kB / 1.123 GB, free: 28.8 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002463/1.057, allocations: 0.6939 MB / 1.123 GB, free: 28.11 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 6.853e-06/1.057, allocations: 3.844 kB / 1.123 GB, free: 28.11 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.514e-06/1.057, allocations: 7.438 kB / 1.123 GB, free: 28.1 MB / 0.698 GB Notification: Performance of SimCode: time 2.5e-07/1.057, allocations: 0 / 1.123 GB, free: 28.1 MB / 0.698 GB Notification: Performance of Templates: time 0.004103/1.061, allocations: 1.816 MB / 1.125 GB, free: 27.96 MB / 0.698 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.CubicHermite.makefile (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.CubicHermite.sim & ./Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.CubicHermite -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe 2>&1)