Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Math.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.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.Math.Examples.PowerLinearized") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.384/2.384, allocations: 253.2 MB / 260.6 MB, free: 7.438 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001366/0.001366, allocations: 177.9 kB / 319.9 MB, free: 3.047 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.162/2.162, allocations: 205.6 MB / 0.5708 GB, free: 15.26 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.001039/0.001039, allocations: 76.67 kB / 0.6751 GB, free: 4.617 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.875e-05/2.903e-05, allocations: 4 kB / 0.7849 GB, free: 102.2 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2297/0.2298, allocations: 106.3 MB / 0.8887 GB, free: 11.86 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8271/1.057, allocations: 131.6 MB / 1.017 GB, free: 5.703 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000257/1.057, allocations: 70.2 kB / 1.017 GB, free: 5.664 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.002857/1.06, allocations: 0.7793 MB / 1.018 GB, free: 4.953 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.533e-06/1.06, allocations: 0 / 1.018 GB, free: 4.953 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.841e-06/1.06, allocations: 0 / 1.018 GB, free: 4.953 MB / 0.6355 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.0004212/1.061, allocations: 338.4 kB / 1.018 GB, free: 4.578 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.097e-05/1.061, allocations: 20 kB / 1.018 GB, free: 4.559 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002037/1.061, allocations: 19.36 kB / 1.018 GB, free: 4.543 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001299/1.061, allocations: 167 kB / 1.019 GB, free: 4.34 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.263e-05/1.061, allocations: 0 / 1.019 GB, free: 4.34 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.194e-05/1.061, allocations: 0.5 kB / 1.019 GB, free: 4.34 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.514e-05/1.061, allocations: 18.62 kB / 1.019 GB, free: 4.328 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.335e-05/1.061, allocations: 37 kB / 1.019 GB, free: 4.289 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.506e-06/1.061, allocations: 0 / 1.019 GB, free: 4.289 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.134e-05/1.061, allocations: 0 / 1.019 GB, free: 4.289 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.568e-06/1.061, allocations: 3.984 kB / 1.019 GB, free: 4.285 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004931/1.062, allocations: 269 kB / 1.019 GB, free: 4 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 8.881e-05/1.062, allocations: 33.17 kB / 1.019 GB, free: 3.965 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.364e-05/1.062, allocations: 12.23 kB / 1.019 GB, free: 3.953 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.978e-05/1.062, allocations: 4.75 kB / 1.019 GB, free: 3.949 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.485e-05/1.062, allocations: 38.25 kB / 1.019 GB, free: 3.906 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 1.663e-06/1.062, allocations: 0 / 1.019 GB, free: 3.906 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0001875/1.062, allocations: 45.2 kB / 1.019 GB, free: 3.859 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.111e-05/1.062, allocations: 51.41 kB / 1.019 GB, free: 3.797 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.903e-05/1.062, allocations: 96.67 kB / 1.019 GB, free: 3.699 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.7e-05/1.062, allocations: 25.7 kB / 1.019 GB, free: 3.668 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.068e-05/1.063, allocations: 87.02 kB / 1.019 GB, free: 3.582 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.074e-05/1.063, allocations: 11.78 kB / 1.019 GB, free: 3.57 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.27e-06/1.063, allocations: 0 / 1.019 GB, free: 3.57 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001168/1.063, allocations: 321.8 kB / 1.02 GB, free: 3.25 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.284e-05/1.063, allocations: 6.688 kB / 1.02 GB, free: 3.246 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.062e-05/1.063, allocations: 7.312 kB / 1.02 GB, free: 3.242 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.414e-05/1.063, allocations: 11.11 kB / 1.02 GB, free: 3.234 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/1.063, allocations: 0 / 1.02 GB, free: 3.234 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001135/1.063, allocations: 44.02 kB / 1.02 GB, free: 3.191 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.782e-05/1.063, allocations: 8 kB / 1.02 GB, free: 3.184 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/1.063, allocations: 0 / 1.02 GB, free: 3.184 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.161e-05/1.063, allocations: 4.094 kB / 1.02 GB, free: 3.18 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001691/1.063, allocations: 15.98 kB / 1.02 GB, free: 3.164 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.807e-06/1.063, allocations: 7.875 kB / 1.02 GB, free: 3.156 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001169/1.063, allocations: 11.98 kB / 1.02 GB, free: 3.145 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.186e-06/1.063, allocations: 0 / 1.02 GB, free: 3.145 MB / 0.6355 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * 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): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.872e-05/1.063, allocations: 104.9 kB / 1.02 GB, free: 3.035 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.421e-05/1.064, allocations: 11.91 kB / 1.02 GB, free: 3.023 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.89e-05/1.064, allocations: 7.922 kB / 1.02 GB, free: 3.012 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/1.064, allocations: 0 / 1.02 GB, free: 3.012 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.519e-06/1.064, allocations: 0 / 1.02 GB, free: 3.012 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.269e-06/1.064, allocations: 3.984 kB / 1.02 GB, free: 3.008 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001921/1.064, allocations: 144.6 kB / 1.02 GB, free: 2.836 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.889e-06/1.064, allocations: 3.984 kB / 1.02 GB, free: 2.832 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001348/1.064, allocations: 12 kB / 1.02 GB, free: 2.82 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.12e-06/1.064, allocations: 3.984 kB / 1.02 GB, free: 2.816 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.197e-06/1.064, allocations: 4 kB / 1.02 GB, free: 2.812 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/1.064, allocations: 0 / 1.02 GB, free: 2.812 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/1.064, allocations: 0 / 1.02 GB, free: 2.812 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001565/1.064, allocations: 137.1 kB / 1.02 GB, free: 2.672 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.787e-05/1.064, allocations: 89.05 kB / 1.02 GB, free: 2.566 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.847e-05/1.064, allocations: 2.812 kB / 1.02 GB, free: 2.566 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000156/1.064, allocations: 12.03 kB / 1.02 GB, free: 2.555 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.971e-05/1.064, allocations: 7.922 kB / 1.02 GB, free: 2.547 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.012e-06/1.064, allocations: 0 / 1.02 GB, free: 2.547 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 4.349e-05/1.065, allocations: 82.78 kB / 1.02 GB, free: 2.469 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.41e-07/1.065, allocations: 0 / 1.02 GB, free: 2.469 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002956/1.065, allocations: 8 kB / 1.02 GB, free: 2.461 MB / 0.6355 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * 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): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001224/1.065, allocations: 93.12 kB / 1.02 GB, free: 2.363 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001156/1.065, allocations: 22.44 kB / 1.02 GB, free: 2.348 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/1.065, allocations: 0 / 1.02 GB, free: 2.348 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 4.655e-05/1.065, allocations: 11.25 kB / 1.02 GB, free: 2.34 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002161/1.065, allocations: 7.922 kB / 1.02 GB, free: 2.332 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003135/1.066, allocations: 75 kB / 1.021 GB, free: 2.238 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002686/1.066, allocations: 0.6845 MB / 1.021 GB, free: 1.527 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 4.762e-05/1.066, allocations: 8.031 kB / 1.021 GB, free: 1.52 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.001e-05/1.066, allocations: 11.44 kB / 1.021 GB, free: 1.508 MB / 0.6355 GB Notification: Performance of SimCode: time 6.82e-07/1.066, allocations: 0 / 1.021 GB, free: 1.508 MB / 0.6355 GB Notification: Performance of Templates: time 0.002884/1.069, allocations: 469.1 kB / 1.022 GB, free: 1.062 MB / 0.6355 GB