Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Functions.Examples.CubicHermite.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.CubicHermite,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Functions.Examples.CubicHermite") translateModel(Buildings.Utilities.Math.Functions.Examples.CubicHermite,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Functions.Examples.CubicHermite") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.649/1.649, allocations: 292.6 MB / 307.5 MB, free: 5.191 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.0009893/0.0009892, allocations: 185 kB / 377.1 MB, free: 1.512 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.647/1.647, allocations: 205.4 MB / 0.6367 GB, free: 8.539 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008541/0.0008538, allocations: 96.59 kB / 0.751 GB, free: 63.03 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003682/0.0003686, allocations: 12 kB / 0.8748 GB, free: 11.17 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3098/0.3102, allocations: 116.3 MB / 0.9884 GB, free: 6.711 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7908/1.101, allocations: 139.8 MB / 1.125 GB, free: 35.04 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003792/1.101, allocations: 82.44 kB / 1.125 GB, free: 34.98 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.009925/1.111, allocations: 3.18 MB / 1.128 GB, free: 32.79 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.124e-06/1.111, allocations: 4 kB / 1.128 GB, free: 32.79 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 8.285e-06/1.112, allocations: 0 / 1.128 GB, free: 32.79 MB / 0.7292 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.0004576/1.112, allocations: 453.9 kB / 1.129 GB, free: 32.29 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.003e-05/1.112, allocations: 16.02 kB / 1.129 GB, free: 32.28 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.993e-05/1.112, allocations: 6.062 kB / 1.129 GB, free: 32.27 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001184/1.112, allocations: 173.1 kB / 1.129 GB, free: 32.07 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.793e-05/1.112, allocations: 0.75 kB / 1.129 GB, free: 32.07 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.678e-05/1.112, allocations: 7.562 kB / 1.129 GB, free: 32.06 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001943/1.112, allocations: 95.2 kB / 1.129 GB, free: 31.98 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.756e-06/1.112, allocations: 4 kB / 1.129 GB, free: 31.98 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.754e-05/1.113, allocations: 0.6094 kB / 1.129 GB, free: 31.98 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.122e-06/1.113, allocations: 0 / 1.129 GB, free: 31.98 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.425e-05/1.113, allocations: 65.95 kB / 1.129 GB, free: 31.93 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001711/1.113, allocations: 172.3 kB / 1.129 GB, free: 31.72 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001079/1.113, allocations: 77.17 kB / 1.129 GB, free: 31.64 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 9.087e-06/1.113, allocations: 2.094 kB / 1.129 GB, free: 31.64 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.003e-05/1.113, allocations: 42.75 kB / 1.129 GB, free: 31.6 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=4): time 1.082e-06/1.113, allocations: 0 / 1.129 GB, free: 31.6 MB / 0.7292 GB Notification: Performance of matching and sorting (n=4): time 0.0004482/1.113, allocations: 334.6 kB / 1.13 GB, free: 31.28 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.23e-05/1.113, allocations: 80.62 kB / 1.13 GB, free: 31.18 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000112/1.114, allocations: 132.4 kB / 1.13 GB, free: 31.05 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.685e-05/1.114, allocations: 25.7 kB / 1.13 GB, free: 31.02 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 4.509e-05/1.114, allocations: 91.66 kB / 1.13 GB, free: 30.93 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.577e-05/1.114, allocations: 19.75 kB / 1.13 GB, free: 30.91 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.502e-06/1.114, allocations: 0 / 1.13 GB, free: 30.91 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 6.563e-05/1.114, allocations: 322.9 kB / 1.13 GB, free: 30.59 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001062/1.114, allocations: 93.25 kB / 1.13 GB, free: 30.52 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001026/1.114, allocations: 97.58 kB / 1.13 GB, free: 30.44 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001518/1.114, allocations: 164.6 kB / 1.13 GB, free: 30.28 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/1.114, allocations: 0 / 1.13 GB, free: 30.28 MB / 0.7292 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003217/1.115, allocations: 310.5 kB / 1.131 GB, free: 30 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 6.02e-05/1.115, allocations: 77.16 kB / 1.131 GB, free: 29.92 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.773e-06/1.115, allocations: 3.938 kB / 1.131 GB, free: 29.91 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.133e-05/1.115, allocations: 4 kB / 1.131 GB, free: 29.91 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.694e-06/1.115, allocations: 4.062 kB / 1.131 GB, free: 29.91 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.025e-06/1.115, allocations: 0 / 1.131 GB, free: 29.91 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.082e-05/1.115, allocations: 4.938 kB / 1.131 GB, free: 29.9 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.854e-05/1.115, allocations: 11.84 kB / 1.131 GB, free: 29.89 MB / 0.7292 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 9.529e-05/1.115, allocations: 151.2 kB / 1.131 GB, free: 29.73 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.786e-05/1.115, allocations: 12.98 kB / 1.131 GB, free: 29.72 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.031e-05/1.115, allocations: 4.25 kB / 1.131 GB, free: 29.72 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.883e-06/1.115, allocations: 0 / 1.131 GB, free: 29.72 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.693e-06/1.115, allocations: 7.422 kB / 1.131 GB, free: 29.71 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-06/1.115, allocations: 4.562 kB / 1.131 GB, free: 29.71 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001077/1.115, allocations: 172.3 kB / 1.131 GB, free: 29.5 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/1.115, allocations: 0.5625 kB / 1.131 GB, free: 29.5 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.024e-06/1.115, allocations: 4 kB / 1.131 GB, free: 29.5 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.394e-06/1.115, allocations: 0 / 1.131 GB, free: 29.5 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.312e-05/1.115, allocations: 3.953 kB / 1.131 GB, free: 29.5 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.965e-06/1.115, allocations: 1.5 kB / 1.131 GB, free: 29.5 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.572e-06/1.115, allocations: 0 / 1.131 GB, free: 29.5 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000262/1.115, allocations: 236.2 kB / 1.131 GB, free: 29.27 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 3.403e-05/1.115, allocations: 81.02 kB / 1.132 GB, free: 29.17 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.971e-05/1.115, allocations: 4 kB / 1.132 GB, free: 29.17 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.817e-05/1.116, allocations: 8.453 kB / 1.132 GB, free: 29.16 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.095e-05/1.116, allocations: 11.61 kB / 1.132 GB, free: 29.15 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.216e-06/1.116, allocations: 0 / 1.132 GB, free: 29.15 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 6.419e-05/1.116, allocations: 115 kB / 1.132 GB, free: 29.05 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.3e-07/1.116, allocations: 0 / 1.132 GB, free: 29.05 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0003391/1.116, allocations: 75.5 kB / 1.132 GB, free: 28.98 MB / 0.7292 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.0003633/1.116, allocations: 162.2 kB / 1.132 GB, free: 28.82 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0003457/1.117, allocations: 363.6 kB / 1.132 GB, free: 28.48 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/1.117, allocations: 0 / 1.132 GB, free: 28.48 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001104/1.117, allocations: 133.3 kB / 1.132 GB, free: 28.35 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001224/1.117, allocations: 8.562 kB / 1.132 GB, free: 28.34 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003402/1.117, allocations: 216.5 kB / 1.133 GB, free: 28.12 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001327/1.118, allocations: 0.6952 MB / 1.133 GB, free: 27.41 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 8.426e-06/1.118, allocations: 0 / 1.133 GB, free: 27.41 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.142e-05/1.118, allocations: 7.438 kB / 1.133 GB, free: 27.41 MB / 0.7292 GB Notification: Performance of SimCode: time 5.61e-07/1.118, allocations: 0 / 1.133 GB, free: 27.41 MB / 0.7292 GB Notification: Performance of Templates: time 0.005052/1.123, allocations: 1.822 MB / 1.135 GB, free: 26.41 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.CubicHermite.makefile (rm -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Functions.Examples.CubicHermite.sim & ./Buildings_8_Buildings.Utilities.Math.Functions.Examples.CubicHermite -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe 2>&1)