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.001263/0.001263, allocations: 102.1 kB / 19.7 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.001424/0.001424, allocations: 218.1 kB / 23.01 MB, free: 4.609 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.464/1.464, allocations: 230.6 MB / 256.8 MB, free: 8.062 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.8649/0.8649, allocations: 134 MB / 447.2 MB, free: 10.32 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.002037/0.002037, allocations: 60.97 kB / 0.6198 GB, free: 6.793 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1683/0.1704, allocations: 85.91 MB / 0.7037 GB, free: 0.9531 MB / 0.5138 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Average): time 0.003129/0.1735, allocations: 1.563 MB / 0.7052 GB, free: 15.38 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0003693/0.1739, allocations: 112.5 kB / 0.7053 GB, free: 15.27 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.148e-05/0.1739, allocations: 0 / 0.7053 GB, free: 15.27 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001382/0.1741, allocations: 19.86 kB / 0.7053 GB, free: 15.25 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 2.743e-05/0.1741, allocations: 3.938 kB / 0.7053 GB, free: 15.25 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002794/0.1744, allocations: 31.89 kB / 0.7054 GB, free: 15.21 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.000121/0.1745, allocations: 47.84 kB / 0.7054 GB, free: 15.17 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001201/0.1746, allocations: 23.98 kB / 0.7054 GB, free: 15.14 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 7.638e-05/0.1747, allocations: 23.92 kB / 0.7054 GB, free: 15.12 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 7.598e-05/0.1748, allocations: 31.84 kB / 0.7055 GB, free: 15.09 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.226e-05/0.1748, allocations: 4 kB / 0.7055 GB, free: 15.09 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 7.86e-05/0.1749, allocations: 23.91 kB / 0.7055 GB, free: 15.06 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 4.461e-05/0.1749, allocations: 11.98 kB / 0.7055 GB, free: 15.05 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 4.867e-05/0.175, allocations: 27.81 kB / 0.7055 GB, free: 15.02 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.000156/0.1751, allocations: 67.72 kB / 0.7056 GB, free: 14.96 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.1751, allocations: 0 / 0.7056 GB, free: 14.96 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.204e-06/0.1751, allocations: 0 / 0.7056 GB, free: 14.96 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 9.177e-06/0.1751, allocations: 0 / 0.7056 GB, free: 14.96 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.0005781/0.1757, allocations: 310 kB / 0.7059 GB, free: 14.62 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.702e-05/0.1758, allocations: 12.03 kB / 0.7059 GB, free: 14.61 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.379e-05/0.1758, allocations: 8.891 kB / 0.7059 GB, free: 14.6 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001822/0.176, allocations: 122.4 kB / 0.706 GB, free: 14.46 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.114e-05/0.176, allocations: 4.375 kB / 0.706 GB, free: 14.45 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.239e-05/0.176, allocations: 4.375 kB / 0.706 GB, free: 14.45 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002961/0.1763, allocations: 90.14 kB / 0.7061 GB, free: 14.36 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.987e-06/0.1763, allocations: 192 / 0.7061 GB, free: 14.36 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.63e-05/0.1763, allocations: 11.92 kB / 0.7061 GB, free: 14.34 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.252e-06/0.1763, allocations: 4 kB / 0.7061 GB, free: 14.34 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000301/0.1766, allocations: 83.84 kB / 0.7062 GB, free: 14.26 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005699/0.1772, allocations: 299.8 kB / 0.7065 GB, free: 13.92 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002106/0.1774, allocations: 54.55 kB / 0.7066 GB, free: 13.86 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001524/0.1776, allocations: 40.84 kB / 0.7066 GB, free: 13.82 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 4.09e-05/0.1776, allocations: 8 kB / 0.7066 GB, free: 13.81 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.542e-05/0.1776, allocations: 38.59 kB / 0.7067 GB, free: 13.76 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=3): time 1.052e-06/0.1776, allocations: 0 / 0.7067 GB, free: 13.76 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3): time 0.0005664/0.1782, allocations: 129.6 kB / 0.7068 GB, free: 13.63 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.519e-05/0.1783, allocations: 59.39 kB / 0.7068 GB, free: 13.56 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001106/0.1784, allocations: 121.2 kB / 0.7069 GB, free: 13.43 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.987e-05/0.1784, allocations: 25.7 kB / 0.707 GB, free: 13.4 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 5.706e-05/0.1784, allocations: 92.09 kB / 0.7071 GB, free: 13.31 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.428e-05/0.1785, allocations: 11.88 kB / 0.7071 GB, free: 13.3 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.972e-05/0.1785, allocations: 17.72 kB / 0.7071 GB, free: 13.27 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001454/0.1787, allocations: 318.8 kB / 0.7074 GB, free: 12.95 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000151/0.1788, allocations: 39.95 kB / 0.7074 GB, free: 12.91 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001338/0.1789, allocations: 31.97 kB / 0.7075 GB, free: 12.88 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002813/0.1792, allocations: 76.7 kB / 0.7075 GB, free: 12.8 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.1792, allocations: 0 / 0.7075 GB, free: 12.8 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003326/0.1796, allocations: 105.6 kB / 0.7076 GB, free: 12.7 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.697e-05/0.1796, allocations: 4 kB / 0.7076 GB, free: 12.69 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.551e-06/0.1796, allocations: 0 / 0.7076 GB, free: 12.69 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.437e-05/0.1796, allocations: 0 / 0.7076 GB, free: 12.69 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001322/0.1797, allocations: 19.97 kB / 0.7077 GB, free: 12.67 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.212e-06/0.1797, allocations: 0 / 0.7077 GB, free: 12.67 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.859e-05/0.1798, allocations: 15.98 kB / 0.7077 GB, free: 12.66 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.856e-05/0.1798, allocations: 4 kB / 0.7077 GB, free: 12.65 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 9.772e-05/0.1799, allocations: 113.8 kB / 0.7078 GB, free: 12.53 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.958e-05/0.18, allocations: 11.89 kB / 0.7078 GB, free: 12.52 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003773/0.1803, allocations: 113.6 kB / 0.7079 GB, free: 12.4 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.1803, allocations: 0 / 0.7079 GB, free: 12.4 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.152e-06/0.1803, allocations: 8 kB / 0.7079 GB, free: 12.39 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.1803, allocations: 0 / 0.7079 GB, free: 12.39 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001949/0.1805, allocations: 152.7 kB / 0.7081 GB, free: 12.2 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.1805, allocations: 0 / 0.7081 GB, free: 12.2 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.828e-05/0.1806, allocations: 20.3 kB / 0.7081 GB, free: 12.18 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.859e-06/0.1806, allocations: 3.984 kB / 0.7081 GB, free: 12.18 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.995e-06/0.1807, allocations: 0 / 0.7081 GB, free: 12.18 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.1807, allocations: 0 / 0.7081 GB, free: 12.18 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.1807, allocations: 0 / 0.7081 GB, free: 12.18 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003837/0.181, allocations: 211.3 kB / 0.7083 GB, free: 11.95 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 1.248e-05/0.1811, allocations: 7.953 kB / 0.7083 GB, free: 11.95 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.575e-05/0.1811, allocations: 7.938 kB / 0.7083 GB, free: 11.94 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001095/0.1812, allocations: 15.98 kB / 0.7083 GB, free: 11.92 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.069e-05/0.1812, allocations: 3.984 kB / 0.7083 GB, free: 11.92 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.324e-06/0.1812, allocations: 4 kB / 0.7083 GB, free: 11.91 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 5.932e-05/0.1813, allocations: 87.28 kB / 0.7084 GB, free: 11.83 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1e-07/0.1813, allocations: 4 kB / 0.7084 GB, free: 11.82 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.000233/0.1815, allocations: 11.98 kB / 0.7084 GB, free: 11.81 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.0001402/0.1817, allocations: 99.17 kB / 0.7085 GB, free: 11.71 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0003509/0.182, allocations: 83.86 kB / 0.7086 GB, free: 11.62 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.182, allocations: 0 / 0.7086 GB, free: 11.62 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0001548/0.1822, allocations: 39.95 kB / 0.7086 GB, free: 11.59 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003157/0.1825, allocations: 8 kB / 0.7086 GB, free: 11.58 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000427/0.1829, allocations: 179 kB / 0.7088 GB, free: 11.37 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003328/0.1832, allocations: 0.7 MB / 0.7095 GB, free: 10.64 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.451e-05/0.1833, allocations: 7.438 kB / 0.7095 GB, free: 10.64 MB / 0.5294 GB Notification: Performance of SimCode: time 3.81e-07/0.1833, allocations: 0 / 0.7095 GB, free: 10.64 MB / 0.5294 GB Notification: Performance of Templates: time 0.002864/0.1861, allocations: 0.9331 MB / 0.7104 GB, free: 9.707 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: 8.183425579918548] Failed to read output from testmodel.py, exit status != 0: 0.19426886411383748 0.21043174499999995 0.032071856 Calling exit ...