Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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.00161/0.00161, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.001491/0.001491, allocations: 220.4 kB / 23 MB, free: 4.914 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.419/1.419, allocations: 230.6 MB / 256.8 MB, free: 8 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8465/0.8465, allocations: 134 MB / 447.2 MB, free: 9.965 MB / 350.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Utilities.Math.Examples.Average,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.Average") translateModel(IDEAS.Utilities.Math.Examples.Average,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.Average") [Timeout 660] "Notification: IDEAS 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.002003/0.002003, allocations: 62.81 kB / 0.6197 GB, free: 6.391 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1622/0.1642, allocations: 85.91 MB / 0.7036 GB, free: 0.5586 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Average): time 0.002964/0.1671, allocations: 1.537 MB / 0.7051 GB, free: 15.01 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0003379/0.1675, allocations: 112.5 kB / 0.7052 GB, free: 14.89 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.672e-05/0.1675, allocations: 4 kB / 0.7052 GB, free: 14.89 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001141/0.1676, allocations: 19.86 kB / 0.7052 GB, free: 14.87 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 2.497e-05/0.1677, allocations: 3.938 kB / 0.7052 GB, free: 14.87 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002281/0.1679, allocations: 27.91 kB / 0.7053 GB, free: 14.84 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001105/0.168, allocations: 51.89 kB / 0.7053 GB, free: 14.79 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001169/0.1681, allocations: 19.98 kB / 0.7053 GB, free: 14.77 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 5.714e-05/0.1682, allocations: 19.92 kB / 0.7054 GB, free: 14.75 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 6.99e-05/0.1682, allocations: 31.84 kB / 0.7054 GB, free: 14.72 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.754e-05/0.1683, allocations: 4 kB / 0.7054 GB, free: 14.71 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 6.02e-05/0.1683, allocations: 15.98 kB / 0.7054 GB, free: 14.7 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 4.218e-05/0.1684, allocations: 19.92 kB / 0.7054 GB, free: 14.68 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.26e-05/0.1684, allocations: 15.94 kB / 0.7054 GB, free: 14.66 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001428/0.1685, allocations: 67.66 kB / 0.7055 GB, free: 14.6 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.1685, allocations: 4 kB / 0.7055 GB, free: 14.59 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.002e-06/0.1685, allocations: 3.938 kB / 0.7055 GB, free: 14.59 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.519e-06/0.1685, allocations: 0 / 0.7055 GB, free: 14.59 MB / 0.5294 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.0005309/0.1691, allocations: 306 kB / 0.7058 GB, free: 14.26 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.154e-05/0.1691, allocations: 8.031 kB / 0.7058 GB, free: 14.25 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.275e-05/0.1691, allocations: 8.891 kB / 0.7058 GB, free: 14.24 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001718/0.1693, allocations: 130.4 kB / 0.7059 GB, free: 14.09 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.257e-05/0.1693, allocations: 4.375 kB / 0.7059 GB, free: 14.09 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.216e-05/0.1693, allocations: 4.359 kB / 0.7059 GB, free: 14.08 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002745/0.1696, allocations: 94.08 kB / 0.706 GB, free: 13.98 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.216e-06/0.1696, allocations: 192 / 0.706 GB, free: 13.98 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.534e-05/0.1696, allocations: 7.938 kB / 0.706 GB, free: 13.98 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.603e-06/0.1696, allocations: 4 kB / 0.706 GB, free: 13.97 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003169/0.17, allocations: 79.91 kB / 0.7061 GB, free: 13.89 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005213/0.1705, allocations: 268.3 kB / 0.7064 GB, free: 13.6 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002076/0.1707, allocations: 54.53 kB / 0.7064 GB, free: 13.54 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001558/0.1708, allocations: 40.92 kB / 0.7065 GB, free: 13.5 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 3.229e-05/0.1709, allocations: 4 kB / 0.7065 GB, free: 13.49 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.997e-05/0.1709, allocations: 34.56 kB / 0.7065 GB, free: 13.45 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=3): time 1.092e-06/0.1709, allocations: 96 / 0.7065 GB, free: 13.45 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3): time 0.0005462/0.1715, allocations: 137.5 kB / 0.7066 GB, free: 13.31 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.683e-05/0.1715, allocations: 55.34 kB / 0.7067 GB, free: 13.24 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001016/0.1716, allocations: 117.8 kB / 0.7068 GB, free: 13.12 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.75e-05/0.1716, allocations: 25.7 kB / 0.7068 GB, free: 13.09 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 5.683e-05/0.1717, allocations: 96.09 kB / 0.7069 GB, free: 12.99 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 3.278e-05/0.1717, allocations: 15.88 kB / 0.7069 GB, free: 12.97 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.264e-05/0.1717, allocations: 9.719 kB / 0.7069 GB, free: 12.96 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001624/0.1719, allocations: 322.8 kB / 0.7073 GB, free: 12.63 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001538/0.1721, allocations: 35.95 kB / 0.7073 GB, free: 12.6 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001414/0.1722, allocations: 31.95 kB / 0.7073 GB, free: 12.57 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002943/0.1725, allocations: 80.72 kB / 0.7074 GB, free: 12.48 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.644e-06/0.1725, allocations: 0 / 0.7074 GB, free: 12.48 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003296/0.1728, allocations: 101.6 kB / 0.7075 GB, free: 12.38 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.535e-05/0.1728, allocations: 8 kB / 0.7075 GB, free: 12.37 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.1728, allocations: 4 kB / 0.7075 GB, free: 12.37 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.261e-05/0.1729, allocations: 0 / 0.7075 GB, free: 12.37 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000127/0.173, allocations: 19.97 kB / 0.7075 GB, free: 12.35 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.859e-06/0.173, allocations: 0 / 0.7075 GB, free: 12.35 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.801e-05/0.1731, allocations: 11.98 kB / 0.7075 GB, free: 12.34 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.669e-05/0.1731, allocations: 0 / 0.7075 GB, free: 12.34 MB / 0.5294 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 0.0001029/0.1732, allocations: 121.8 kB / 0.7077 GB, free: 12.21 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.791e-05/0.1732, allocations: 7.953 kB / 0.7077 GB, free: 12.2 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003804/0.1736, allocations: 113.5 kB / 0.7078 GB, free: 12.08 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.776e-06/0.1736, allocations: 384 / 0.7078 GB, free: 12.08 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.958e-06/0.1736, allocations: 0 / 0.7078 GB, free: 12.08 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.1736, allocations: 4 kB / 0.7078 GB, free: 12.07 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001719/0.1738, allocations: 125.2 kB / 0.7079 GB, free: 11.92 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.386e-06/0.1738, allocations: 4 kB / 0.7079 GB, free: 11.92 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.864e-05/0.1739, allocations: 15.98 kB / 0.7079 GB, free: 11.9 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.539e-06/0.1739, allocations: 7.984 kB / 0.7079 GB, free: 11.89 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.995e-06/0.1739, allocations: 3.938 kB / 0.7079 GB, free: 11.89 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.1739, allocations: 0 / 0.7079 GB, free: 11.89 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.1739, allocations: 4 kB / 0.7079 GB, free: 11.89 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004045/0.1743, allocations: 207.3 kB / 0.7081 GB, free: 11.67 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 1.221e-05/0.1743, allocations: 3.953 kB / 0.7081 GB, free: 11.66 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.718e-05/0.1743, allocations: 4 kB / 0.7081 GB, free: 11.66 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001089/0.1744, allocations: 15.97 kB / 0.7081 GB, free: 11.64 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.768e-05/0.1745, allocations: 8 kB / 0.7082 GB, free: 11.64 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.083e-06/0.1745, allocations: 0 / 0.7082 GB, free: 11.64 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 7.069e-05/0.1746, allocations: 94.66 kB / 0.7082 GB, free: 11.55 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1e-07/0.1746, allocations: 0 / 0.7082 GB, free: 11.55 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002351/0.1748, allocations: 12 kB / 0.7083 GB, free: 11.54 MB / 0.5294 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.0001365/0.1749, allocations: 95.23 kB / 0.7083 GB, free: 11.43 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0003594/0.1753, allocations: 79.92 kB / 0.7084 GB, free: 11.36 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.1753, allocations: 0 / 0.7084 GB, free: 11.36 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0001699/0.1755, allocations: 43.89 kB / 0.7085 GB, free: 11.31 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003218/0.1758, allocations: 3.938 kB / 0.7085 GB, free: 11.31 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003871/0.1762, allocations: 183 kB / 0.7086 GB, free: 11.1 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.094e-05/0.1763, allocations: 83.19 kB / 0.7087 GB, free: 11 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.503e-05/0.1763, allocations: 7.438 kB / 0.7087 GB, free: 10.99 MB / 0.5294 GB Notification: Performance of SimCode: time 2.91e-07/0.1763, allocations: 0 / 0.7087 GB, free: 10.99 MB / 0.5294 GB Notification: Performance of Templates: time 0.002788/0.1791, allocations: 0.9575 MB / 0.7097 GB, free: 10.03 MB / 0.5294 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Utilities.Math.Examples.Average.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Utilities.Math.Examples.Average.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.Average.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.Average.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.Average.sim & ./IDEAS_IDEAS.Utilities.Math.Examples.Average -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Examples.Average.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.561880997847766] Failed to read output from testmodel.py, exit status != 0: 0.1862485301680863 0.202762148 0.030920964000000002 Calling exit ...