Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.PowerLinearized.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.PowerLinearized") translateModel(Buildings.Utilities.Math.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.PowerLinearized") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001075/0.001075, allocations: 99.86 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009704/0.0009704, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.78/1.78, allocations: 205.4 MB / 222.1 MB, free: 5.543 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.577/1.577, allocations: 251.9 MB / 0.51 GB, free: 4.898 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0007329/0.000733, allocations: 15.75 kB / 0.6241 GB, free: 1.207 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5825/0.5832, allocations: 106.3 MB / 0.728 GB, free: 11.48 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.PowerLinearized): time 0.001736/0.585, allocations: 1.16 MB / 0.7291 GB, free: 10.31 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0002479/0.5853, allocations: 92.55 kB / 0.7292 GB, free: 10.22 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.507e-05/0.5853, allocations: 0 / 0.7292 GB, free: 10.22 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.385e-05/0.5854, allocations: 0 / 0.7292 GB, free: 10.22 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 5.786e-05/0.5854, allocations: 4 kB / 0.7292 GB, free: 10.21 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001755/0.5856, allocations: 15.97 kB / 0.7292 GB, free: 10.2 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 5.865e-05/0.5857, allocations: 8 kB / 0.7292 GB, free: 10.19 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001078/0.5858, allocations: 4 kB / 0.7292 GB, free: 10.19 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 4.653e-05/0.5858, allocations: 15.91 kB / 0.7292 GB, free: 10.17 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 4.905e-05/0.5859, allocations: 19.92 kB / 0.7292 GB, free: 10.15 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.549e-05/0.5859, allocations: 0 / 0.7292 GB, free: 10.15 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 6e-05/0.586, allocations: 15.98 kB / 0.7293 GB, free: 10.14 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 9.198e-06/0.586, allocations: 0 / 0.7293 GB, free: 10.14 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.187e-05/0.586, allocations: 25.7 kB / 0.7293 GB, free: 10.11 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 8.782e-05/0.5861, allocations: 23.97 kB / 0.7293 GB, free: 10.08 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.5861, allocations: 0 / 0.7293 GB, free: 10.08 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.405e-06/0.5861, allocations: 0 / 0.7293 GB, free: 10.08 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.669e-06/0.5861, allocations: 0 / 0.7293 GB, free: 10.08 MB / 0.545 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.0004935/0.5866, allocations: 341.3 kB / 0.7296 GB, free: 9.703 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.169e-05/0.5867, allocations: 12.03 kB / 0.7296 GB, free: 9.691 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000185/0.5869, allocations: 27.83 kB / 0.7297 GB, free: 9.664 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001545/0.5871, allocations: 175 kB / 0.7298 GB, free: 9.453 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.12e-05/0.5871, allocations: 0 / 0.7298 GB, free: 9.453 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.469e-05/0.5871, allocations: 3.938 kB / 0.7298 GB, free: 9.449 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002429/0.5874, allocations: 65.67 kB / 0.7299 GB, free: 9.379 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.897e-06/0.5874, allocations: 0 / 0.7299 GB, free: 9.379 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.135e-05/0.5874, allocations: 0 / 0.7299 GB, free: 9.379 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.21e-06/0.5874, allocations: 0 / 0.7299 GB, free: 9.379 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002181/0.5876, allocations: 67.94 kB / 0.73 GB, free: 9.312 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004392/0.5881, allocations: 260.9 kB / 0.7302 GB, free: 9.008 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001929/0.5883, allocations: 70.47 kB / 0.7303 GB, free: 8.93 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.678e-05/0.5883, allocations: 3.984 kB / 0.7303 GB, free: 8.926 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.895e-05/0.5884, allocations: 34.62 kB / 0.7303 GB, free: 8.883 MB / 0.545 GB Notification: Performance of pre-optimization done (n=2): time 1.252e-06/0.5884, allocations: 0 / 0.7303 GB, free: 8.883 MB / 0.545 GB Notification: Performance of matching and sorting (n=2): time 0.0004425/0.5888, allocations: 121.6 kB / 0.7304 GB, free: 8.758 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.574e-05/0.5889, allocations: 59.53 kB / 0.7305 GB, free: 8.688 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.107e-05/0.589, allocations: 101.8 kB / 0.7306 GB, free: 8.578 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.552e-05/0.589, allocations: 25.7 kB / 0.7306 GB, free: 8.547 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 7.16e-05/0.5891, allocations: 91.98 kB / 0.7307 GB, free: 8.453 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.783e-05/0.5891, allocations: 4 kB / 0.7307 GB, free: 8.449 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.559e-06/0.5891, allocations: 0 / 0.7307 GB, free: 8.449 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001214/0.5892, allocations: 314.8 kB / 0.731 GB, free: 8.133 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001082/0.5893, allocations: 39.91 kB / 0.731 GB, free: 8.094 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.899e-05/0.5895, allocations: 31.97 kB / 0.7311 GB, free: 8.062 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001139/0.5896, allocations: 32.05 kB / 0.7311 GB, free: 8.031 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/0.5896, allocations: 0 / 0.7311 GB, free: 8.031 MB / 0.545 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002436/0.5898, allocations: 101.5 kB / 0.7312 GB, free: 7.926 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.873e-05/0.5899, allocations: 8 kB / 0.7312 GB, free: 7.918 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.019e-06/0.5899, allocations: 0 / 0.7312 GB, free: 7.918 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.688e-05/0.5899, allocations: 3.984 kB / 0.7312 GB, free: 7.914 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001132/0.59, allocations: 15.98 kB / 0.7312 GB, free: 7.898 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.47e-06/0.59, allocations: 0 / 0.7312 GB, free: 7.898 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.338e-05/0.5901, allocations: 11.98 kB / 0.7312 GB, free: 7.887 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.761e-06/0.5901, allocations: 4.031 kB / 0.7312 GB, free: 7.883 MB / 0.545 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 0.0001044/0.5902, allocations: 116.3 kB / 0.7314 GB, free: 7.762 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.591e-05/0.5902, allocations: 4 kB / 0.7314 GB, free: 7.758 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.75e-05/0.5903, allocations: 11.47 kB / 0.7314 GB, free: 7.746 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.5903, allocations: 0 / 0.7314 GB, free: 7.746 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.083e-06/0.5903, allocations: 0 / 0.7314 GB, free: 7.746 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.5903, allocations: 0 / 0.7314 GB, free: 7.746 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001896/0.5905, allocations: 165.6 kB / 0.7315 GB, free: 7.535 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.5905, allocations: 0 / 0.7315 GB, free: 7.535 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.055e-05/0.5906, allocations: 19.98 kB / 0.7316 GB, free: 7.516 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.5906, allocations: 0 / 0.7316 GB, free: 7.516 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.466e-06/0.5906, allocations: 256 / 0.7316 GB, free: 7.516 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.436e-06/0.5906, allocations: 3.984 kB / 0.7316 GB, free: 7.512 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.976e-06/0.5906, allocations: 4 kB / 0.7316 GB, free: 7.508 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003163/0.591, allocations: 199.4 kB / 0.7317 GB, free: 7.297 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.875e-05/0.591, allocations: 77.11 kB / 0.7318 GB, free: 7.203 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.881e-05/0.591, allocations: 3.984 kB / 0.7318 GB, free: 7.199 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.131e-05/0.5911, allocations: 12.03 kB / 0.7318 GB, free: 7.188 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.796e-05/0.5912, allocations: 7.922 kB / 0.7318 GB, free: 7.18 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.402e-06/0.5912, allocations: 4 kB / 0.7318 GB, free: 7.176 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.791e-05/0.5913, allocations: 83.28 kB / 0.7319 GB, free: 7.094 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5913, allocations: 0 / 0.7319 GB, free: 7.094 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002138/0.5915, allocations: 4 kB / 0.7319 GB, free: 7.09 MB / 0.545 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.0001561/0.5917, allocations: 99.19 kB / 0.732 GB, free: 6.984 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002868/0.592, allocations: 71.94 kB / 0.7321 GB, free: 6.914 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.592, allocations: 0 / 0.7321 GB, free: 6.914 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001119/0.5921, allocations: 32.05 kB / 0.7321 GB, free: 6.883 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002439/0.5924, allocations: 11.94 kB / 0.7321 GB, free: 6.871 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004318/0.5928, allocations: 132.6 kB / 0.7323 GB, free: 6.719 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003823/0.5932, allocations: 0.6887 MB / 0.7329 GB, free: 6.004 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.829e-05/0.5932, allocations: 4 kB / 0.7329 GB, free: 6 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.103e-05/0.5933, allocations: 7.438 kB / 0.7329 GB, free: 5.992 MB / 0.545 GB Notification: Performance of SimCode: time 2.5e-07/0.5933, allocations: 0 / 0.7329 GB, free: 5.992 MB / 0.545 GB Notification: Performance of Templates: time 0.003066/0.5963, allocations: 492.3 kB / 0.7334 GB, free: 5.516 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.PowerLinearized.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.PowerLinearized.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.PowerLinearized.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.PowerLinearized.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.PowerLinearized.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.PowerLinearized -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.PowerLinearized.pipe 2>&1) Environment - environmentSimulation: