Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Utilities.Math.Examples.Bicubic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.Bicubic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Math.Examples.Bicubic") translateModel(Buildings.Utilities.Math.Examples.Bicubic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Math.Examples.Bicubic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.5405/0.5405, allocations: 95.61 MB / 110.6 MB, free: 9.367 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001205/0.001205, allocations: 170.1 kB / 134.2 MB, free: 2.266 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.277/1.277, allocations: 170.7 MB / 328.4 MB, free: 12.28 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001579/0.001579, allocations: 121.9 kB / 390.7 MB, free: 13.95 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003476/0.0003476, allocations: 8 kB / 462.7 MB, free: 35.68 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1243/0.1247, allocations: 61.53 MB / 0.512 GB, free: 6.09 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3749/0.4996, allocations: 93.79 MB / 0.6036 GB, free: 13.46 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000234/0.4999, allocations: 74.28 kB / 0.6036 GB, free: 13.42 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003413/0.5034, allocations: 1.23 MB / 0.6048 GB, free: 12.28 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.5034, allocations: 0 / 0.6048 GB, free: 12.28 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.33e-06/0.5034, allocations: 0 / 0.6048 GB, free: 12.28 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.000456/0.5039, allocations: 382.9 kB / 0.6052 GB, free: 11.86 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.482e-05/0.5039, allocations: 11.98 kB / 0.6052 GB, free: 11.85 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.012e-05/0.504, allocations: 11.84 kB / 0.6052 GB, free: 11.84 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001103/0.5041, allocations: 178.4 kB / 0.6054 GB, free: 11.63 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.736e-06/0.5041, allocations: 1.875 kB / 0.6054 GB, free: 11.63 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.567e-05/0.5041, allocations: 8 kB / 0.6054 GB, free: 11.62 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002903/0.5044, allocations: 120.4 kB / 0.6055 GB, free: 11.52 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.394e-06/0.5044, allocations: 0 / 0.6055 GB, free: 11.52 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.075e-05/0.5044, allocations: 0 / 0.6055 GB, free: 11.52 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.513e-05/0.5045, allocations: 15.86 kB / 0.6055 GB, free: 11.5 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003417/0.5048, allocations: 132.7 kB / 0.6056 GB, free: 11.39 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006017/0.5054, allocations: 371.9 kB / 0.606 GB, free: 11.02 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000198/0.5056, allocations: 66.3 kB / 0.6061 GB, free: 10.95 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002443/0.5059, allocations: 125.6 kB / 0.6062 GB, free: 10.81 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.292e-05/0.5059, allocations: 36.2 kB / 0.6062 GB, free: 10.77 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 2.825e-06/0.5059, allocations: 0 / 0.6062 GB, free: 10.77 MB / 410.7 MB Notification: Performance of matching and sorting (n=3): time 0.0005446/0.5065, allocations: 175.9 kB / 0.6064 GB, free: 10.6 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.191e-05/0.5065, allocations: 51.41 kB / 0.6064 GB, free: 10.54 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001238/0.5067, allocations: 132.5 kB / 0.6066 GB, free: 10.41 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.459e-05/0.5067, allocations: 29.2 kB / 0.6066 GB, free: 10.38 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.805e-05/0.5068, allocations: 111.5 kB / 0.6067 GB, free: 10.27 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.731e-05/0.5068, allocations: 19.06 kB / 0.6067 GB, free: 10.25 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.18e-06/0.5068, allocations: 0 / 0.6067 GB, free: 10.25 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.000128/0.5069, allocations: 325.8 kB / 0.607 GB, free: 9.93 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001686/0.5071, allocations: 54.95 kB / 0.6071 GB, free: 9.883 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002077/0.5073, allocations: 128 kB / 0.6072 GB, free: 9.734 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001839/0.5075, allocations: 73.55 kB / 0.6073 GB, free: 9.676 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/0.5075, allocations: 0 / 0.6073 GB, free: 9.676 MB / 410.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004956/0.508, allocations: 208.4 kB / 0.6075 GB, free: 9.488 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.805e-05/0.5081, allocations: 8 kB / 0.6075 GB, free: 9.48 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.5081, allocations: 0 / 0.6075 GB, free: 9.48 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.615e-05/0.5081, allocations: 4 kB / 0.6075 GB, free: 9.477 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001754/0.5083, allocations: 47.53 kB / 0.6075 GB, free: 9.434 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.278e-06/0.5083, allocations: 8 kB / 0.6075 GB, free: 9.426 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001295/0.5084, allocations: 23.89 kB / 0.6076 GB, free: 9.402 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.335e-05/0.5085, allocations: 8 kB / 0.6076 GB, free: 9.395 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (13): * Single equations (assignments): 13 * 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.0001002/0.5086, allocations: 126 kB / 0.6077 GB, free: 9.27 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.944e-05/0.5086, allocations: 15.83 kB / 0.6077 GB, free: 9.254 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004221/0.509, allocations: 143.2 kB / 0.6078 GB, free: 9.121 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.055e-06/0.509, allocations: 0 / 0.6078 GB, free: 9.121 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.539e-06/0.509, allocations: 0 / 0.6078 GB, free: 9.121 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.295e-06/0.5091, allocations: 0 / 0.6078 GB, free: 9.121 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001873/0.5092, allocations: 180 kB / 0.608 GB, free: 8.906 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.193e-06/0.5093, allocations: 4 kB / 0.608 GB, free: 8.902 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001044/0.5094, allocations: 27.92 kB / 0.608 GB, free: 8.875 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.5094, allocations: 0 / 0.608 GB, free: 8.875 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.095e-06/0.5094, allocations: 0 / 0.608 GB, free: 8.875 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.336e-06/0.5094, allocations: 3.984 kB / 0.608 GB, free: 8.871 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.5094, allocations: 0 / 0.608 GB, free: 8.871 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000377/0.5098, allocations: 228.4 kB / 0.6083 GB, free: 8.645 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.493e-05/0.5098, allocations: 84.14 kB / 0.6083 GB, free: 8.547 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.084e-05/0.5099, allocations: 4 kB / 0.6083 GB, free: 8.543 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001122/0.51, allocations: 27.91 kB / 0.6084 GB, free: 8.516 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.255e-05/0.51, allocations: 0 / 0.6084 GB, free: 8.516 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.404e-06/0.51, allocations: 4 kB / 0.6084 GB, free: 8.512 MB / 410.7 MB Notification: Performance of sorting global known variables: time 7.119e-05/0.5101, allocations: 111.5 kB / 0.6085 GB, free: 8.414 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5101, allocations: 0 / 0.6085 GB, free: 8.414 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002452/0.5104, allocations: 16 kB / 0.6085 GB, free: 8.398 MB / 410.7 MB 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 (3): * Single equations (assignments): 3 * 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.0001519/0.5105, allocations: 107.2 kB / 0.6086 GB, free: 8.285 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004043/0.5109, allocations: 126.6 kB / 0.6087 GB, free: 8.176 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.511, allocations: 4 kB / 0.6087 GB, free: 8.172 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000151/0.5111, allocations: 46.08 kB / 0.6088 GB, free: 8.133 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001623/0.5113, allocations: 15.58 kB / 0.6088 GB, free: 8.121 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003718/0.5117, allocations: 172.1 kB / 0.6089 GB, free: 7.926 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000329/0.512, allocations: 0.704 MB / 0.6096 GB, free: 7.199 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 9.484e-05/0.5121, allocations: 24.41 kB / 0.6097 GB, free: 7.176 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.778e-05/0.5122, allocations: 15.44 kB / 0.6097 GB, free: 7.16 MB / 410.7 MB Notification: Performance of SimCode: time 3.11e-07/0.5122, allocations: 0 / 0.6097 GB, free: 7.16 MB / 410.7 MB Notification: Performance of Templates: time 0.002847/0.515, allocations: 0.806 MB / 0.6105 GB, free: 6.367 MB / 410.7 MB make -j1 -f Buildings_1.6_Buildings.Utilities.Math.Examples.Bicubic.makefile (rm -f Buildings_1.6_Buildings.Utilities.Math.Examples.Bicubic.pipe ; mkfifo Buildings_1.6_Buildings.Utilities.Math.Examples.Bicubic.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Utilities.Math.Examples.Bicubic.pipe >> ../files/Buildings_1.6_Buildings.Utilities.Math.Examples.Bicubic.sim & ./Buildings_1.6_Buildings.Utilities.Math.Examples.Bicubic -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Utilities.Math.Examples.Bicubic.pipe 2>&1)