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.00102/0.00102, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00107/0.00107, allocations: 195 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.203/1.203, allocations: 205.1 MB / 222.4 MB, free: 4.602 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.358/1.358, allocations: 251.7 MB / 0.5092 GB, free: 3.125 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.001302/0.001302, allocations: 67.91 kB / 0.6223 GB, free: 1.504 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3767/0.378, allocations: 104.7 MB / 0.7245 GB, free: 12.92 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.PowerLinearized): time 0.00224/0.3803, allocations: 1.438 MB / 0.7259 GB, free: 11.47 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0002439/0.3805, allocations: 92.59 kB / 0.726 GB, free: 11.38 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.333e-05/0.3806, allocations: 0 / 0.726 GB, free: 11.38 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.829e-05/0.3806, allocations: 3.984 kB / 0.726 GB, free: 11.37 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 3.838e-05/0.3807, allocations: 7.922 kB / 0.726 GB, free: 11.36 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001756/0.3808, allocations: 15.98 kB / 0.726 GB, free: 11.35 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 6.212e-05/0.3809, allocations: 23.92 kB / 0.7261 GB, free: 11.32 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 8.678e-05/0.381, allocations: 4 kB / 0.7261 GB, free: 11.32 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 3.877e-05/0.381, allocations: 15.94 kB / 0.7261 GB, free: 11.3 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 3.807e-05/0.3811, allocations: 11.98 kB / 0.7261 GB, free: 11.29 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.334e-05/0.3811, allocations: 0 / 0.7261 GB, free: 11.29 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 5.8e-05/0.3812, allocations: 19.98 kB / 0.7261 GB, free: 11.27 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.234e-05/0.3812, allocations: 3.938 kB / 0.7261 GB, free: 11.27 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.513e-05/0.3812, allocations: 15.91 kB / 0.7261 GB, free: 11.25 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 9.826e-05/0.3813, allocations: 31.91 kB / 0.7262 GB, free: 11.22 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.327e-06/0.3813, allocations: 0 / 0.7262 GB, free: 11.22 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.132e-06/0.3813, allocations: 0 / 0.7262 GB, free: 11.22 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.55e-06/0.3813, allocations: 0 / 0.7262 GB, free: 11.22 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.0003974/0.3817, allocations: 352.7 kB / 0.7265 GB, free: 10.83 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.162e-05/0.3818, allocations: 12.03 kB / 0.7265 GB, free: 10.82 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001502/0.3819, allocations: 16.91 kB / 0.7265 GB, free: 10.8 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.903e-05/0.382, allocations: 164.3 kB / 0.7267 GB, free: 10.61 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.072e-05/0.3821, allocations: 384 / 0.7267 GB, free: 10.61 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.816e-06/0.3821, allocations: 4.375 kB / 0.7267 GB, free: 10.6 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001708/0.3823, allocations: 62.22 kB / 0.7267 GB, free: 10.54 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.615e-06/0.3823, allocations: 4.188 kB / 0.7267 GB, free: 10.53 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.768e-06/0.3823, allocations: 3.938 kB / 0.7267 GB, free: 10.53 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.518e-06/0.3823, allocations: 0 / 0.7267 GB, free: 10.53 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001941/0.3825, allocations: 47.95 kB / 0.7268 GB, free: 10.48 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003302/0.3828, allocations: 264.8 kB / 0.727 GB, free: 10.17 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001563/0.383, allocations: 58.48 kB / 0.7271 GB, free: 10.11 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.888e-05/0.3831, allocations: 28.91 kB / 0.7271 GB, free: 10.07 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.183e-05/0.3831, allocations: 3.984 kB / 0.7271 GB, free: 10.07 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.203e-05/0.3832, allocations: 34.56 kB / 0.7272 GB, free: 10.03 MB / 0.545 GB Notification: Performance of pre-optimization done (n=2): time 9.42e-07/0.3832, allocations: 3.938 kB / 0.7272 GB, free: 10.02 MB / 0.545 GB Notification: Performance of matching and sorting (n=2): time 0.0003784/0.3835, allocations: 109.5 kB / 0.7273 GB, free: 9.91 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.06e-05/0.3836, allocations: 51.41 kB / 0.7273 GB, free: 9.848 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.793e-05/0.3837, allocations: 101.9 kB / 0.7274 GB, free: 9.738 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.301e-05/0.3837, allocations: 29.69 kB / 0.7274 GB, free: 9.703 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 3.464e-05/0.3837, allocations: 84.14 kB / 0.7275 GB, free: 9.617 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.532e-05/0.3837, allocations: 4.031 kB / 0.7275 GB, free: 9.613 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.123e-05/0.3838, allocations: 21.72 kB / 0.7275 GB, free: 9.586 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 8.025e-05/0.3839, allocations: 310.8 kB / 0.7278 GB, free: 9.273 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001044/0.384, allocations: 27.97 kB / 0.7279 GB, free: 9.246 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.792e-05/0.3841, allocations: 23.97 kB / 0.7279 GB, free: 9.223 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001783/0.3842, allocations: 48.88 kB / 0.7279 GB, free: 9.172 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.3843, allocations: 3.938 kB / 0.7279 GB, free: 9.168 MB / 0.545 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.00022/0.3845, allocations: 85.53 kB / 0.728 GB, free: 9.078 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.061e-05/0.3845, allocations: 4 kB / 0.728 GB, free: 9.074 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.093e-06/0.3845, allocations: 7.984 kB / 0.728 GB, free: 9.066 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.067e-05/0.3845, allocations: 0 / 0.728 GB, free: 9.066 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.355e-05/0.3846, allocations: 12.02 kB / 0.728 GB, free: 9.055 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.468e-06/0.3846, allocations: 4 kB / 0.7281 GB, free: 9.051 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.757e-05/0.3847, allocations: 7.984 kB / 0.7281 GB, free: 9.043 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.342e-06/0.3847, allocations: 4.25 kB / 0.7281 GB, free: 9.039 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.773e-05/0.3848, allocations: 109.8 kB / 0.7282 GB, free: 8.922 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.416e-05/0.3848, allocations: 11.89 kB / 0.7282 GB, free: 8.91 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.189e-05/0.3848, allocations: 3.531 kB / 0.7282 GB, free: 8.906 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.385e-06/0.3848, allocations: 4 kB / 0.7282 GB, free: 8.902 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/0.3848, allocations: 4 kB / 0.7282 GB, free: 8.898 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.114e-06/0.3848, allocations: 0 / 0.7282 GB, free: 8.898 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001348/0.385, allocations: 173.6 kB / 0.7284 GB, free: 8.68 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.12e-07/0.385, allocations: 0 / 0.7284 GB, free: 8.68 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.079e-05/0.3851, allocations: 11.98 kB / 0.7284 GB, free: 8.668 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.293e-06/0.3851, allocations: 0 / 0.7284 GB, free: 8.668 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.362e-06/0.3851, allocations: 0 / 0.7284 GB, free: 8.668 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.22e-07/0.3851, allocations: 0 / 0.7284 GB, free: 8.668 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.867e-06/0.3851, allocations: 7.938 kB / 0.7284 GB, free: 8.66 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002496/0.3853, allocations: 175.4 kB / 0.7285 GB, free: 8.473 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 2.786e-05/0.3854, allocations: 85.11 kB / 0.7286 GB, free: 8.371 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.737e-05/0.3854, allocations: 0 / 0.7286 GB, free: 8.371 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.701e-05/0.3855, allocations: 7.984 kB / 0.7286 GB, free: 8.363 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.93e-05/0.3855, allocations: 0 / 0.7286 GB, free: 8.363 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.17e-06/0.3855, allocations: 4 kB / 0.7286 GB, free: 8.359 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.493e-05/0.3856, allocations: 91.3 kB / 0.7287 GB, free: 8.27 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3856, allocations: 0 / 0.7287 GB, free: 8.27 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0001975/0.3858, allocations: 7.938 kB / 0.7287 GB, free: 8.262 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 8.615e-05/0.3859, allocations: 99.19 kB / 0.7288 GB, free: 8.156 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002368/0.3861, allocations: 59.89 kB / 0.7289 GB, free: 8.098 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.3861, allocations: 4.062 kB / 0.7289 GB, free: 8.094 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001026/0.3862, allocations: 23.97 kB / 0.7289 GB, free: 8.07 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002328/0.3865, allocations: 9.969 kB / 0.7289 GB, free: 8.062 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002843/0.3868, allocations: 129.2 kB / 0.729 GB, free: 7.91 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001842/0.387, allocations: 0.6807 MB / 0.7297 GB, free: 7.203 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.743e-05/0.387, allocations: 0 / 0.7297 GB, free: 7.203 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.64e-05/0.387, allocations: 11.44 kB / 0.7297 GB, free: 7.191 MB / 0.545 GB Notification: Performance of SimCode: time 2.3e-07/0.387, allocations: 0 / 0.7297 GB, free: 7.191 MB / 0.545 GB Notification: Performance of Templates: time 0.002163/0.3892, allocations: 0.5829 MB / 0.7303 GB, free: 6.613 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.PowerLinearized.makefile (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)