Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Examples.Average.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.001323/0.001323, allocations: 71.75 kB / 20.51 MB, free: 1.273 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.001473/0.001473, allocations: 162.6 kB / 23.76 MB, free: 4.445 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.444/1.444, allocations: 177.2 MB / 204.1 MB, free: 8.965 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.9366/0.9366, allocations: 113.9 MB / 374.5 MB, free: 12.87 MB / 350.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 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(IBPSA.Utilities.Math.Examples.Average,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.Average") translateModel(IBPSA.Utilities.Math.Examples.Average,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.Average") [Timeout 660] "Notification: IBPSA 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.003216/0.003216, allocations: 68.89 kB / 0.555 GB, free: 2.707 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.164/0.1672, allocations: 89.15 MB / 0.6421 GB, free: 9.527 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.Average): time 0.002857/0.1701, allocations: 1.542 MB / 0.6436 GB, free: 7.977 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0003212/0.1704, allocations: 111.7 kB / 0.6437 GB, free: 7.867 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.046e-05/0.1704, allocations: 3.938 kB / 0.6437 GB, free: 7.863 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001024/0.1705, allocations: 3.938 kB / 0.6437 GB, free: 7.859 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 3.949e-05/0.1706, allocations: 11.88 kB / 0.6437 GB, free: 7.848 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002074/0.1708, allocations: 31.95 kB / 0.6437 GB, free: 7.816 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 9.652e-05/0.1709, allocations: 55.83 kB / 0.6438 GB, free: 7.762 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001131/0.171, allocations: 19.98 kB / 0.6438 GB, free: 7.742 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 5.201e-05/0.1711, allocations: 23.92 kB / 0.6438 GB, free: 7.719 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 7.008e-05/0.1711, allocations: 31.84 kB / 0.6439 GB, free: 7.688 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.748e-05/0.1711, allocations: 4 kB / 0.6439 GB, free: 7.684 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 5.431e-05/0.1712, allocations: 8 kB / 0.6439 GB, free: 7.676 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 4.265e-05/0.1712, allocations: 19.92 kB / 0.6439 GB, free: 7.656 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.957e-05/0.1713, allocations: 23.91 kB / 0.6439 GB, free: 7.633 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001252/0.1714, allocations: 59.69 kB / 0.644 GB, free: 7.574 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.427e-06/0.1714, allocations: 0 / 0.644 GB, free: 7.574 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.463e-06/0.1714, allocations: 0 / 0.644 GB, free: 7.574 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.429e-06/0.1714, allocations: 0 / 0.644 GB, free: 7.574 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005314/0.1719, allocations: 314 kB / 0.6443 GB, free: 7.234 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.006e-05/0.172, allocations: 8.031 kB / 0.6443 GB, free: 7.227 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.377e-05/0.172, allocations: 8.891 kB / 0.6443 GB, free: 7.219 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001631/0.1722, allocations: 130.4 kB / 0.6444 GB, free: 7.066 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.42e-06/0.1722, allocations: 384 / 0.6444 GB, free: 7.066 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.694e-05/0.1722, allocations: 8.375 kB / 0.6444 GB, free: 7.059 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002767/0.1725, allocations: 78.2 kB / 0.6445 GB, free: 6.977 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.616e-06/0.1725, allocations: 8.188 kB / 0.6445 GB, free: 6.969 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.352e-05/0.1725, allocations: 7.938 kB / 0.6445 GB, free: 6.961 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.987e-06/0.1725, allocations: 0 / 0.6445 GB, free: 6.961 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003217/0.1728, allocations: 79.84 kB / 0.6446 GB, free: 6.883 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004922/0.1733, allocations: 264.4 kB / 0.6449 GB, free: 6.594 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002177/0.1735, allocations: 66.56 kB / 0.6449 GB, free: 6.52 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00016/0.1737, allocations: 36.92 kB / 0.645 GB, free: 6.48 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.131e-05/0.1737, allocations: 7.984 kB / 0.645 GB, free: 6.473 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.266e-05/0.1737, allocations: 34.56 kB / 0.645 GB, free: 6.43 MB / 0.545 GB Notification: Performance of pre-optimization done (n=3): time 9.72e-07/0.1737, allocations: 0 / 0.645 GB, free: 6.43 MB / 0.545 GB Notification: Performance of matching and sorting (n=3): time 0.0005734/0.1743, allocations: 137.5 kB / 0.6451 GB, free: 6.289 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.804e-05/0.1744, allocations: 55.41 kB / 0.6452 GB, free: 6.223 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001064/0.1745, allocations: 117.8 kB / 0.6453 GB, free: 6.098 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.568e-05/0.1745, allocations: 29.64 kB / 0.6453 GB, free: 6.062 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.82e-05/0.1745, allocations: 100.1 kB / 0.6454 GB, free: 5.961 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.844e-05/0.1746, allocations: 7.891 kB / 0.6454 GB, free: 5.953 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.575e-05/0.1746, allocations: 13.72 kB / 0.6454 GB, free: 5.934 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001427/0.1747, allocations: 322.8 kB / 0.6457 GB, free: 5.609 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001589/0.1749, allocations: 35.97 kB / 0.6458 GB, free: 5.574 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001474/0.175, allocations: 35.95 kB / 0.6458 GB, free: 5.539 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000295/0.1753, allocations: 68.78 kB / 0.6459 GB, free: 5.469 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.1753, allocations: 0 / 0.6459 GB, free: 5.469 MB / 0.545 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003551/0.1757, allocations: 113.6 kB / 0.646 GB, free: 5.352 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.227e-05/0.1757, allocations: 4 kB / 0.646 GB, free: 5.348 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.487e-06/0.1757, allocations: 0 / 0.646 GB, free: 5.348 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.49e-05/0.1757, allocations: 3.938 kB / 0.646 GB, free: 5.344 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001252/0.1759, allocations: 19.92 kB / 0.646 GB, free: 5.324 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.338e-06/0.1759, allocations: 0 / 0.646 GB, free: 5.324 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.095e-05/0.1759, allocations: 15.98 kB / 0.646 GB, free: 5.309 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.597e-05/0.176, allocations: 0 / 0.646 GB, free: 5.309 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): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.503e-05/0.1761, allocations: 121.8 kB / 0.6461 GB, free: 5.18 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.735e-05/0.1761, allocations: 4 kB / 0.6461 GB, free: 5.176 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003891/0.1765, allocations: 113.9 kB / 0.6463 GB, free: 5.051 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.198e-06/0.1765, allocations: 3.984 kB / 0.6463 GB, free: 5.047 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.705e-06/0.1765, allocations: 4 kB / 0.6463 GB, free: 5.043 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.284e-06/0.1765, allocations: 0 / 0.6463 GB, free: 5.043 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001602/0.1766, allocations: 129.2 kB / 0.6464 GB, free: 4.887 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.1766, allocations: 0 / 0.6464 GB, free: 4.887 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001027/0.1767, allocations: 19.91 kB / 0.6464 GB, free: 4.867 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.158e-06/0.1767, allocations: 4 kB / 0.6464 GB, free: 4.863 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.782e-06/0.1768, allocations: 0 / 0.6464 GB, free: 4.863 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.1768, allocations: 0 / 0.6464 GB, free: 4.863 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.1768, allocations: 0 / 0.6464 GB, free: 4.863 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004009/0.1772, allocations: 203.4 kB / 0.6466 GB, free: 4.648 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 1.184e-05/0.1772, allocations: 7.953 kB / 0.6466 GB, free: 4.641 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.227e-05/0.1772, allocations: 3.938 kB / 0.6466 GB, free: 4.637 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000113/0.1773, allocations: 11.98 kB / 0.6466 GB, free: 4.625 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.039e-05/0.1773, allocations: 7.984 kB / 0.6466 GB, free: 4.617 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.927e-06/0.1773, allocations: 4 kB / 0.6466 GB, free: 4.613 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.594e-05/0.1774, allocations: 91.28 kB / 0.6467 GB, free: 4.523 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.1774, allocations: 0 / 0.6467 GB, free: 4.523 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002366/0.1776, allocations: 15.98 kB / 0.6467 GB, free: 4.508 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): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001167/0.1778, allocations: 91.25 kB / 0.6468 GB, free: 4.41 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003744/0.1781, allocations: 79.86 kB / 0.6469 GB, free: 4.332 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.1781, allocations: 0 / 0.6469 GB, free: 4.332 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001686/0.1783, allocations: 43.95 kB / 0.6469 GB, free: 4.289 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002748/0.1786, allocations: 9.812 kB / 0.647 GB, free: 4.281 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003361/0.1789, allocations: 149.4 kB / 0.6471 GB, free: 4.109 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.446e-05/0.179, allocations: 75.33 kB / 0.6472 GB, free: 4.016 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 4.337e-05/0.179, allocations: 7.984 kB / 0.6472 GB, free: 4.008 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.752e-05/0.1791, allocations: 12.5 kB / 0.6472 GB, free: 3.996 MB / 0.545 GB Notification: Performance of SimCode: time 3.11e-07/0.1791, allocations: 3.938 kB / 0.6472 GB, free: 3.992 MB / 0.545 GB Notification: Performance of Templates: time 0.00342/0.1825, allocations: 0.8087 MB / 0.648 GB, free: 3.195 MB / 0.545 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Examples.Average.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.Average.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.Average.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.Average.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.Average.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Examples.Average -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Examples.Average.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.330114157986827] Failed to read output from testmodel.py, exit status != 0: 0.1928710660431534 0.21598660700000002 0.039823799 Calling exit ...