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.0008068/0.000807, allocations: 98.11 kB / 15.36 MB, free: 0.7344 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.005229/0.005229, allocations: 169.8 kB / 16.27 MB, free: 6.656 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.174/1.174, allocations: 205.4 MB / 222.4 MB, free: 5.574 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.344/1.344, allocations: 252 MB / 0.5105 GB, free: 4.688 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.0004627/0.0004626, allocations: 16.61 kB / 0.6249 GB, free: 0.7578 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3851/0.3855, allocations: 106.3 MB / 0.7287 GB, free: 11.28 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.PowerLinearized): time 0.001327/0.3869, allocations: 1.172 MB / 0.7299 GB, free: 10.1 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0002514/0.3872, allocations: 92.64 kB / 0.7299 GB, free: 10 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.981e-05/0.3872, allocations: 4 kB / 0.73 GB, free: 10 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.19e-05/0.3872, allocations: 0 / 0.73 GB, free: 10 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 3.767e-05/0.3873, allocations: 3.938 kB / 0.73 GB, free: 9.996 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001232/0.3874, allocations: 15.98 kB / 0.73 GB, free: 9.98 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 4.831e-05/0.3874, allocations: 19.94 kB / 0.73 GB, free: 9.961 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 6.639e-05/0.3875, allocations: 7.984 kB / 0.73 GB, free: 9.953 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 3.144e-05/0.3876, allocations: 11.88 kB / 0.73 GB, free: 9.941 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 3.341e-05/0.3876, allocations: 15.92 kB / 0.73 GB, free: 9.926 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.052e-05/0.3876, allocations: 0 / 0.73 GB, free: 9.926 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 4.603e-05/0.3877, allocations: 15.98 kB / 0.73 GB, free: 9.91 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.283e-05/0.3877, allocations: 3.984 kB / 0.73 GB, free: 9.906 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.041e-05/0.3877, allocations: 37.64 kB / 0.7301 GB, free: 9.863 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 7.594e-05/0.3878, allocations: 31.89 kB / 0.7301 GB, free: 9.832 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 2.926e-06/0.3878, allocations: 0 / 0.7301 GB, free: 9.832 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.252e-06/0.3878, allocations: 0 / 0.7301 GB, free: 9.832 MB / 0.545 GB Notification: Performance of Transformations before backend: time 3.056e-06/0.3878, allocations: 0 / 0.7301 GB, free: 9.832 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.0003385/0.3882, allocations: 341.5 kB / 0.7304 GB, free: 9.449 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.102e-05/0.3882, allocations: 12.03 kB / 0.7304 GB, free: 9.438 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001385/0.3883, allocations: 20.83 kB / 0.7305 GB, free: 9.418 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.513e-05/0.3884, allocations: 172.3 kB / 0.7306 GB, free: 9.211 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.66e-05/0.3885, allocations: 4.312 kB / 0.7306 GB, free: 9.207 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.786e-06/0.3885, allocations: 384 / 0.7306 GB, free: 9.207 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001645/0.3887, allocations: 62.23 kB / 0.7307 GB, free: 9.141 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.751e-06/0.3887, allocations: 192 / 0.7307 GB, free: 9.141 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.969e-06/0.3887, allocations: 3.938 kB / 0.7307 GB, free: 9.137 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.376e-06/0.3887, allocations: 4 kB / 0.7307 GB, free: 9.133 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002062/0.3889, allocations: 63.94 kB / 0.7308 GB, free: 9.07 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003009/0.3892, allocations: 261 kB / 0.731 GB, free: 8.766 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001646/0.3894, allocations: 70.41 kB / 0.7311 GB, free: 8.688 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000106/0.3895, allocations: 36.91 kB / 0.7311 GB, free: 8.648 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.254e-05/0.3895, allocations: 3.984 kB / 0.7311 GB, free: 8.645 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.845e-05/0.3895, allocations: 34.56 kB / 0.7312 GB, free: 8.602 MB / 0.545 GB Notification: Performance of pre-optimization done (n=2): time 1.012e-06/0.3895, allocations: 0 / 0.7312 GB, free: 8.602 MB / 0.545 GB Notification: Performance of matching and sorting (n=2): time 0.0003845/0.3899, allocations: 129.5 kB / 0.7313 GB, free: 8.469 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.86e-05/0.39, allocations: 59.47 kB / 0.7313 GB, free: 8.398 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.84e-05/0.39, allocations: 105.8 kB / 0.7314 GB, free: 8.285 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.094e-05/0.3901, allocations: 25.7 kB / 0.7315 GB, free: 8.254 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 2.951e-05/0.3901, allocations: 80.14 kB / 0.7315 GB, free: 8.172 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.59e-05/0.3901, allocations: 15.88 kB / 0.7315 GB, free: 8.156 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.168e-05/0.3901, allocations: 9.719 kB / 0.7316 GB, free: 8.141 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 8.576e-05/0.3902, allocations: 314.8 kB / 0.7319 GB, free: 7.824 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001059/0.3903, allocations: 39.91 kB / 0.7319 GB, free: 7.785 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.206e-05/0.3904, allocations: 27.98 kB / 0.7319 GB, free: 7.758 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001901/0.3906, allocations: 68.88 kB / 0.732 GB, free: 7.688 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.442e-06/0.3906, allocations: 0 / 0.732 GB, free: 7.688 MB / 0.545 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002354/0.3909, allocations: 101.6 kB / 0.7321 GB, free: 7.582 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 9.878e-06/0.3909, allocations: 7.938 kB / 0.7321 GB, free: 7.574 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.995e-06/0.3909, allocations: 0 / 0.7321 GB, free: 7.574 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.186e-06/0.3909, allocations: 3.938 kB / 0.7321 GB, free: 7.57 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.641e-05/0.391, allocations: 16.23 kB / 0.7321 GB, free: 7.555 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.857e-06/0.391, allocations: 4.031 kB / 0.7321 GB, free: 7.551 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.094e-05/0.3911, allocations: 15.98 kB / 0.7321 GB, free: 7.535 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.599e-06/0.3911, allocations: 0 / 0.7321 GB, free: 7.535 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 6.221e-05/0.3912, allocations: 113.8 kB / 0.7322 GB, free: 7.414 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.138e-05/0.3912, allocations: 0 / 0.7322 GB, free: 7.414 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.116e-05/0.3912, allocations: 7.531 kB / 0.7322 GB, free: 7.406 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.032e-06/0.3912, allocations: 0 / 0.7322 GB, free: 7.406 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.665e-06/0.3912, allocations: 8 kB / 0.7323 GB, free: 7.398 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.077e-06/0.3913, allocations: 3.984 kB / 0.7323 GB, free: 7.395 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001366/0.3914, allocations: 161.6 kB / 0.7324 GB, free: 7.188 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.91e-07/0.3914, allocations: 0 / 0.7324 GB, free: 7.188 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.288e-05/0.3915, allocations: 15.98 kB / 0.7324 GB, free: 7.172 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.362e-06/0.3915, allocations: 0 / 0.7324 GB, free: 7.172 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.601e-06/0.3915, allocations: 0 / 0.7324 GB, free: 7.172 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.11e-07/0.3915, allocations: 0 / 0.7324 GB, free: 7.172 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.3915, allocations: 4 kB / 0.7324 GB, free: 7.168 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002682/0.3918, allocations: 199.3 kB / 0.7326 GB, free: 6.957 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 2.877e-05/0.3918, allocations: 85.12 kB / 0.7327 GB, free: 6.855 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.042e-05/0.3918, allocations: 0 / 0.7327 GB, free: 6.855 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.546e-05/0.3919, allocations: 11.98 kB / 0.7327 GB, free: 6.844 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.705e-05/0.392, allocations: 4 kB / 0.7327 GB, free: 6.84 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.056e-06/0.392, allocations: 0 / 0.7327 GB, free: 6.84 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.24e-05/0.392, allocations: 83.28 kB / 0.7328 GB, free: 6.758 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.4e-07/0.392, allocations: 0 / 0.7328 GB, free: 6.758 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0001955/0.3922, allocations: 4 kB / 0.7328 GB, free: 6.754 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.008e-05/0.3923, allocations: 107.2 kB / 0.7329 GB, free: 6.641 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002386/0.3925, allocations: 67.95 kB / 0.733 GB, free: 6.574 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.372e-06/0.3925, allocations: 3.938 kB / 0.733 GB, free: 6.57 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001091/0.3927, allocations: 39.91 kB / 0.733 GB, free: 6.531 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002242/0.3929, allocations: 3.938 kB / 0.733 GB, free: 6.527 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002599/0.3932, allocations: 132.8 kB / 0.7331 GB, free: 6.375 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001877/0.3934, allocations: 0.6848 MB / 0.7338 GB, free: 5.664 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.516e-05/0.3934, allocations: 0 / 0.7338 GB, free: 5.664 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.379e-05/0.3934, allocations: 7.438 kB / 0.7338 GB, free: 5.656 MB / 0.545 GB Notification: Performance of SimCode: time 2.4e-07/0.3934, allocations: 0 / 0.7338 GB, free: 5.656 MB / 0.545 GB Notification: Performance of Templates: time 0.001908/0.3953, allocations: 0.5059 MB / 0.7343 GB, free: 5.156 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: