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.0007441/0.0007442, allocations: 97.64 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.00407/0.004071, allocations: 170.1 kB / 16.27 MB, free: 6.652 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.182/1.182, allocations: 205.4 MB / 222.4 MB, free: 5.559 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.335/1.335, allocations: 252 MB / 0.5105 GB, free: 4.617 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.0004457/0.0004457, allocations: 12 kB / 0.6249 GB, free: 0.6953 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.378/0.3785, allocations: 106.3 MB / 0.7287 GB, free: 11.26 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.PowerLinearized): time 0.000623/0.3791, allocations: 328.6 kB / 0.729 GB, free: 10.94 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0002665/0.3794, allocations: 99.67 kB / 0.7291 GB, free: 10.84 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.437e-06/0.3794, allocations: 0 / 0.7291 GB, free: 10.84 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.233e-05/0.3794, allocations: 0 / 0.7291 GB, free: 10.84 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 3.375e-05/0.3795, allocations: 0 / 0.7291 GB, free: 10.84 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001377/0.3796, allocations: 11.98 kB / 0.7291 GB, free: 10.83 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 3.716e-05/0.3797, allocations: 15.94 kB / 0.7292 GB, free: 10.81 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 3.664e-05/0.3797, allocations: 0 / 0.7292 GB, free: 10.81 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 1.402e-05/0.3797, allocations: 4 kB / 0.7292 GB, free: 10.81 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 6.342e-05/0.3798, allocations: 7.984 kB / 0.7292 GB, free: 10.8 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 9.358e-06/0.3798, allocations: 0 / 0.7292 GB, free: 10.8 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 4.749e-05/0.3799, allocations: 11.98 kB / 0.7292 GB, free: 10.79 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.16e-05/0.3799, allocations: 7.984 kB / 0.7292 GB, free: 10.78 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.319e-05/0.3799, allocations: 29.64 kB / 0.7292 GB, free: 10.75 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 6.536e-05/0.38, allocations: 11.98 kB / 0.7292 GB, free: 10.73 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 2.916e-06/0.38, allocations: 0 / 0.7292 GB, free: 10.73 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.242e-06/0.38, allocations: 0 / 0.7292 GB, free: 10.73 MB / 0.545 GB Notification: Performance of Transformations before backend: time 3.036e-06/0.38, allocations: 4 kB / 0.7292 GB, free: 10.73 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.0002679/0.3803, allocations: 323.5 kB / 0.7295 GB, free: 10.36 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.303e-05/0.3803, allocations: 8.031 kB / 0.7296 GB, free: 10.36 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001434/0.3805, allocations: 8.922 kB / 0.7296 GB, free: 10.35 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.994e-05/0.3806, allocations: 167.2 kB / 0.7297 GB, free: 10.15 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.66e-05/0.3806, allocations: 384 / 0.7297 GB, free: 10.15 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.758e-06/0.3806, allocations: 4.375 kB / 0.7297 GB, free: 10.14 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001035/0.3807, allocations: 46.25 kB / 0.7298 GB, free: 10.09 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.701e-06/0.3807, allocations: 192 / 0.7298 GB, free: 10.09 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.919e-06/0.3807, allocations: 3.938 kB / 0.7298 GB, free: 10.09 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/0.3808, allocations: 3.938 kB / 0.7298 GB, free: 10.09 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.325e-05/0.3808, allocations: 15.98 kB / 0.7298 GB, free: 10.07 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000128/0.381, allocations: 151.6 kB / 0.7299 GB, free: 9.875 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001442/0.3811, allocations: 46.55 kB / 0.73 GB, free: 9.82 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.896e-05/0.3812, allocations: 16.91 kB / 0.73 GB, free: 9.801 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.387e-05/0.3812, allocations: 3.984 kB / 0.73 GB, free: 9.797 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.99e-05/0.3812, allocations: 30.56 kB / 0.73 GB, free: 9.758 MB / 0.545 GB Notification: Performance of pre-optimization done (n=3): time 1.002e-06/0.3812, allocations: 0 / 0.73 GB, free: 9.758 MB / 0.545 GB Notification: Performance of matching and sorting (n=3): time 0.0001826/0.3814, allocations: 61.8 kB / 0.7301 GB, free: 9.691 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.985e-05/0.3815, allocations: 55.34 kB / 0.7301 GB, free: 9.625 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.543e-05/0.3815, allocations: 93.86 kB / 0.7302 GB, free: 9.523 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.376e-05/0.3815, allocations: 25.7 kB / 0.7303 GB, free: 9.492 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 2.025e-05/0.3815, allocations: 80.14 kB / 0.7303 GB, free: 9.41 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.406e-05/0.3816, allocations: 7.906 kB / 0.7303 GB, free: 9.402 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.233e-05/0.3816, allocations: 13.72 kB / 0.7304 GB, free: 9.383 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001011/0.3817, allocations: 314.8 kB / 0.7307 GB, free: 9.066 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.447e-05/0.3817, allocations: 4 kB / 0.7307 GB, free: 9.062 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.031e-05/0.3818, allocations: 11.97 kB / 0.7307 GB, free: 9.051 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.765e-05/0.3819, allocations: 20.86 kB / 0.7307 GB, free: 9.027 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.3819, allocations: 0 / 0.7307 GB, free: 9.027 MB / 0.545 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001017/0.382, allocations: 53.67 kB / 0.7307 GB, free: 8.969 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.332e-05/0.382, allocations: 13.59 kB / 0.7308 GB, free: 8.957 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.908e-06/0.382, allocations: 0 / 0.7308 GB, free: 8.957 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.032e-05/0.382, allocations: 3.938 kB / 0.7308 GB, free: 8.953 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003466/0.3824, allocations: 43.94 kB / 0.7308 GB, free: 8.91 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0011/0.3835, allocations: 1.306 MB / 0.7321 GB, free: 7.473 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.529e-05/0.3835, allocations: 4.031 kB / 0.7321 GB, free: 7.469 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.416e-06/0.3835, allocations: 3.984 kB / 0.7321 GB, free: 7.465 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 7.017e-05/0.3836, allocations: 117.8 kB / 0.7322 GB, free: 7.34 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.678e-06/0.3836, allocations: 7.938 kB / 0.7322 GB, free: 7.332 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.283e-05/0.3836, allocations: 7.5 kB / 0.7322 GB, free: 7.32 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.212e-06/0.3836, allocations: 0 / 0.7322 GB, free: 7.32 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.122e-06/0.3836, allocations: 0 / 0.7322 GB, free: 7.32 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.804e-06/0.3836, allocations: 0 / 0.7322 GB, free: 7.32 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.85e-05/0.3837, allocations: 157.5 kB / 0.7324 GB, free: 7.117 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.3838, allocations: 0 / 0.7324 GB, free: 7.117 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003406/0.3841, allocations: 55.86 kB / 0.7324 GB, free: 7.062 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.3841, allocations: 0 / 0.7324 GB, free: 7.062 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.063e-06/0.3841, allocations: 4 kB / 0.7324 GB, free: 7.059 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009716/0.3851, allocations: 1.31 MB / 0.7337 GB, free: 5.621 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.3851, allocations: 160 / 0.7337 GB, free: 5.621 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001094/0.3852, allocations: 77.05 kB / 0.7338 GB, free: 5.527 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.626e-05/0.3853, allocations: 81.02 kB / 0.7338 GB, free: 5.43 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.36e-06/0.3853, allocations: 0 / 0.7338 GB, free: 5.43 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.741e-05/0.3853, allocations: 8 kB / 0.7339 GB, free: 5.422 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.521e-05/0.3853, allocations: 3.984 kB / 0.7339 GB, free: 5.418 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.975e-06/0.3853, allocations: 0 / 0.7339 GB, free: 5.418 MB / 0.545 GB Notification: Performance of sorting global known variables: time 2.231e-05/0.3854, allocations: 79.28 kB / 0.7339 GB, free: 5.34 MB / 0.545 GB Notification: Performance of sort global known variables: time 9.1e-08/0.3854, allocations: 0 / 0.7339 GB, free: 5.34 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0001751/0.3855, allocations: 4 kB / 0.7339 GB, free: 5.336 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 0.0001069/0.3857, allocations: 107.1 kB / 0.734 GB, free: 5.219 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0004067/0.3861, allocations: 63.91 kB / 0.7341 GB, free: 5.156 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.3861, allocations: 0 / 0.7341 GB, free: 5.156 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002159/0.3863, allocations: 35.95 kB / 0.7341 GB, free: 5.121 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001219/0.3864, allocations: 6.625 kB / 0.7341 GB, free: 5.117 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002458/0.3867, allocations: 99.03 kB / 0.7342 GB, free: 4.996 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002045/0.3869, allocations: 0.6731 MB / 0.7349 GB, free: 4.297 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.899e-05/0.3869, allocations: 7.875 kB / 0.7349 GB, free: 4.289 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.948e-05/0.387, allocations: 7.438 kB / 0.7349 GB, free: 4.281 MB / 0.545 GB Notification: Performance of SimCode: time 3.31e-07/0.387, allocations: 3.938 kB / 0.7349 GB, free: 4.277 MB / 0.545 GB Notification: Performance of Templates: time 0.001961/0.3889, allocations: 391.7 kB / 0.7353 GB, free: 3.898 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: