Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Utilities.Math.Examples.PowerLinearized.conf.json Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Utilities.Math.Examples.PowerLinearized") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.006676/0.006681, allocations: 233.8 kB / 15.82 MB, free: 6.297 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001746/0.001746, allocations: 175.3 kB / 16.7 MB, free: 5.457 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 4.171/4.171, allocations: 389.1 MB / 406.5 MB, free: 11.84 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 4.068/4.068, allocations: 472.3 MB / 0.9024 GB, free: 9.227 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0005037/0.000504, allocations: 16 kB / 1.008 GB, free: 138.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1752/0.1757, allocations: 98.73 MB / 1.105 GB, free: 42.07 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7748/0.9506, allocations: 124.5 MB / 1.226 GB, free: 28.55 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002711/0.9509, allocations: 75.06 kB / 1.226 GB, free: 28.52 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.003046/0.954, allocations: 0.7675 MB / 1.227 GB, free: 27.96 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.544e-06/0.954, allocations: 0 / 1.227 GB, free: 27.96 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.733e-06/0.9541, allocations: 1.062 kB / 1.227 GB, free: 27.96 MB / 0.6198 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.0004154/0.9545, allocations: 349.8 kB / 1.227 GB, free: 27.59 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.228e-05/0.9545, allocations: 8.031 kB / 1.227 GB, free: 27.59 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002229/0.9548, allocations: 22.11 kB / 1.227 GB, free: 27.57 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.751e-05/0.9549, allocations: 165.9 kB / 1.228 GB, free: 27.38 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.899e-05/0.9549, allocations: 0.6094 kB / 1.228 GB, free: 27.38 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.318e-05/0.9549, allocations: 4 kB / 1.228 GB, free: 27.37 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002801/0.9552, allocations: 66.8 kB / 1.228 GB, free: 27.32 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.207e-06/0.9553, allocations: 0 / 1.228 GB, free: 27.32 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.175e-05/0.9553, allocations: 0 / 1.228 GB, free: 27.32 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.855e-06/0.9553, allocations: 4.656 kB / 1.228 GB, free: 27.32 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000376/0.9557, allocations: 60.59 kB / 1.228 GB, free: 27.28 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005073/0.9562, allocations: 286.9 kB / 1.228 GB, free: 26.98 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002712/0.9565, allocations: 62.36 kB / 1.228 GB, free: 26.93 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001889/0.9567, allocations: 36.72 kB / 1.228 GB, free: 26.9 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.893e-05/0.9567, allocations: 0 / 1.228 GB, free: 26.9 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.315e-05/0.9568, allocations: 33.98 kB / 1.228 GB, free: 26.86 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 1.303e-06/0.9568, allocations: 0 / 1.228 GB, free: 26.86 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.0007026/0.9575, allocations: 130.5 kB / 1.228 GB, free: 26.77 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.824e-05/0.9575, allocations: 52.16 kB / 1.228 GB, free: 26.7 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.974e-05/0.9576, allocations: 109.8 kB / 1.228 GB, free: 26.59 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.192e-05/0.9576, allocations: 28.66 kB / 1.228 GB, free: 26.56 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.848e-05/0.9577, allocations: 88.94 kB / 1.228 GB, free: 26.48 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.876e-05/0.9577, allocations: 4.5 kB / 1.228 GB, free: 26.47 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.773e-06/0.9578, allocations: 4 kB / 1.228 GB, free: 26.47 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001294/0.9579, allocations: 318.7 kB / 1.229 GB, free: 26.16 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001861/0.9581, allocations: 30.55 kB / 1.229 GB, free: 26.14 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001825/0.9583, allocations: 32.06 kB / 1.229 GB, free: 26.12 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001835/0.9585, allocations: 32.92 kB / 1.229 GB, free: 26.1 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.9585, allocations: 0 / 1.229 GB, free: 26.1 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0004153/0.9589, allocations: 100.8 kB / 1.229 GB, free: 26.02 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.95e-05/0.959, allocations: 4 kB / 1.229 GB, free: 26.01 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.959, allocations: 1.078 kB / 1.229 GB, free: 26.01 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.659e-05/0.959, allocations: 1.5 kB / 1.229 GB, free: 26.01 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001662/0.9592, allocations: 17.84 kB / 1.229 GB, free: 26 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.72e-06/0.9592, allocations: 0 / 1.229 GB, free: 26 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001121/0.9593, allocations: 15.56 kB / 1.229 GB, free: 25.99 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.018e-05/0.9593, allocations: 1.359 kB / 1.229 GB, free: 25.99 MB / 0.6198 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 (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 9.403e-05/0.9594, allocations: 114.2 kB / 1.229 GB, free: 25.87 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.532e-05/0.9595, allocations: 0 / 1.229 GB, free: 25.87 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.582e-05/0.9595, allocations: 6.062 kB / 1.229 GB, free: 25.87 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.347e-06/0.9595, allocations: 4 kB / 1.229 GB, free: 25.87 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.9596, allocations: 3.562 kB / 1.229 GB, free: 25.87 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.556e-06/0.9596, allocations: 2.469 kB / 1.229 GB, free: 25.87 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000181/0.9598, allocations: 167.1 kB / 1.229 GB, free: 25.67 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.9598, allocations: 4 kB / 1.229 GB, free: 25.67 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001323/0.9599, allocations: 11.7 kB / 1.229 GB, free: 25.66 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.829e-06/0.9599, allocations: 0.9844 kB / 1.229 GB, free: 25.66 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.788e-06/0.9599, allocations: 6.547 kB / 1.229 GB, free: 25.66 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.96, allocations: 4 kB / 1.229 GB, free: 25.66 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.96, allocations: 0 / 1.229 GB, free: 25.66 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004513/0.9604, allocations: 200.9 kB / 1.23 GB, free: 25.47 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.548e-05/0.9605, allocations: 77.11 kB / 1.23 GB, free: 25.38 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.994e-05/0.9605, allocations: 3.469 kB / 1.23 GB, free: 25.38 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001453/0.9607, allocations: 14 kB / 1.23 GB, free: 25.37 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.362e-05/0.9607, allocations: 5.594 kB / 1.23 GB, free: 25.37 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.061e-06/0.9607, allocations: 0 / 1.23 GB, free: 25.37 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 5.447e-05/0.9608, allocations: 84.03 kB / 1.23 GB, free: 25.29 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.4e-07/0.9608, allocations: 0 / 1.23 GB, free: 25.29 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003085/0.9611, allocations: 5.359 kB / 1.23 GB, free: 25.29 MB / 0.6198 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 (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.0006752/0.9618, allocations: 102.8 kB / 1.23 GB, free: 41.18 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0004316/0.9622, allocations: 65.03 kB / 1.23 GB, free: 41.14 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.9623, allocations: 0 / 1.23 GB, free: 41.14 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001966/0.9625, allocations: 36.41 kB / 1.23 GB, free: 41.11 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003382/0.9628, allocations: 12.5 kB / 1.23 GB, free: 41.11 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004493/0.9633, allocations: 129.2 kB / 1.23 GB, free: 40.98 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002702/0.9636, allocations: 0.6779 MB / 1.231 GB, free: 40.28 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 5.053e-05/0.9636, allocations: 4.656 kB / 1.231 GB, free: 40.27 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.725e-05/0.9637, allocations: 7.438 kB / 1.231 GB, free: 40.27 MB / 0.6355 GB Notification: Performance of SimCode: time 6.21e-07/0.9637, allocations: 0 / 1.231 GB, free: 40.27 MB / 0.6355 GB Notification: Performance of Templates: time 0.003024/0.9667, allocations: 0.4929 MB / 1.231 GB, free: 40.02 MB / 0.6355 GB