Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.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.Functions.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.PowerLinearized") translateModel(Buildings.Utilities.Math.Functions.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.PowerLinearized") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009188/0.0009187, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.000917/0.0009171, allocations: 195.5 kB / 16.14 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.197/1.197, allocations: 205.1 MB / 222 MB, free: 4.746 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.353/1.353, allocations: 251.6 MB / 0.5088 GB, free: 3.301 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.00125/0.00125, allocations: 63.91 kB / 0.6216 GB, free: 1.969 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3921/0.3933, allocations: 104.7 MB / 0.7238 GB, free: 13.12 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.PowerLinearized): time 0.00166/0.395, allocations: 0.6481 MB / 0.7245 GB, free: 12.46 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0002672/0.3953, allocations: 106.5 kB / 0.7246 GB, free: 12.36 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.676e-06/0.3953, allocations: 0 / 0.7246 GB, free: 12.36 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.463e-05/0.3954, allocations: 0 / 0.7246 GB, free: 12.36 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 2.896e-05/0.3954, allocations: 0 / 0.7246 GB, free: 12.36 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001414/0.3956, allocations: 15.92 kB / 0.7246 GB, free: 12.35 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 3.161e-05/0.3956, allocations: 4 kB / 0.7246 GB, free: 12.34 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 3.599e-05/0.3956, allocations: 15.98 kB / 0.7246 GB, free: 12.33 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 1.283e-05/0.3957, allocations: 0 / 0.7246 GB, free: 12.33 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 5.85e-05/0.3957, allocations: 4 kB / 0.7246 GB, free: 12.32 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.023e-05/0.3957, allocations: 0 / 0.7246 GB, free: 12.32 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 4.698e-05/0.3958, allocations: 15.98 kB / 0.7246 GB, free: 12.31 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 9.938e-06/0.3958, allocations: 0 / 0.7246 GB, free: 12.31 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.03e-05/0.3958, allocations: 7.922 kB / 0.7246 GB, free: 12.3 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 6.877e-05/0.3959, allocations: 15.97 kB / 0.7246 GB, free: 12.29 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.586e-06/0.3959, allocations: 4 kB / 0.7246 GB, free: 12.28 MB / 0.545 GB Notification: Performance of FrontEnd: time 5.61e-07/0.3959, allocations: 3.938 kB / 0.7246 GB, free: 12.28 MB / 0.545 GB Notification: Performance of Transformations before backend: time 3.066e-06/0.3959, allocations: 4 kB / 0.7246 GB, free: 12.27 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.0002774/0.3962, allocations: 319.5 kB / 0.7249 GB, free: 11.91 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.309e-05/0.3962, allocations: 12.03 kB / 0.725 GB, free: 11.9 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000134/0.3964, allocations: 8.922 kB / 0.725 GB, free: 11.89 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.563e-05/0.3965, allocations: 160.4 kB / 0.7251 GB, free: 11.7 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.647e-05/0.3965, allocations: 4.375 kB / 0.7251 GB, free: 11.69 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.211e-06/0.3965, allocations: 384 / 0.7251 GB, free: 11.69 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.812e-05/0.3966, allocations: 46.19 kB / 0.7252 GB, free: 11.64 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.679e-06/0.3966, allocations: 192 / 0.7252 GB, free: 11.64 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.047e-06/0.3966, allocations: 3.938 kB / 0.7252 GB, free: 11.64 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.798e-06/0.3966, allocations: 3.938 kB / 0.7252 GB, free: 11.63 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.475e-05/0.3967, allocations: 15.98 kB / 0.7252 GB, free: 11.62 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001221/0.3968, allocations: 155.6 kB / 0.7253 GB, free: 11.42 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001514/0.397, allocations: 42.59 kB / 0.7254 GB, free: 11.37 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.36e-05/0.3971, allocations: 12.91 kB / 0.7254 GB, free: 11.35 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.277e-05/0.3971, allocations: 0 / 0.7254 GB, free: 11.35 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.994e-05/0.3971, allocations: 42.5 kB / 0.7254 GB, free: 11.3 MB / 0.545 GB Notification: Performance of pre-optimization done (n=3): time 8.02e-07/0.3971, allocations: 0 / 0.7254 GB, free: 11.3 MB / 0.545 GB Notification: Performance of matching and sorting (n=3): time 0.0001821/0.3973, allocations: 57.61 kB / 0.7255 GB, free: 11.24 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.502e-05/0.3973, allocations: 51.41 kB / 0.7255 GB, free: 11.18 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.697e-05/0.3974, allocations: 93.86 kB / 0.7256 GB, free: 11.07 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.016e-05/0.3974, allocations: 25.7 kB / 0.7257 GB, free: 11.04 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 2.718e-05/0.3974, allocations: 80.14 kB / 0.7257 GB, free: 10.96 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.575e-05/0.3974, allocations: 7.906 kB / 0.7257 GB, free: 10.95 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.523e-05/0.3975, allocations: 17.7 kB / 0.7258 GB, free: 10.93 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 8.514e-05/0.3976, allocations: 310.8 kB / 0.726 GB, free: 10.62 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.816e-05/0.3976, allocations: 8 kB / 0.7261 GB, free: 10.61 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.922e-05/0.3976, allocations: 7.984 kB / 0.7261 GB, free: 10.6 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.027e-05/0.3977, allocations: 32.78 kB / 0.7261 GB, free: 10.57 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.3977, allocations: 0 / 0.7261 GB, free: 10.57 MB / 0.545 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001085/0.3978, allocations: 45.69 kB / 0.7261 GB, free: 10.52 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.133e-05/0.3979, allocations: 4 kB / 0.7261 GB, free: 10.51 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.717e-06/0.3979, allocations: 0 / 0.7261 GB, free: 10.51 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.12e-05/0.3979, allocations: 3.938 kB / 0.7261 GB, free: 10.51 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003637/0.3982, allocations: 47.92 kB / 0.7262 GB, free: 10.46 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001112/0.3994, allocations: 1.306 MB / 0.7275 GB, free: 9.023 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.815e-05/0.3994, allocations: 4 kB / 0.7275 GB, free: 9.02 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.869e-06/0.3994, allocations: 0 / 0.7275 GB, free: 9.02 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 (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 6.319e-05/0.3995, allocations: 121.9 kB / 0.7276 GB, free: 8.891 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.568e-06/0.3995, allocations: 3.938 kB / 0.7276 GB, free: 8.887 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.373e-05/0.3995, allocations: 3.828 kB / 0.7276 GB, free: 8.879 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.232e-06/0.3995, allocations: 3.938 kB / 0.7276 GB, free: 8.875 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.3995, allocations: 7.984 kB / 0.7276 GB, free: 8.867 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.036e-05/0.3996, allocations: 3.984 kB / 0.7276 GB, free: 8.863 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.966e-05/0.3996, allocations: 153.5 kB / 0.7278 GB, free: 8.664 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.454e-06/0.3996, allocations: 0 / 0.7278 GB, free: 8.664 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003551/0.4, allocations: 55.86 kB / 0.7278 GB, free: 8.609 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.4, allocations: 0 / 0.7278 GB, free: 8.609 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.504e-06/0.4, allocations: 4 kB / 0.7278 GB, free: 8.605 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009869/0.401, allocations: 1.298 MB / 0.7291 GB, free: 7.18 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/0.401, allocations: 160 / 0.7291 GB, free: 7.18 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001138/0.4012, allocations: 89.02 kB / 0.7292 GB, free: 7.074 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 2.885e-05/0.4012, allocations: 81.02 kB / 0.7292 GB, free: 6.977 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.981e-06/0.4012, allocations: 0 / 0.7292 GB, free: 6.977 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.852e-05/0.4012, allocations: 3.984 kB / 0.7292 GB, free: 6.973 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.352e-05/0.4013, allocations: 4 kB / 0.7293 GB, free: 6.969 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.266e-06/0.4013, allocations: 0 / 0.7293 GB, free: 6.969 MB / 0.545 GB Notification: Performance of sorting global known variables: time 2.865e-05/0.4013, allocations: 79.28 kB / 0.7293 GB, free: 6.891 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4013, allocations: 0 / 0.7293 GB, free: 6.891 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.000181/0.4015, allocations: 8 kB / 0.7293 GB, free: 6.883 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 (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 9.443e-05/0.4016, allocations: 103.2 kB / 0.7294 GB, free: 6.77 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0004265/0.402, allocations: 59.91 kB / 0.7295 GB, free: 6.711 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.402, allocations: 7.938 kB / 0.7295 GB, free: 6.703 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002257/0.4023, allocations: 35.95 kB / 0.7295 GB, free: 6.668 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001227/0.4024, allocations: 0 / 0.7295 GB, free: 6.668 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002422/0.4026, allocations: 106.2 kB / 0.7296 GB, free: 6.543 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001956/0.4028, allocations: 0.6731 MB / 0.7303 GB, free: 5.844 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.94e-05/0.4029, allocations: 0 / 0.7303 GB, free: 5.844 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.339e-05/0.4029, allocations: 15.42 kB / 0.7303 GB, free: 5.828 MB / 0.545 GB Notification: Performance of SimCode: time 2.9e-07/0.4029, allocations: 0 / 0.7303 GB, free: 5.828 MB / 0.545 GB Notification: Performance of Templates: time 0.001864/0.4048, allocations: 406.5 kB / 0.7307 GB, free: 5.434 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.PowerLinearized -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe 2>&1)