Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001417/0.001417, allocations: 80.81 kB / 21.54 MB, free: 2.949 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001133/0.001133, allocations: 163.9 kB / 24.96 MB, free: 8.234 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9613/0.9613, allocations: 177.1 MB / 205.4 MB, free: 5.477 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.834/1.834, allocations: 389.6 MB / 0.6362 GB, free: 12.3 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Utilities.Math.Functions.Examples.PowerLinearized") translateModel(Buildings.Utilities.Math.Functions.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Utilities.Math.Functions.Examples.PowerLinearized") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.253e-06/1.253e-06, allocations: 0 / 0.776 GB, free: 5.348 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.213e-05/1.339e-05, allocations: 2.312 kB / 0.776 GB, free: 5.344 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.PowerLinearized): time 0.001087/0.0011, allocations: 0.6739 MB / 0.7767 GB, free: 4.695 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.0002066/0.001307, allocations: 99.08 kB / 0.7768 GB, free: 4.602 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.473e-05/0.001322, allocations: 0 / 0.7768 GB, free: 4.602 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 1.429e-05/0.001336, allocations: 0.875 kB / 0.7768 GB, free: 4.602 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 3.72e-05/0.001373, allocations: 0 / 0.7768 GB, free: 4.602 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001404/0.001514, allocations: 7.984 kB / 0.7768 GB, free: 4.594 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 4.212e-05/0.001556, allocations: 13.03 kB / 0.7768 GB, free: 4.582 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 3.194e-05/0.001588, allocations: 7.984 kB / 0.7768 GB, free: 4.574 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 3.225e-05/0.00162, allocations: 0 / 0.7768 GB, free: 4.574 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 6.162e-05/0.001682, allocations: 13.14 kB / 0.7768 GB, free: 4.566 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.158e-05/0.001693, allocations: 0 / 0.7768 GB, free: 4.566 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 6.791e-05/0.001761, allocations: 11.98 kB / 0.7768 GB, free: 4.555 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 1.36e-05/0.001775, allocations: 4 kB / 0.7768 GB, free: 4.551 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 1.163e-05/0.001786, allocations: 4.656 kB / 0.7768 GB, free: 4.547 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 7.267e-05/0.001859, allocations: 15.91 kB / 0.7768 GB, free: 4.531 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 2.104e-06/0.001861, allocations: 0.875 kB / 0.7768 GB, free: 4.531 MB / 0.7292 GB Notification: Performance of FrontEnd: time 5.51e-07/0.001862, allocations: 0 / 0.7768 GB, free: 4.531 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 2.936e-06/0.001864, allocations: 4 kB / 0.7768 GB, free: 4.527 MB / 0.7292 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.0002047/0.002069, allocations: 216.8 kB / 0.7771 GB, free: 4.289 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 2.868e-05/0.002098, allocations: 16.25 kB / 0.7771 GB, free: 4.277 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.769e-05/0.002196, allocations: 8.922 kB / 0.7771 GB, free: 4.27 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.31e-05/0.002249, allocations: 109.7 kB / 0.7772 GB, free: 4.137 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.141e-05/0.00226, allocations: 1.031 kB / 0.7772 GB, free: 4.137 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.679e-06/0.002265, allocations: 384 / 0.7772 GB, free: 4.137 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.662e-05/0.002341, allocations: 50.95 kB / 0.7772 GB, free: 4.078 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.873e-06/0.002348, allocations: 4.125 kB / 0.7772 GB, free: 4.074 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.01e-06/0.002353, allocations: 1.281 kB / 0.7772 GB, free: 4.074 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.941e-06/0.002359, allocations: 8.359 kB / 0.7772 GB, free: 4.066 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.018e-05/0.002379, allocations: 9.859 kB / 0.7773 GB, free: 4.059 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.157e-05/0.002451, allocations: 61.03 kB / 0.7773 GB, free: 3.984 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 5.602e-05/0.002507, allocations: 23.47 kB / 0.7773 GB, free: 3.953 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.264e-05/0.00252, allocations: 9.859 kB / 0.7773 GB, free: 3.941 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.259e-05/0.002532, allocations: 4.031 kB / 0.7773 GB, free: 3.938 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.41e-05/0.002546, allocations: 35.16 kB / 0.7774 GB, free: 3.895 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=3): time 6.61e-07/0.002547, allocations: 0 / 0.7774 GB, free: 3.895 MB / 0.7292 GB Notification: Performance of matching and sorting (n=3): time 7.881e-05/0.002626, allocations: 47.55 kB / 0.7774 GB, free: 3.844 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.138e-05/0.002647, allocations: 51.41 kB / 0.7775 GB, free: 3.781 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.178e-05/0.002669, allocations: 90.36 kB / 0.7776 GB, free: 3.684 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 8.035e-06/0.002677, allocations: 25.7 kB / 0.7776 GB, free: 3.652 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 1.592e-05/0.002693, allocations: 85.02 kB / 0.7777 GB, free: 3.566 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.784e-05/0.002721, allocations: 12.23 kB / 0.7777 GB, free: 3.555 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.266e-05/0.002743, allocations: 19.47 kB / 0.7777 GB, free: 3.531 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 6.162e-05/0.002805, allocations: 314.8 kB / 0.778 GB, free: 3.215 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.869e-06/0.002815, allocations: 7.984 kB / 0.778 GB, free: 3.207 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.23e-06/0.00282, allocations: 0.5469 kB / 0.778 GB, free: 3.207 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.459e-05/0.002845, allocations: 16.8 kB / 0.778 GB, free: 3.188 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.312e-06/0.002846, allocations: 0.6875 kB / 0.778 GB, free: 3.188 MB / 0.7292 GB Notification: Performance of matching and sorting (n=3) (initialization): time 3.497e-05/0.002881, allocations: 38.22 kB / 0.7781 GB, free: 3.145 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 9.689e-06/0.002891, allocations: 5.562 kB / 0.7781 GB, free: 3.141 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.086e-06/0.002894, allocations: 3.203 kB / 0.7781 GB, free: 3.141 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.716e-06/0.002902, allocations: 4 kB / 0.7781 GB, free: 3.137 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001267/0.003029, allocations: 24.75 kB / 0.7781 GB, free: 3.113 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005287/0.003558, allocations: 1.206 MB / 0.7793 GB, free: 1.828 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.126e-05/0.003569, allocations: 4.875 kB / 0.7793 GB, free: 1.824 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.896e-06/0.003572, allocations: 0 / 0.7793 GB, free: 1.824 MB / 0.7292 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 4.467e-05/0.003617, allocations: 110.7 kB / 0.7794 GB, free: 1.707 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.628e-06/0.003621, allocations: 4 kB / 0.7794 GB, free: 1.703 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.715e-06/0.003629, allocations: 8.094 kB / 0.7794 GB, free: 1.691 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.61e-07/0.00363, allocations: 0.5312 kB / 0.7794 GB, free: 1.691 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.284e-06/0.003632, allocations: 7.922 kB / 0.7794 GB, free: 1.684 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.404e-06/0.003634, allocations: 1.344 kB / 0.7794 GB, free: 1.684 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.114e-05/0.003675, allocations: 61.91 kB / 0.7795 GB, free: 1.605 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.81e-07/0.003676, allocations: 1.094 kB / 0.7795 GB, free: 1.605 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.25e-05/0.003769, allocations: 29.28 kB / 0.7795 GB, free: 1.578 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.92e-07/0.00377, allocations: 4.531 kB / 0.7795 GB, free: 1.574 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.096e-06/0.003773, allocations: 0.5312 kB / 0.7795 GB, free: 1.574 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004261/0.004199, allocations: 1.199 MB / 0.7807 GB, free: 304 kB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.004199, allocations: 0.9375 kB / 0.7807 GB, free: 304 kB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 3.946e-05/0.004239, allocations: 73.05 kB / 0.7807 GB, free: 212 kB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 1.583e-06/0.00424, allocations: 0.8438 kB / 0.7807 GB, free: 212 kB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.196e-06/0.004244, allocations: 0 / 0.7807 GB, free: 212 kB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.382e-05/0.004257, allocations: 7.938 kB / 0.7807 GB, free: 204 kB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.129e-05/0.004269, allocations: 5.781 kB / 0.7807 GB, free: 200 kB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.094e-06/0.004271, allocations: 0 / 0.7807 GB, free: 200 kB / 0.7292 GB Notification: Performance of sorting global known variables: time 5.29e-06/0.004276, allocations: 6.609 kB / 0.7808 GB, free: 192 kB / 0.7292 GB Notification: Performance of sort global known variables: time 5e-08/0.004276, allocations: 0 / 0.7808 GB, free: 192 kB / 0.7292 GB Notification: Performance of remove unused functions: time 9.268e-05/0.004369, allocations: 4 kB / 0.7808 GB, free: 188 kB / 0.7292 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 6.038e-05/0.004429, allocations: 77.67 kB / 0.7808 GB, free: 104 kB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001367/0.004566, allocations: 43.03 kB / 0.7809 GB, free: 60 kB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.674e-06/0.004568, allocations: 4 kB / 0.7809 GB, free: 56 kB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 7.931e-05/0.004647, allocations: 29.11 kB / 0.7809 GB, free: 20 kB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 4.196e-05/0.004689, allocations: 4.656 kB / 0.7809 GB, free: 16 kB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001586/0.004847, allocations: 107 kB / 0.781 GB, free: 15.89 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.191e-05/0.004869, allocations: 55.36 kB / 0.7811 GB, free: 15.82 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 1.767e-05/0.004887, allocations: 1 kB / 0.7811 GB, free: 15.82 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.091e-05/0.004918, allocations: 51.38 kB / 0.7811 GB, free: 15.77 MB / 0.7448 GB Notification: Performance of SimCode: time 6.31e-07/0.004919, allocations: 0.9375 kB / 0.7811 GB, free: 15.77 MB / 0.7448 GB Notification: Performance of Templates: time 0.00161/0.006528, allocations: 0.5126 MB / 0.7816 GB, free: 15.27 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; mkfifo Buildings_13_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; head -c 1048576 < Buildings_13_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe >> ../files/Buildings_13_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.sim & ./Buildings_13_Buildings.Utilities.Math.Functions.Examples.PowerLinearized -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.875200446695089]