Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.001304/0.001304, allocations: 110.2 kB / 19.69 MB, free: 2.254 MB / 14.72 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.001453/0.001453, allocations: 211.5 kB / 23 MB, free: 4.566 MB / 14.72 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 1.374/1.374, allocations: 230.6 MB / 256.8 MB, free: 8.012 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002459/0.002459, allocations: 288.8 kB / 313.5 MB, free: 2.816 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.204/1.204, allocations: 180.6 MB / 0.5377 GB, free: 13 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/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(BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized") [Timeout 660] "Notification: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002788/0.002788, allocations: 104.6 kB / 0.7408 GB, free: 27.77 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1642/0.167, allocations: 95.39 MB / 0.834 GB, free: 8.098 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized): time 0.001834/0.1689, allocations: 0.5985 MB / 0.8346 GB, free: 7.5 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0002779/0.1691, allocations: 100.1 kB / 0.8347 GB, free: 7.402 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.638e-05/0.1691, allocations: 3.938 kB / 0.8347 GB, free: 7.398 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 1.119e-05/0.1692, allocations: 0 / 0.8347 GB, free: 7.398 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 4.441e-05/0.1692, allocations: 3.938 kB / 0.8347 GB, free: 7.395 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001957/0.1694, allocations: 15.98 kB / 0.8347 GB, free: 7.379 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 4.758e-05/0.1694, allocations: 4 kB / 0.8347 GB, free: 7.375 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.063e-05/0.1695, allocations: 4 kB / 0.8347 GB, free: 7.371 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 1.701e-05/0.1695, allocations: 4 kB / 0.8347 GB, free: 7.367 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 6.615e-05/0.1696, allocations: 15.97 kB / 0.8347 GB, free: 7.352 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.008e-05/0.1696, allocations: 0 / 0.8347 GB, free: 7.352 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 5.639e-05/0.1696, allocations: 15.98 kB / 0.8347 GB, free: 7.336 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 9.447e-06/0.1696, allocations: 0 / 0.8347 GB, free: 7.336 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 1.802e-05/0.1697, allocations: 7.875 kB / 0.8347 GB, free: 7.328 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 7.847e-05/0.1697, allocations: 11.98 kB / 0.8348 GB, free: 7.316 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.447e-06/0.1697, allocations: 4 kB / 0.8348 GB, free: 7.312 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.102e-06/0.1697, allocations: 0 / 0.8348 GB, free: 7.312 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.709e-06/0.1698, allocations: 0 / 0.8348 GB, free: 7.312 MB / 0.5762 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.0003201/0.1701, allocations: 246.4 kB / 0.835 GB, free: 7.039 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.433e-05/0.1701, allocations: 13.34 kB / 0.835 GB, free: 7.027 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001432/0.1702, allocations: 8.922 kB / 0.835 GB, free: 7.02 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.095e-05/0.1703, allocations: 106.5 kB / 0.8351 GB, free: 6.891 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.786e-05/0.1703, allocations: 384 / 0.8351 GB, free: 6.891 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.793e-06/0.1704, allocations: 4.375 kB / 0.8351 GB, free: 6.887 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001175/0.1705, allocations: 34.25 kB / 0.8352 GB, free: 6.848 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.714e-06/0.1705, allocations: 192 / 0.8352 GB, free: 6.848 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.237e-06/0.1705, allocations: 3.938 kB / 0.8352 GB, free: 6.844 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.497e-06/0.1705, allocations: 4 kB / 0.8352 GB, free: 6.84 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.467e-05/0.1706, allocations: 23.92 kB / 0.8352 GB, free: 6.816 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001408/0.1707, allocations: 128.7 kB / 0.8353 GB, free: 6.648 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001604/0.1709, allocations: 42.53 kB / 0.8353 GB, free: 6.598 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.331e-05/0.1709, allocations: 8.922 kB / 0.8354 GB, free: 6.586 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.565e-05/0.1709, allocations: 11.94 kB / 0.8354 GB, free: 6.574 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.71e-05/0.171, allocations: 34.56 kB / 0.8354 GB, free: 6.531 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=3): time 9.32e-07/0.171, allocations: 0 / 0.8354 GB, free: 6.531 MB / 0.5762 GB Notification: Performance of matching and sorting (n=3): time 0.0002/0.1712, allocations: 61.55 kB / 0.8355 GB, free: 6.465 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.772e-05/0.1712, allocations: 51.41 kB / 0.8355 GB, free: 6.402 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.027e-05/0.1713, allocations: 89.86 kB / 0.8356 GB, free: 6.305 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.368e-05/0.1713, allocations: 25.7 kB / 0.8356 GB, free: 6.273 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 3.329e-05/0.1713, allocations: 88.12 kB / 0.8357 GB, free: 6.184 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.066e-05/0.1713, allocations: 11.95 kB / 0.8357 GB, free: 6.172 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.529e-05/0.1714, allocations: 13.7 kB / 0.8357 GB, free: 6.152 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001256/0.1715, allocations: 314.8 kB / 0.836 GB, free: 5.836 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.782e-05/0.1715, allocations: 4 kB / 0.836 GB, free: 5.832 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.93e-05/0.1716, allocations: 8.172 kB / 0.836 GB, free: 5.824 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.628e-05/0.1716, allocations: 28.92 kB / 0.8361 GB, free: 5.793 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.1716, allocations: 4 kB / 0.8361 GB, free: 5.789 MB / 0.5762 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001098/0.1717, allocations: 53.58 kB / 0.8361 GB, free: 5.73 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.218e-05/0.1718, allocations: 4 kB / 0.8361 GB, free: 5.727 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.276e-06/0.1718, allocations: 0 / 0.8361 GB, free: 5.727 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.386e-05/0.1718, allocations: 3.938 kB / 0.8361 GB, free: 5.723 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003668/0.1721, allocations: 43.92 kB / 0.8362 GB, free: 5.68 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001281/0.1734, allocations: 1.293 MB / 0.8374 GB, free: 4.27 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.227e-05/0.1735, allocations: 11.97 kB / 0.8374 GB, free: 4.258 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.408e-06/0.1735, allocations: 0 / 0.8374 GB, free: 4.258 MB / 0.5762 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 8.383e-05/0.1735, allocations: 118.5 kB / 0.8376 GB, free: 4.133 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.997e-06/0.1736, allocations: 4 kB / 0.8376 GB, free: 4.129 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.13e-05/0.1736, allocations: 3.531 kB / 0.8376 GB, free: 4.125 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.142e-06/0.1736, allocations: 0 / 0.8376 GB, free: 4.125 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.31e-07/0.1736, allocations: 0 / 0.8376 GB, free: 4.125 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.924e-06/0.1736, allocations: 0 / 0.8376 GB, free: 4.125 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.992e-05/0.1737, allocations: 128.7 kB / 0.8377 GB, free: 3.957 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.11e-07/0.1737, allocations: 0 / 0.8377 GB, free: 3.957 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003507/0.174, allocations: 51.92 kB / 0.8377 GB, free: 3.906 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.174, allocations: 0 / 0.8377 GB, free: 3.906 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.406e-06/0.174, allocations: 4 kB / 0.8377 GB, free: 3.902 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001179/0.1752, allocations: 1.313 MB / 0.839 GB, free: 2.477 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.1752, allocations: 0 / 0.839 GB, free: 2.477 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001271/0.1753, allocations: 81.08 kB / 0.8391 GB, free: 2.379 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 2.926e-06/0.1753, allocations: 0 / 0.8391 GB, free: 2.379 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.306e-06/0.1753, allocations: 3.938 kB / 0.8391 GB, free: 2.375 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.493e-05/0.1754, allocations: 4 kB / 0.8391 GB, free: 2.371 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.51e-05/0.1754, allocations: 8.047 kB / 0.8391 GB, free: 2.363 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.655e-06/0.1754, allocations: 0 / 0.8391 GB, free: 2.363 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 3.666e-05/0.1754, allocations: 79.22 kB / 0.8392 GB, free: 2.285 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7.1e-08/0.1754, allocations: 0 / 0.8392 GB, free: 2.285 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0001822/0.1756, allocations: 4 kB / 0.8392 GB, free: 2.281 MB / 0.5762 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.0001172/0.1757, allocations: 99.25 kB / 0.8393 GB, free: 2.172 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0004415/0.1762, allocations: 59.91 kB / 0.8393 GB, free: 2.113 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.1762, allocations: 0 / 0.8393 GB, free: 2.113 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0003759/0.1766, allocations: 63.86 kB / 0.8394 GB, free: 2.051 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001243/0.1767, allocations: 1.875 kB / 0.8394 GB, free: 2.051 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003219/0.177, allocations: 118.7 kB / 0.8395 GB, free: 1.902 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002841/0.1773, allocations: 0.6768 MB / 0.8402 GB, free: 1.199 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.374e-05/0.1773, allocations: 7.438 kB / 0.8402 GB, free: 1.191 MB / 0.5762 GB Notification: Performance of SimCode: time 3.11e-07/0.1773, allocations: 0 / 0.8402 GB, free: 1.191 MB / 0.5762 GB Notification: Performance of Templates: time 0.002039/0.1793, allocations: 0.5947 MB / 0.8408 GB, free: 0.6016 MB / 0.5762 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.167112946975976] Failed to read output from testmodel.py, exit status != 0: 0.18657547002658248 0.20098797199999996 0.02838547099999994 Calling exit ...