Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.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.QuinticHermite,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Functions.Examples.QuinticHermite") translateModel(Buildings.Utilities.Math.Functions.Examples.QuinticHermite,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Functions.Examples.QuinticHermite") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.628/1.628, allocations: 292.6 MB / 307.5 MB, free: 5.219 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.001786/0.001786, allocations: 169.1 kB / 377.1 MB, free: 1.543 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.533/1.533, allocations: 205.4 MB / 0.6367 GB, free: 9.543 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.0008826/0.0008827, allocations: 94.91 kB / 0.751 GB, free: 62.84 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000365/0.000365, allocations: 11.98 kB / 0.8748 GB, free: 11.34 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2792/0.2796, allocations: 116.3 MB / 0.9884 GB, free: 6.879 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7717/1.051, allocations: 138.7 MB / 1.124 GB, free: 35.99 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003435/1.052, allocations: 78.05 kB / 1.124 GB, free: 35.93 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.003624/1.055, allocations: 1.239 MB / 1.125 GB, free: 34.93 MB / 0.7292 GB Notification: Performance of FrontEnd: time 5.831e-06/1.055, allocations: 4.984 kB / 1.125 GB, free: 34.92 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 8.015e-06/1.055, allocations: 0 / 1.125 GB, free: 34.92 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004021/1.056, allocations: 372.2 kB / 1.125 GB, free: 34.53 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.136e-05/1.056, allocations: 12.03 kB / 1.125 GB, free: 34.52 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.4e-05/1.056, allocations: 6.688 kB / 1.125 GB, free: 34.51 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001464/1.056, allocations: 167 kB / 1.126 GB, free: 34.31 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.788e-05/1.056, allocations: 5.312 kB / 1.126 GB, free: 34.3 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.544e-05/1.056, allocations: 4.625 kB / 1.126 GB, free: 34.3 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001692/1.056, allocations: 60.58 kB / 1.126 GB, free: 34.25 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.499e-05/1.056, allocations: 0.75 kB / 1.126 GB, free: 34.25 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.234e-05/1.056, allocations: 8 kB / 1.126 GB, free: 34.24 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.623e-06/1.056, allocations: 1.719 kB / 1.126 GB, free: 34.24 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001318/1.057, allocations: 38.59 kB / 1.126 GB, free: 34.21 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002833/1.057, allocations: 251.3 kB / 1.126 GB, free: 33.93 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001906/1.057, allocations: 77.41 kB / 1.126 GB, free: 33.85 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.827e-05/1.057, allocations: 3.938 kB / 1.126 GB, free: 33.85 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.019e-05/1.057, allocations: 34.56 kB / 1.126 GB, free: 33.8 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=4): time 3.276e-06/1.057, allocations: 0.6562 kB / 1.126 GB, free: 33.8 MB / 0.7292 GB Notification: Performance of matching and sorting (n=8): time 0.02901/1.086, allocations: 1.758 MB / 1.128 GB, free: 32.59 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.737e-05/1.086, allocations: 58.78 kB / 1.128 GB, free: 32.53 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.943e-05/1.086, allocations: 113.1 kB / 1.128 GB, free: 32.41 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 6.206e-05/1.086, allocations: 25.7 kB / 1.128 GB, free: 32.38 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 4.995e-05/1.086, allocations: 88.14 kB / 1.128 GB, free: 32.29 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 6.934e-05/1.086, allocations: 35.3 kB / 1.128 GB, free: 32.26 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.459e-05/1.087, allocations: 0 / 1.128 GB, free: 32.26 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 5.865e-05/1.087, allocations: 322.3 kB / 1.128 GB, free: 31.94 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004265/1.087, allocations: 156.8 kB / 1.129 GB, free: 31.81 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004295/1.087, allocations: 161.3 kB / 1.129 GB, free: 31.68 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004456/1.088, allocations: 166.4 kB / 1.129 GB, free: 31.53 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/1.088, allocations: 0 / 1.129 GB, free: 31.53 MB / 0.7292 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.001072/1.089, allocations: 381.7 kB / 1.129 GB, free: 31.2 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.072e-05/1.089, allocations: 7.938 kB / 1.129 GB, free: 31.19 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.202e-06/1.089, allocations: 0 / 1.129 GB, free: 31.19 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.934e-05/1.089, allocations: 8 kB / 1.129 GB, free: 31.18 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001512/1.091, allocations: 75.42 kB / 1.129 GB, free: 31.14 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.983e-06/1.091, allocations: 0.8438 kB / 1.129 GB, free: 31.14 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001313/1.092, allocations: 57.73 kB / 1.129 GB, free: 31.09 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.135e-05/1.092, allocations: 15.72 kB / 1.129 GB, free: 31.09 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * 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.0001587/1.092, allocations: 113.8 kB / 1.129 GB, free: 30.96 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.643e-05/1.092, allocations: 0 / 1.129 GB, free: 30.96 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001399/1.092, allocations: 23.84 kB / 1.13 GB, free: 30.95 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.378e-06/1.092, allocations: 0.9375 kB / 1.13 GB, free: 30.95 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/1.092, allocations: 0 / 1.13 GB, free: 30.95 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/1.092, allocations: 4 kB / 1.13 GB, free: 30.95 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005375/1.098, allocations: 0.9102 MB / 1.13 GB, free: 30.25 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/1.098, allocations: 4.062 kB / 1.13 GB, free: 30.25 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001043/1.099, allocations: 68.3 kB / 1.13 GB, free: 30.2 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.178e-06/1.099, allocations: 0 / 1.13 GB, free: 30.2 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.057e-05/1.099, allocations: 14.98 kB / 1.13 GB, free: 30.2 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.366e-06/1.099, allocations: 0 / 1.13 GB, free: 30.2 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.567e-06/1.099, allocations: 5.406 kB / 1.13 GB, free: 30.19 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008509/1.1, allocations: 402.2 kB / 1.131 GB, free: 29.81 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 2.635e-05/1.1, allocations: 84.39 kB / 1.131 GB, free: 29.71 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.085e-05/1.1, allocations: 0 / 1.131 GB, free: 29.71 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001017/1.101, allocations: 50.48 kB / 1.131 GB, free: 29.68 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.795e-05/1.101, allocations: 4 kB / 1.131 GB, free: 29.67 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.822e-05/1.101, allocations: 19.92 kB / 1.131 GB, free: 29.66 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 4.594e-05/1.101, allocations: 92.53 kB / 1.131 GB, free: 29.57 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.1e-07/1.101, allocations: 0 / 1.131 GB, free: 29.57 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0004102/1.102, allocations: 99.94 kB / 1.131 GB, free: 29.48 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * 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.0002522/1.102, allocations: 130.6 kB / 1.131 GB, free: 29.34 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0008661/1.103, allocations: 283.1 kB / 1.132 GB, free: 29.11 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/1.103, allocations: 0 / 1.132 GB, free: 29.11 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0003662/1.103, allocations: 120.2 kB / 1.132 GB, free: 29.02 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001864/1.103, allocations: 13.34 kB / 1.132 GB, free: 29.01 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002514/1.106, allocations: 344.3 kB / 1.132 GB, free: 28.7 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001588/1.106, allocations: 0.6954 MB / 1.133 GB, free: 27.98 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0004909/1.106, allocations: 55.61 kB / 1.133 GB, free: 27.93 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004465/1.107, allocations: 25.64 kB / 1.133 GB, free: 27.92 MB / 0.7292 GB Notification: Performance of SimCode: time 3.3e-07/1.107, allocations: 3.938 kB / 1.133 GB, free: 27.91 MB / 0.7292 GB Notification: Performance of Templates: time 0.01339/1.12, allocations: 8.155 MB / 1.141 GB, free: 23.75 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.makefile (rm -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.sim & ./Buildings_8_Buildings.Utilities.Math.Functions.Examples.QuinticHermite -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe 2>&1)