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.252/2.252, allocations: 252.6 MB / 265.2 MB, free: 5.758 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.001392/0.001392, allocations: 187.8 kB / 324.5 MB, free: 14.4 MB / 266.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.995/1.995, allocations: 205.4 MB / 0.5754 GB, free: 10.5 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.001171/0.001171, allocations: 96.66 kB / 0.6797 GB, free: 15.72 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 5.07e-05/5.103e-05, allocations: 4 kB / 0.7911 GB, free: 96.61 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2005/0.2006, allocations: 106.2 MB / 0.8949 GB, free: 6.281 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8371/1.038, allocations: 131.4 MB / 1.023 GB, free: 3.152 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002568/1.038, allocations: 72.59 kB / 1.023 GB, free: 3.113 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.003015/1.041, allocations: 0.7816 MB / 1.024 GB, free: 2.391 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.593e-06/1.041, allocations: 0 / 1.024 GB, free: 2.391 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.705e-06/1.041, allocations: 0 / 1.024 GB, free: 2.391 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.0004211/1.042, allocations: 337 kB / 1.024 GB, free: 2.02 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.953e-05/1.042, allocations: 8.031 kB / 1.024 GB, free: 2.012 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002122/1.042, allocations: 19.98 kB / 1.024 GB, free: 1.992 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001273/1.042, allocations: 163 kB / 1.025 GB, free: 1.793 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.935e-05/1.042, allocations: 7 kB / 1.025 GB, free: 1.789 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.14e-05/1.042, allocations: 0 / 1.025 GB, free: 1.789 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001238/1.042, allocations: 40.94 kB / 1.025 GB, free: 1.746 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.796e-06/1.042, allocations: 0 / 1.025 GB, free: 1.746 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.421e-05/1.042, allocations: 0 / 1.025 GB, free: 1.746 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.14e-06/1.042, allocations: 3.938 kB / 1.025 GB, free: 1.742 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.385e-05/1.042, allocations: 22.67 kB / 1.025 GB, free: 1.727 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005552/1.043, allocations: 278.7 kB / 1.025 GB, free: 1.418 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001059/1.043, allocations: 32.83 kB / 1.025 GB, free: 1.387 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.782e-05/1.043, allocations: 16.11 kB / 1.025 GB, free: 1.371 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.768e-05/1.043, allocations: 4 kB / 1.025 GB, free: 1.367 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.106e-05/1.043, allocations: 35.38 kB / 1.025 GB, free: 1.324 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 1.694e-06/1.043, allocations: 0 / 1.025 GB, free: 1.324 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0002018/1.043, allocations: 48.5 kB / 1.025 GB, free: 1.277 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.029e-05/1.044, allocations: 51.41 kB / 1.025 GB, free: 1.215 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.237e-05/1.044, allocations: 101.4 kB / 1.025 GB, free: 1.113 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.794e-05/1.044, allocations: 25.7 kB / 1.025 GB, free: 1.082 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.234e-05/1.044, allocations: 88.11 kB / 1.025 GB, free: 0.9961 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.289e-05/1.044, allocations: 15.83 kB / 1.025 GB, free: 0.9805 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.681e-06/1.044, allocations: 0 / 1.025 GB, free: 0.9805 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001391/1.044, allocations: 310.8 kB / 1.026 GB, free: 0.668 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.769e-05/1.044, allocations: 7.625 kB / 1.026 GB, free: 0.6641 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.559e-05/1.044, allocations: 6.938 kB / 1.026 GB, free: 0.6602 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.745e-05/1.044, allocations: 7.75 kB / 1.026 GB, free: 0.6562 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/1.044, allocations: 0 / 1.026 GB, free: 0.6562 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001303/1.044, allocations: 60.56 kB / 1.026 GB, free: 0.5977 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.643e-05/1.044, allocations: 7.938 kB / 1.026 GB, free: 0.5898 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.491e-06/1.044, allocations: 0 / 1.026 GB, free: 0.5898 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.366e-05/1.044, allocations: 0 / 1.026 GB, free: 0.5898 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001814/1.044, allocations: 15.98 kB / 1.026 GB, free: 0.5742 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.843e-06/1.045, allocations: 256 / 1.026 GB, free: 0.5742 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001216/1.045, allocations: 11.98 kB / 1.026 GB, free: 0.5625 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.27e-05/1.045, allocations: 11.92 kB / 1.026 GB, free: 0.5508 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.515e-05/1.045, allocations: 109 kB / 1.026 GB, free: 448 kB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.507e-05/1.045, allocations: 7.891 kB / 1.026 GB, free: 440 kB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.427e-05/1.045, allocations: 11.3 kB / 1.026 GB, free: 432 kB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.916e-06/1.045, allocations: 0 / 1.026 GB, free: 432 kB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.548e-06/1.045, allocations: 4 kB / 1.026 GB, free: 428 kB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/1.045, allocations: 0 / 1.026 GB, free: 428 kB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002149/1.045, allocations: 161.5 kB / 1.026 GB, free: 220 kB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/1.045, allocations: 0 / 1.026 GB, free: 220 kB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001421/1.045, allocations: 19.98 kB / 1.026 GB, free: 200 kB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-06/1.045, allocations: 0 / 1.026 GB, free: 200 kB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.344e-05/1.045, allocations: 0 / 1.026 GB, free: 200 kB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/1.045, allocations: 3.938 kB / 1.026 GB, free: 196 kB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/1.045, allocations: 4 kB / 1.026 GB, free: 192 kB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001688/1.046, allocations: 146.1 kB / 1.026 GB, free: 40 kB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.114e-05/1.046, allocations: 77.11 kB / 1.026 GB, free: 15.95 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.957e-05/1.046, allocations: 8.031 kB / 1.026 GB, free: 15.94 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001523/1.046, allocations: 11.98 kB / 1.026 GB, free: 15.93 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.507e-05/1.046, allocations: 3.984 kB / 1.026 GB, free: 15.92 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.433e-06/1.046, allocations: 0 / 1.026 GB, free: 15.92 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 5.357e-05/1.046, allocations: 82.34 kB / 1.026 GB, free: 15.84 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.01e-07/1.046, allocations: 0 / 1.026 GB, free: 15.84 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0002675/1.046, allocations: 8 kB / 1.026 GB, free: 15.84 MB / 0.6511 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.0001459/1.046, allocations: 101.1 kB / 1.026 GB, free: 15.73 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001273/1.046, allocations: 23 kB / 1.026 GB, free: 15.71 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.476e-06/1.047, allocations: 2.609 kB / 1.026 GB, free: 15.71 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 4.697e-05/1.047, allocations: 7.875 kB / 1.026 GB, free: 15.71 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002132/1.047, allocations: 14.3 kB / 1.026 GB, free: 15.7 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003517/1.047, allocations: 81.28 kB / 1.027 GB, free: 15.6 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002433/1.047, allocations: 0.6809 MB / 1.027 GB, free: 14.89 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 4.793e-05/1.047, allocations: 3.906 kB / 1.027 GB, free: 14.89 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.304e-05/1.048, allocations: 11.42 kB / 1.027 GB, free: 14.88 MB / 0.6511 GB Notification: Performance of SimCode: time 8.72e-07/1.048, allocations: 3.938 kB / 1.027 GB, free: 14.88 MB / 0.6511 GB Notification: Performance of Templates: time 0.00315/1.051, allocations: 493.7 kB / 1.028 GB, free: 14.4 MB / 0.6511 GB