Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Math.Examples.Bicubic.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.Bicubic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.Math.Examples.Bicubic") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.255/2.255, allocations: 251.1 MB / 266.1 MB, free: 11.61 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001533/0.001533, allocations: 184.3 kB / 325.6 MB, free: 2.805 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.428/2.428, allocations: 205.4 MB / 0.5766 GB, free: 20.78 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001079/0.001078, allocations: 92.3 kB / 0.6811 GB, free: 13.6 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006834/0.0006836, allocations: 16.75 kB / 0.7951 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2282/0.2289, allocations: 106.3 MB / 0.8989 GB, free: 65.46 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2318/0.4609, allocations: 131.5 MB / 1.027 GB, free: 13.75 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002722/0.4612, allocations: 71.97 kB / 1.027 GB, free: 13.68 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.005803/0.467, allocations: 1.25 MB / 1.029 GB, free: 12.43 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.204e-06/0.4671, allocations: 0 / 1.029 GB, free: 12.43 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 7.754e-06/0.4671, allocations: 0 / 1.029 GB, free: 12.43 MB / 0.6823 GB 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.0006967/0.4678, allocations: 395.1 kB / 1.029 GB, free: 12 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.808e-05/0.4678, allocations: 15.97 kB / 1.029 GB, free: 11.98 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.148e-05/0.4679, allocations: 3.906 kB / 1.029 GB, free: 11.98 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001443/0.468, allocations: 171 kB / 1.029 GB, free: 11.77 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.848e-05/0.4681, allocations: 0 / 1.029 GB, free: 11.77 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.367e-05/0.4681, allocations: 7.938 kB / 1.029 GB, free: 11.76 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004924/0.4686, allocations: 124 kB / 1.029 GB, free: 11.64 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.428e-06/0.4686, allocations: 0 / 1.029 GB, free: 11.64 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.434e-05/0.4687, allocations: 0 / 1.029 GB, free: 11.64 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.599e-05/0.4687, allocations: 11.98 kB / 1.029 GB, free: 11.62 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006633/0.4694, allocations: 127.9 kB / 1.029 GB, free: 11.5 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009042/0.4703, allocations: 388.3 kB / 1.03 GB, free: 11.07 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003996/0.4707, allocations: 78.41 kB / 1.03 GB, free: 10.98 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000381/0.4711, allocations: 125.2 kB / 1.03 GB, free: 10.84 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.039e-05/0.4712, allocations: 34.56 kB / 1.03 GB, free: 10.8 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=3): time 2.425e-06/0.4712, allocations: 0 / 1.03 GB, free: 10.8 MB / 0.6823 GB Notification: Performance of matching and sorting (n=3): time 0.0009798/0.4722, allocations: 165.5 kB / 1.03 GB, free: 10.63 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.618e-05/0.4722, allocations: 59.34 kB / 1.03 GB, free: 10.56 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001604/0.4724, allocations: 131.2 kB / 1.03 GB, free: 10.43 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.822e-05/0.4724, allocations: 25.7 kB / 1.03 GB, free: 10.39 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 9.947e-05/0.4725, allocations: 123.7 kB / 1.031 GB, free: 10.27 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.148e-05/0.4726, allocations: 19.77 kB / 1.031 GB, free: 10.25 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.009e-05/0.4726, allocations: 0 / 1.031 GB, free: 10.25 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001322/0.4727, allocations: 318.8 kB / 1.031 GB, free: 9.93 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000312/0.473, allocations: 55.95 kB / 1.031 GB, free: 9.875 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003766/0.4734, allocations: 127.1 kB / 1.031 GB, free: 9.719 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003389/0.4738, allocations: 71.89 kB / 1.031 GB, free: 9.648 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/0.4738, allocations: 0 / 1.031 GB, free: 9.648 MB / 0.6823 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0007992/0.4746, allocations: 209.2 kB / 1.031 GB, free: 9.438 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.222e-05/0.4747, allocations: 8 kB / 1.031 GB, free: 9.43 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.758e-05/0.4747, allocations: 4 kB / 1.031 GB, free: 9.426 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.486e-05/0.4747, allocations: 4 kB / 1.031 GB, free: 9.422 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003127/0.4751, allocations: 47.84 kB / 1.031 GB, free: 9.375 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.438e-05/0.4751, allocations: 8.297 kB / 1.031 GB, free: 9.367 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002118/0.4753, allocations: 31.89 kB / 1.031 GB, free: 9.336 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.675e-05/0.4754, allocations: 8 kB / 1.031 GB, free: 9.328 MB / 0.6823 GB 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.0001352/0.4755, allocations: 125.7 kB / 1.032 GB, free: 9.195 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.54e-05/0.4756, allocations: 11.86 kB / 1.032 GB, free: 9.184 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007218/0.4763, allocations: 141.9 kB / 1.032 GB, free: 9.035 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.409e-06/0.4763, allocations: 3.938 kB / 1.032 GB, free: 9.031 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.4763, allocations: 0 / 1.032 GB, free: 9.031 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-06/0.4763, allocations: 4 kB / 1.032 GB, free: 9.027 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002381/0.4766, allocations: 173.6 kB / 1.032 GB, free: 8.809 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.4766, allocations: 0 / 1.032 GB, free: 8.809 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001928/0.4768, allocations: 23.97 kB / 1.032 GB, free: 8.785 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.019e-06/0.4768, allocations: 4 kB / 1.032 GB, free: 8.781 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.308e-05/0.4768, allocations: 3.953 kB / 1.032 GB, free: 8.777 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.555e-06/0.4768, allocations: 0 / 1.032 GB, free: 8.777 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.4769, allocations: 0 / 1.032 GB, free: 8.777 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006752/0.4775, allocations: 220.2 kB / 1.032 GB, free: 8.547 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 5.868e-05/0.4776, allocations: 89 kB / 1.032 GB, free: 8.441 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.22e-05/0.4776, allocations: 0 / 1.032 GB, free: 8.441 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001966/0.4779, allocations: 23.94 kB / 1.032 GB, free: 8.418 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.498e-05/0.4779, allocations: 4 kB / 1.032 GB, free: 8.414 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.487e-05/0.4779, allocations: 4.328 kB / 1.032 GB, free: 8.41 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.000112/0.4781, allocations: 113.5 kB / 1.032 GB, free: 8.301 MB / 0.6823 GB Notification: Performance of sort global known variables: time 4.31e-07/0.4781, allocations: 0 / 1.032 GB, free: 8.301 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0003732/0.4785, allocations: 16 kB / 1.032 GB, free: 8.285 MB / 0.6823 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 (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.0002159/0.4787, allocations: 107.2 kB / 1.032 GB, free: 8.168 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0007048/0.4794, allocations: 132.5 kB / 1.033 GB, free: 8.039 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.497e-06/0.4794, allocations: 0 / 1.033 GB, free: 8.039 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0003012/0.4797, allocations: 51.98 kB / 1.033 GB, free: 7.988 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002434/0.48, allocations: 11.94 kB / 1.033 GB, free: 7.977 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000528/0.4805, allocations: 177 kB / 1.033 GB, free: 7.777 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003697/0.4809, allocations: 0.6887 MB / 1.033 GB, free: 7.062 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0001772/0.4811, allocations: 32.41 kB / 1.033 GB, free: 7.027 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.817e-05/0.4812, allocations: 11.44 kB / 1.033 GB, free: 7.02 MB / 0.6823 GB Notification: Performance of SimCode: time 9.12e-07/0.4812, allocations: 0 / 1.033 GB, free: 7.02 MB / 0.6823 GB Notification: Performance of Templates: time 0.004314/0.4855, allocations: 0.7965 MB / 1.034 GB, free: 6.227 MB / 0.6823 GB