Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation") translateModel(Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.77/1.77, allocations: 297.8 MB / 313.7 MB, free: 116 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000949/0.0009491, allocations: 188.2 kB / 384.6 MB, free: 10.84 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.505/1.505, allocations: 223.2 MB / 0.6626 GB, free: 4.258 MB / 490.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007656/0.0007656, allocations: 94.95 kB / 0.7808 GB, free: 50.3 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004078/0.0004077, allocations: 18 kB / 0.9088 GB, free: 2.832 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.807/0.8074, allocations: 120.3 MB / 1.026 GB, free: 55.97 MB / 0.7292 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1888/0.9963, allocations: 142.2 MB / 1.165 GB, free: 1.559 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002576/0.9966, allocations: 86.25 kB / 1.165 GB, free: 1.488 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.01063/1.007, allocations: 3.554 MB / 1.169 GB, free: 15.1 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.524e-06/1.007, allocations: 2.531 kB / 1.169 GB, free: 15.1 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 7.103e-06/1.007, allocations: 0 / 1.169 GB, free: 15.1 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005202/1.008, allocations: 409 kB / 1.169 GB, free: 14.65 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.521e-05/1.008, allocations: 9.25 kB / 1.169 GB, free: 14.64 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.761e-05/1.008, allocations: 6.719 kB / 1.169 GB, free: 14.64 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001601/1.008, allocations: 177 kB / 1.169 GB, free: 14.43 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.543e-05/1.008, allocations: 1.531 kB / 1.169 GB, free: 14.43 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.326e-05/1.008, allocations: 0.9375 kB / 1.169 GB, free: 14.43 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001771/1.008, allocations: 70.77 kB / 1.169 GB, free: 14.37 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.207e-06/1.008, allocations: 4.75 kB / 1.169 GB, free: 14.37 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.405e-05/1.008, allocations: 3.938 kB / 1.169 GB, free: 14.36 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.639e-06/1.008, allocations: 0 / 1.169 GB, free: 14.36 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.026e-05/1.008, allocations: 31.11 kB / 1.169 GB, free: 14.34 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001716/1.009, allocations: 156.4 kB / 1.17 GB, free: 14.15 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 8.648e-05/1.009, allocations: 50.55 kB / 1.17 GB, free: 14.1 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.557e-05/1.009, allocations: 44.77 kB / 1.17 GB, free: 14.06 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 9.027e-06/1.009, allocations: 4.594 kB / 1.17 GB, free: 14.05 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.585e-05/1.009, allocations: 31.25 kB / 1.17 GB, free: 14.02 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=7): time 3.266e-06/1.009, allocations: 0.5 kB / 1.17 GB, free: 14.02 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7): time 0.0003234/1.009, allocations: 171.5 kB / 1.17 GB, free: 13.86 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.952e-05/1.009, allocations: 85.86 kB / 1.17 GB, free: 13.76 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.019e-05/1.009, allocations: 111.9 kB / 1.17 GB, free: 13.65 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.57e-05/1.009, allocations: 25.7 kB / 1.17 GB, free: 13.62 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.181e-05/1.009, allocations: 89.78 kB / 1.17 GB, free: 13.53 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.99e-05/1.009, allocations: 17.86 kB / 1.17 GB, free: 13.51 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.144e-06/1.009, allocations: 6.125 kB / 1.17 GB, free: 13.51 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001229/1.01, allocations: 317.1 kB / 1.17 GB, free: 13.19 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.262e-05/1.01, allocations: 26.84 kB / 1.17 GB, free: 13.17 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.38e-05/1.01, allocations: 26.92 kB / 1.171 GB, free: 13.15 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001544/1.01, allocations: 123.3 kB / 1.171 GB, free: 13.03 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/1.01, allocations: 0.5938 kB / 1.171 GB, free: 13.03 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001834/1.01, allocations: 138.6 kB / 1.171 GB, free: 12.9 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 3.918e-05/1.01, allocations: 37.17 kB / 1.171 GB, free: 12.86 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.013e-06/1.01, allocations: 4.594 kB / 1.171 GB, free: 12.86 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.509e-05/1.01, allocations: 2.781 kB / 1.171 GB, free: 12.86 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.12e-07/1.01, allocations: 0.7812 kB / 1.171 GB, free: 12.86 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.803e-06/1.01, allocations: 0.7969 kB / 1.171 GB, free: 12.86 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.451e-05/1.01, allocations: 6.5 kB / 1.171 GB, free: 12.86 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.76e-05/1.01, allocations: 9.219 kB / 1.171 GB, free: 12.85 MB / 0.7448 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 (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 prepare postOptimizeDAE: time 0.0001125/1.01, allocations: 147.8 kB / 1.171 GB, free: 12.69 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.807e-05/1.01, allocations: 12.45 kB / 1.171 GB, free: 12.68 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.394e-05/1.01, allocations: 9.109 kB / 1.171 GB, free: 12.68 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.115e-06/1.01, allocations: 4.562 kB / 1.171 GB, free: 12.67 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/1.01, allocations: 1.406 kB / 1.171 GB, free: 12.67 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.134e-06/1.01, allocations: 0 / 1.171 GB, free: 12.67 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001284/1.011, allocations: 169 kB / 1.171 GB, free: 12.47 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-06/1.011, allocations: 2.438 kB / 1.171 GB, free: 12.47 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.693e-06/1.011, allocations: 0.6562 kB / 1.171 GB, free: 12.47 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.365e-06/1.011, allocations: 0 / 1.171 GB, free: 12.47 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.593e-05/1.011, allocations: 8.781 kB / 1.171 GB, free: 12.46 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.644e-06/1.011, allocations: 1.688 kB / 1.171 GB, free: 12.46 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/1.011, allocations: 0.9375 kB / 1.171 GB, free: 12.46 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002355/1.011, allocations: 179.9 kB / 1.171 GB, free: 12.29 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 4.127e-05/1.011, allocations: 85.77 kB / 1.171 GB, free: 12.18 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.204e-05/1.011, allocations: 4.547 kB / 1.171 GB, free: 12.18 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.658e-05/1.011, allocations: 8.062 kB / 1.171 GB, free: 12.17 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.224e-05/1.011, allocations: 6.438 kB / 1.171 GB, free: 12.17 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.73e-05/1.011, allocations: 9.453 kB / 1.171 GB, free: 12.16 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 5.423e-05/1.011, allocations: 91.39 kB / 1.172 GB, free: 12.07 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.4e-07/1.011, allocations: 3.938 kB / 1.172 GB, free: 12.07 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003571/1.012, allocations: 86.83 kB / 1.172 GB, free: 11.99 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * 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 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.0003775/1.012, allocations: 170.7 kB / 1.172 GB, free: 11.82 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002569/1.012, allocations: 172.8 kB / 1.172 GB, free: 11.65 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/1.012, allocations: 4.062 kB / 1.172 GB, free: 11.65 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001244/1.012, allocations: 134 kB / 1.172 GB, free: 11.52 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001514/1.012, allocations: 8.656 kB / 1.172 GB, free: 11.51 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003065/1.013, allocations: 157.7 kB / 1.172 GB, free: 11.34 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002598/1.013, allocations: 0.6872 MB / 1.173 GB, free: 10.63 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 5.841e-06/1.013, allocations: 0 / 1.173 GB, free: 10.63 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.918e-06/1.013, allocations: 11.5 kB / 1.173 GB, free: 10.62 MB / 0.7448 GB Notification: Performance of SimCode: time 4.1e-07/1.013, allocations: 4 kB / 1.173 GB, free: 10.62 MB / 0.7448 GB Notification: Performance of Templates: time 0.005692/1.019, allocations: 1.891 MB / 1.175 GB, free: 9.5 MB / 0.7448 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.makefile (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.sim & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe 2>&1)