Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.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.Functions.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.PowerLinearized") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.476/2.476, 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.002467/0.002467, allocations: 185.8 kB / 325.6 MB, free: 2.828 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.373/2.373, allocations: 205.4 MB / 0.5766 GB, free: 21.12 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.001149/0.001148, allocations: 106.1 kB / 0.6811 GB, free: 14 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004755/0.0004756, allocations: 18.86 kB / 0.7951 GB, free: 135.8 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2051/0.2056, allocations: 106.3 MB / 0.8989 GB, free: 65.95 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.241/0.4466, allocations: 130.8 MB / 1.027 GB, free: 14.95 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003136/0.447, allocations: 71.95 kB / 1.027 GB, free: 14.88 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.00387/0.4509, allocations: 0.957 MB / 1.028 GB, free: 13.92 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.835e-06/0.451, allocations: 0 / 1.028 GB, free: 13.92 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 6.302e-06/0.451, allocations: 0 / 1.028 GB, free: 13.92 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003491/0.4513, allocations: 323.3 kB / 1.028 GB, free: 13.55 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.262e-05/0.4514, allocations: 8.031 kB / 1.028 GB, free: 13.55 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001905/0.4516, allocations: 11.98 kB / 1.028 GB, free: 13.54 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001179/0.4517, allocations: 167 kB / 1.028 GB, free: 13.33 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.707e-05/0.4518, allocations: 4 kB / 1.028 GB, free: 13.33 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.423e-05/0.4518, allocations: 0 / 1.028 GB, free: 13.33 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001495/0.4519, allocations: 33.69 kB / 1.028 GB, free: 13.29 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.297e-06/0.452, allocations: 0 / 1.028 GB, free: 13.29 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.082e-05/0.452, allocations: 0 / 1.028 GB, free: 13.29 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.452, allocations: 4 kB / 1.028 GB, free: 13.29 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001194/0.4521, allocations: 15.98 kB / 1.028 GB, free: 13.27 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000195/0.4523, allocations: 165.5 kB / 1.028 GB, free: 13.06 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002389/0.4526, allocations: 42.55 kB / 1.028 GB, free: 13.01 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.773e-05/0.4526, allocations: 0 / 1.028 GB, free: 13.01 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.076e-05/0.4527, allocations: 34.64 kB / 1.028 GB, free: 12.96 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=3): time 1.363e-06/0.4527, allocations: 4 kB / 1.028 GB, free: 12.96 MB / 0.6823 GB Notification: Performance of matching and sorting (n=3): time 0.0002852/0.453, allocations: 53.69 kB / 1.028 GB, free: 12.9 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.378e-05/0.453, allocations: 55.41 kB / 1.029 GB, free: 12.84 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.39e-05/0.4531, allocations: 88.98 kB / 1.029 GB, free: 12.74 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.732e-05/0.4531, allocations: 25.7 kB / 1.029 GB, free: 12.71 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 3.785e-05/0.4532, allocations: 80.14 kB / 1.029 GB, free: 12.63 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 3.692e-05/0.4532, allocations: 11.84 kB / 1.029 GB, free: 12.62 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.398e-06/0.4532, allocations: 0 / 1.029 GB, free: 12.62 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001498/0.4534, allocations: 314.8 kB / 1.029 GB, free: 12.3 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.088e-05/0.4535, allocations: 8 kB / 1.029 GB, free: 12.29 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.22e-05/0.4536, allocations: 7.984 kB / 1.029 GB, free: 12.29 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.749e-05/0.4536, allocations: 4 kB / 1.029 GB, free: 12.28 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.023e-05/0.4537, allocations: 3.953 kB / 1.029 GB, free: 12.28 MB / 0.6823 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001756/0.4538, allocations: 49.67 kB / 1.029 GB, free: 12.22 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.092e-05/0.4539, allocations: 5.25 kB / 1.029 GB, free: 12.22 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.4539, allocations: 0 / 1.029 GB, free: 12.22 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.866e-05/0.4539, allocations: 12.27 kB / 1.029 GB, free: 12.21 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006618/0.4546, allocations: 43.88 kB / 1.029 GB, free: 12.16 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001895/0.4565, allocations: 1.323 MB / 1.03 GB, free: 10.71 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.088e-05/0.4566, allocations: 3.938 kB / 1.03 GB, free: 10.71 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.287e-05/0.4566, allocations: 4 kB / 1.03 GB, free: 10.7 MB / 0.6823 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 (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001095/0.4568, allocations: 117.7 kB / 1.031 GB, free: 10.58 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.149e-05/0.4568, allocations: 4 kB / 1.031 GB, free: 10.57 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.336e-05/0.4568, allocations: 7.484 kB / 1.031 GB, free: 10.56 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.4568, allocations: 0 / 1.031 GB, free: 10.56 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.844e-06/0.4568, allocations: 0 / 1.031 GB, free: 10.56 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.4568, allocations: 0 / 1.031 GB, free: 10.56 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001317/0.457, allocations: 157.7 kB / 1.031 GB, free: 10.36 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.699e-06/0.457, allocations: 3.984 kB / 1.031 GB, free: 10.36 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006911/0.4577, allocations: 43.94 kB / 1.031 GB, free: 10.31 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.69e-06/0.4577, allocations: 0 / 1.031 GB, free: 10.31 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.436e-06/0.4577, allocations: 0 / 1.031 GB, free: 10.31 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001745/0.4595, allocations: 1.314 MB / 1.032 GB, free: 8.871 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.4595, allocations: 0 / 1.032 GB, free: 8.871 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002028/0.4597, allocations: 77.09 kB / 1.032 GB, free: 8.777 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 4.144e-05/0.4598, allocations: 81.11 kB / 1.032 GB, free: 8.68 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.108e-06/0.4598, allocations: 192 / 1.032 GB, free: 8.68 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.499e-05/0.4599, allocations: 4.047 kB / 1.032 GB, free: 8.676 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.029e-05/0.4599, allocations: 7.984 kB / 1.032 GB, free: 8.668 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.697e-06/0.4599, allocations: 0 / 1.032 GB, free: 8.668 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 4.193e-05/0.46, allocations: 83.2 kB / 1.032 GB, free: 8.586 MB / 0.6823 GB Notification: Performance of sort global known variables: time 3.51e-07/0.46, allocations: 0 / 1.032 GB, free: 8.586 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002478/0.4603, allocations: 4 kB / 1.032 GB, free: 8.582 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): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001537/0.4604, allocations: 99.25 kB / 1.032 GB, free: 8.477 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0006937/0.4611, allocations: 51.92 kB / 1.032 GB, free: 8.426 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.4612, allocations: 0 / 1.032 GB, free: 8.426 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0003657/0.4615, allocations: 31.97 kB / 1.032 GB, free: 8.395 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001145/0.4617, allocations: 5.203 kB / 1.032 GB, free: 8.391 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003545/0.462, allocations: 107 kB / 1.033 GB, free: 8.258 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002852/0.4623, allocations: 0.677 MB / 1.033 GB, free: 7.555 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 5.216e-05/0.4624, allocations: 4 kB / 1.033 GB, free: 7.551 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.077e-05/0.4624, allocations: 7.438 kB / 1.033 GB, free: 7.543 MB / 0.6823 GB Notification: Performance of SimCode: time 1.122e-06/0.4624, allocations: 7.938 kB / 1.033 GB, free: 7.535 MB / 0.6823 GB Notification: Performance of Templates: time 0.002886/0.4653, allocations: 374.3 kB / 1.034 GB, free: 7.172 MB / 0.6823 GB