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.001507/0.001507, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.001746/0.001746, allocations: 216.9 kB / 22.99 MB, free: 4.945 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.381/1.381, allocations: 230.6 MB / 256.8 MB, free: 7.809 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.002513/0.002513, allocations: 294.7 kB / 313.5 MB, free: 2.594 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.205/1.205, allocations: 180.6 MB / 0.5377 GB, free: 14.58 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.002892/0.002892, allocations: 101.7 kB / 0.7408 GB, free: 27.6 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1575/0.1604, allocations: 95.39 MB / 0.8339 GB, free: 7.77 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized): time 0.001833/0.1622, allocations: 0.6 MB / 0.8345 GB, free: 7.168 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0003156/0.1625, allocations: 88.14 kB / 0.8346 GB, free: 7.082 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.98e-05/0.1625, allocations: 0 / 0.8346 GB, free: 7.082 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 1.166e-05/0.1625, allocations: 0 / 0.8346 GB, free: 7.082 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 4.143e-05/0.1626, allocations: 0 / 0.8346 GB, free: 7.082 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002066/0.1628, allocations: 27.92 kB / 0.8346 GB, free: 7.055 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 4.154e-05/0.1628, allocations: 4 kB / 0.8346 GB, free: 7.051 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 3.794e-05/0.1629, allocations: 0 / 0.8346 GB, free: 7.051 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 1.892e-05/0.1629, allocations: 7.984 kB / 0.8346 GB, free: 7.043 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 6.471e-05/0.1629, allocations: 0 / 0.8346 GB, free: 7.043 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.042e-05/0.163, allocations: 0 / 0.8346 GB, free: 7.043 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 5.999e-05/0.163, allocations: 19.92 kB / 0.8346 GB, free: 7.023 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.435e-05/0.163, allocations: 3.984 kB / 0.8346 GB, free: 7.02 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 1.668e-05/0.163, allocations: 4 kB / 0.8346 GB, free: 7.016 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 8.389e-05/0.1631, allocations: 11.98 kB / 0.8347 GB, free: 7.004 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.1631, allocations: 4 kB / 0.8347 GB, free: 7 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.193e-06/0.1631, allocations: 0 / 0.8347 GB, free: 7 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.188e-06/0.1631, allocations: 0 / 0.8347 GB, free: 7 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.0003368/0.1635, allocations: 250.4 kB / 0.8349 GB, free: 6.723 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.58e-05/0.1635, allocations: 9.344 kB / 0.8349 GB, free: 6.715 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001532/0.1637, allocations: 12.86 kB / 0.8349 GB, free: 6.703 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.836e-05/0.1638, allocations: 106.5 kB / 0.835 GB, free: 6.574 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.775e-05/0.1638, allocations: 384 / 0.835 GB, free: 6.574 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.813e-06/0.1638, allocations: 384 / 0.835 GB, free: 6.574 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001202/0.1639, allocations: 54.12 kB / 0.8351 GB, free: 6.516 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.135e-06/0.1639, allocations: 192 / 0.8351 GB, free: 6.516 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.828e-06/0.1639, allocations: 3.938 kB / 0.8351 GB, free: 6.512 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.767e-06/0.1639, allocations: 0 / 0.8351 GB, free: 6.512 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.53e-05/0.164, allocations: 11.98 kB / 0.8351 GB, free: 6.5 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001399/0.1641, allocations: 109.2 kB / 0.8352 GB, free: 6.363 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001648/0.1643, allocations: 38.59 kB / 0.8352 GB, free: 6.316 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.021e-05/0.1643, allocations: 24.83 kB / 0.8352 GB, free: 6.289 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.704e-05/0.1644, allocations: 4 kB / 0.8353 GB, free: 6.285 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.783e-05/0.1644, allocations: 34.56 kB / 0.8353 GB, free: 6.242 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=3): time 1.012e-06/0.1644, allocations: 0 / 0.8353 GB, free: 6.242 MB / 0.5762 GB Notification: Performance of matching and sorting (n=3): time 0.0002041/0.1646, allocations: 53.62 kB / 0.8353 GB, free: 6.184 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.973e-05/0.1646, allocations: 55.39 kB / 0.8354 GB, free: 6.117 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.345e-05/0.1647, allocations: 89.86 kB / 0.8355 GB, free: 6.02 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.793e-05/0.1647, allocations: 29.7 kB / 0.8355 GB, free: 5.984 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 4.153e-05/0.1648, allocations: 80.14 kB / 0.8356 GB, free: 5.902 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.198e-05/0.1648, allocations: 7.953 kB / 0.8356 GB, free: 5.895 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.019e-05/0.1648, allocations: 9.719 kB / 0.8356 GB, free: 5.879 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001426/0.165, allocations: 322.8 kB / 0.8359 GB, free: 5.555 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.847e-05/0.165, allocations: 7.922 kB / 0.8359 GB, free: 5.547 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.819e-05/0.165, allocations: 8 kB / 0.8359 GB, free: 5.539 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.445e-05/0.1651, allocations: 20.84 kB / 0.8359 GB, free: 5.516 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.462e-06/0.1651, allocations: 0 / 0.8359 GB, free: 5.516 MB / 0.5762 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001132/0.1652, allocations: 53.62 kB / 0.836 GB, free: 5.457 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.285e-05/0.1652, allocations: 4 kB / 0.836 GB, free: 5.453 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.768e-06/0.1652, allocations: 0 / 0.836 GB, free: 5.453 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.293e-05/0.1652, allocations: 4 kB / 0.836 GB, free: 5.449 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003686/0.1656, allocations: 43.88 kB / 0.836 GB, free: 5.406 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001357/0.167, allocations: 1.278 MB / 0.8373 GB, free: 4.023 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.191e-05/0.167, allocations: 7.938 kB / 0.8373 GB, free: 4.016 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.759e-06/0.167, allocations: 4.031 kB / 0.8373 GB, free: 4.012 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 9.06e-05/0.1671, allocations: 114.4 kB / 0.8374 GB, free: 3.891 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.865e-06/0.1671, allocations: 128 / 0.8374 GB, free: 3.891 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.453e-05/0.1671, allocations: 11.53 kB / 0.8374 GB, free: 3.879 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.373e-06/0.1671, allocations: 0 / 0.8374 GB, free: 3.879 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.092e-06/0.1671, allocations: 3.938 kB / 0.8374 GB, free: 3.875 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.073e-06/0.1671, allocations: 4.266 kB / 0.8374 GB, free: 3.871 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.527e-05/0.1672, allocations: 105.3 kB / 0.8375 GB, free: 3.738 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.946e-06/0.1672, allocations: 7.875 kB / 0.8375 GB, free: 3.73 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003524/0.1676, allocations: 47.94 kB / 0.8376 GB, free: 3.684 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.1676, allocations: 0 / 0.8376 GB, free: 3.684 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.626e-06/0.1676, allocations: 3.984 kB / 0.8376 GB, free: 3.68 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001277/0.1689, allocations: 1.29 MB / 0.8388 GB, free: 2.289 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.1689, allocations: 0 / 0.8388 GB, free: 2.289 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001285/0.169, allocations: 69.06 kB / 0.8389 GB, free: 2.203 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 9.929e-06/0.169, allocations: 11.98 kB / 0.8389 GB, free: 2.191 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.861e-06/0.169, allocations: 0 / 0.8389 GB, free: 2.191 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.433e-05/0.169, allocations: 0 / 0.8389 GB, free: 2.191 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.515e-05/0.169, allocations: 0 / 0.8389 GB, free: 2.191 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.317e-06/0.169, allocations: 4.094 kB / 0.8389 GB, free: 2.188 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 3.481e-05/0.1691, allocations: 83.22 kB / 0.839 GB, free: 2.105 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.1691, allocations: 0 / 0.839 GB, free: 2.105 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0001917/0.1693, allocations: 4 kB / 0.839 GB, free: 2.102 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.0001244/0.1694, allocations: 95.23 kB / 0.8391 GB, free: 1.996 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0004401/0.1698, allocations: 67.86 kB / 0.8392 GB, free: 1.93 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.1698, allocations: 0 / 0.8392 GB, free: 1.93 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0003818/0.1702, allocations: 59.91 kB / 0.8392 GB, free: 1.871 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001318/0.1704, allocations: 6.25 kB / 0.8392 GB, free: 1.867 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003662/0.1707, allocations: 114.7 kB / 0.8393 GB, free: 1.723 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.826e-05/0.1708, allocations: 55.36 kB / 0.8394 GB, free: 1.648 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.298e-05/0.1708, allocations: 7.438 kB / 0.8394 GB, free: 1.641 MB / 0.5762 GB Notification: Performance of SimCode: time 5.51e-07/0.1708, allocations: 0 / 0.8394 GB, free: 1.641 MB / 0.5762 GB Notification: Performance of Templates: time 0.002139/0.1729, allocations: 0.604 MB / 0.84 GB, free: 1.039 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.118392881006002] Failed to read output from testmodel.py, exit status != 0: 0.18007755279541016 0.19526187299999995 0.02913755 Calling exit ...