Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.PowerLinearized") translateModel(Buildings.Utilities.Math.Functions.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.PowerLinearized") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.522/2.522, allocations: 287.5 MB / 303.2 MB, free: 8.223 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001323/0.001323, allocations: 177.9 kB / 371.8 MB, free: 10.81 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.033/2.033, allocations: 205.4 MB / 0.6305 GB, free: 10.53 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009349/0.0009349, allocations: 89.23 kB / 0.7438 GB, free: 6.535 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004725/0.0004727, allocations: 12.28 kB / 0.8667 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2029/0.2034, allocations: 115.3 MB / 0.9793 GB, free: 28.18 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.905/1.108, allocations: 137.1 MB / 1.113 GB, free: 15.75 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002622/1.109, allocations: 74.31 kB / 1.113 GB, free: 15.75 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.003753/1.113, allocations: 0.961 MB / 1.114 GB, free: 31.41 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.023e-06/1.113, allocations: 0 / 1.114 GB, free: 31.41 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.29e-06/1.113, allocations: 0 / 1.114 GB, free: 31.41 MB / 0.698 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.0002855/1.113, allocations: 326.2 kB / 1.115 GB, free: 31.06 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.876e-05/1.113, allocations: 7.656 kB / 1.115 GB, free: 31.06 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001724/1.113, allocations: 9.266 kB / 1.115 GB, free: 31.06 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.769e-05/1.113, allocations: 164.3 kB / 1.115 GB, free: 30.86 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.359e-05/1.113, allocations: 5.75 kB / 1.115 GB, free: 30.86 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.177e-06/1.113, allocations: 384 / 1.115 GB, free: 30.86 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001358/1.113, allocations: 36.92 kB / 1.115 GB, free: 30.83 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.427e-06/1.113, allocations: 1.828 kB / 1.115 GB, free: 30.83 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.036e-05/1.114, allocations: 3.938 kB / 1.115 GB, free: 30.82 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.21e-06/1.114, allocations: 7.906 kB / 1.115 GB, free: 30.82 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001093/1.114, allocations: 8.031 kB / 1.115 GB, free: 30.82 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000148/1.114, allocations: 156.3 kB / 1.115 GB, free: 30.63 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002104/1.114, allocations: 43.22 kB / 1.115 GB, free: 30.6 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.587e-05/1.114, allocations: 15.41 kB / 1.115 GB, free: 30.59 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.347e-05/1.114, allocations: 4 kB / 1.115 GB, free: 30.59 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.033e-05/1.114, allocations: 34.55 kB / 1.115 GB, free: 30.55 MB / 0.698 GB Notification: Performance of pre-optimization done (n=3): time 1.503e-06/1.114, allocations: 0 / 1.115 GB, free: 30.55 MB / 0.698 GB Notification: Performance of matching and sorting (n=3): time 0.0002564/1.114, allocations: 59.56 kB / 1.115 GB, free: 30.51 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.798e-05/1.114, allocations: 64.36 kB / 1.115 GB, free: 30.44 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.117e-05/1.115, allocations: 89.86 kB / 1.115 GB, free: 30.34 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.604e-05/1.115, allocations: 25.7 kB / 1.115 GB, free: 30.31 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.476e-05/1.115, allocations: 84.14 kB / 1.115 GB, free: 30.23 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.433e-05/1.115, allocations: 13.55 kB / 1.115 GB, free: 30.21 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.917e-06/1.115, allocations: 0 / 1.115 GB, free: 30.21 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001222/1.115, allocations: 310.8 kB / 1.116 GB, free: 29.9 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.562e-05/1.115, allocations: 11.11 kB / 1.116 GB, free: 29.9 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.777e-05/1.115, allocations: 5.188 kB / 1.116 GB, free: 29.9 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001337/1.115, allocations: 23.22 kB / 1.116 GB, free: 29.89 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/1.115, allocations: 0 / 1.116 GB, free: 29.89 MB / 0.698 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001643/1.115, allocations: 50.05 kB / 1.116 GB, free: 29.86 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.468e-05/1.115, allocations: 9.422 kB / 1.116 GB, free: 29.86 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.509e-06/1.115, allocations: 0 / 1.116 GB, free: 29.86 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.49e-05/1.115, allocations: 7.812 kB / 1.116 GB, free: 29.85 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005972/1.116, allocations: 39.03 kB / 1.116 GB, free: 29.85 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001614/1.118, allocations: 1.309 MB / 1.117 GB, free: 28.53 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.382e-05/1.118, allocations: 3.906 kB / 1.117 GB, free: 28.53 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.135e-06/1.118, allocations: 0 / 1.117 GB, free: 28.53 MB / 0.698 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 9.113e-05/1.118, allocations: 115 kB / 1.117 GB, free: 28.41 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.075e-05/1.118, allocations: 3.938 kB / 1.117 GB, free: 28.41 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.764e-05/1.118, allocations: 7.344 kB / 1.117 GB, free: 28.39 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/1.118, allocations: 4 kB / 1.117 GB, free: 28.39 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.533e-06/1.118, allocations: 0 / 1.117 GB, free: 28.39 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/1.118, allocations: 1.453 kB / 1.117 GB, free: 28.39 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001105/1.118, allocations: 160 kB / 1.117 GB, free: 28.2 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/1.118, allocations: 0 / 1.117 GB, free: 28.2 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006015/1.119, allocations: 48.86 kB / 1.117 GB, free: 28.2 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/1.119, allocations: 336 / 1.117 GB, free: 28.2 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.586e-06/1.119, allocations: 3.875 kB / 1.117 GB, free: 28.2 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001508/1.12, allocations: 1.311 MB / 1.119 GB, free: 26.87 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/1.12, allocations: 0 / 1.119 GB, free: 26.87 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001676/1.12, allocations: 79.66 kB / 1.119 GB, free: 26.8 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.407e-05/1.12, allocations: 80.95 kB / 1.119 GB, free: 26.7 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.003e-05/1.12, allocations: 1.734 kB / 1.119 GB, free: 26.7 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.032e-05/1.12, allocations: 0 / 1.119 GB, free: 26.7 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.274e-05/1.12, allocations: 1.875 kB / 1.119 GB, free: 26.7 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.649e-06/1.12, allocations: 3.844 kB / 1.119 GB, free: 26.7 MB / 0.698 GB Notification: Performance of sorting global known variables: time 3.272e-05/1.121, allocations: 75.28 kB / 1.119 GB, free: 26.63 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.252e-06/1.121, allocations: 0 / 1.119 GB, free: 26.63 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.000248/1.121, allocations: 7.781 kB / 1.119 GB, free: 26.62 MB / 0.698 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.000134/1.121, allocations: 114.5 kB / 1.119 GB, free: 26.52 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0006998/1.122, allocations: 57.72 kB / 1.119 GB, free: 26.52 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.594e-06/1.122, allocations: 4 kB / 1.119 GB, free: 26.52 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.000387/1.122, allocations: 38.39 kB / 1.119 GB, free: 26.52 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001617/1.122, allocations: 1.719 kB / 1.119 GB, free: 26.52 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003102/1.123, allocations: 91.73 kB / 1.119 GB, free: 26.42 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003029/1.123, allocations: 0.6706 MB / 1.12 GB, free: 25.73 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 4.829e-05/1.123, allocations: 11.84 kB / 1.12 GB, free: 25.72 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.057e-05/1.123, allocations: 9.031 kB / 1.12 GB, free: 25.71 MB / 0.698 GB Notification: Performance of SimCode: time 6.91e-07/1.123, allocations: 0 / 1.12 GB, free: 25.71 MB / 0.698 GB Notification: Performance of Templates: time 0.002597/1.126, allocations: 383.7 kB / 1.12 GB, free: 25.67 MB / 0.698 GB make -j1 -f Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.makefile (rm -f Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.sim & ./Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.PowerLinearized -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe 2>&1)