Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Annex60_1.0.0_Annex60.Utilities.Math.Examples.Average.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001853/0.001854, allocations: 108 kB / 16.41 MB, free: 6.5 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001462/0.001462, allocations: 194.8 kB / 19.36 MB, free: 3.75 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.526/1.526, allocations: 205.1 MB / 227.2 MB, free: 12.14 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.3009/0.3009, allocations: 54.95 MB / 331.6 MB, free: 2.754 MB / 270.1 MB " [Timeout remaining time 179] Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Annex60.Utilities.Math.Examples.Average,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Math.Examples.Average") translateModel(Annex60.Utilities.Math.Examples.Average,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Math.Examples.Average") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Annex60 requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00227/0.00227, allocations: 72.67 kB / 464.9 MB, free: 352 kB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1441/0.1464, allocations: 59.6 MB / 0.5122 GB, free: 4.793 MB / 398.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Math.Examples.Average): time 0.003515/0.1499, allocations: 1.507 MB / 0.5137 GB, free: 3.273 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003892/0.1504, allocations: 91.69 kB / 0.5138 GB, free: 3.184 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.514e-05/0.1504, allocations: 4 kB / 0.5138 GB, free: 3.18 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001472/0.1506, allocations: 7.922 kB / 0.5138 GB, free: 3.172 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 2.937e-05/0.1507, allocations: 7.875 kB / 0.5138 GB, free: 3.164 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000326/0.151, allocations: 23.97 kB / 0.5138 GB, free: 3.141 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001694/0.1512, allocations: 55.84 kB / 0.5139 GB, free: 3.086 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002157/0.1514, allocations: 35.84 kB / 0.5139 GB, free: 3.051 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.909e-05/0.1515, allocations: 27.86 kB / 0.5139 GB, free: 3.023 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001045/0.1516, allocations: 27.91 kB / 0.514 GB, free: 2.996 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.347e-05/0.1516, allocations: 8 kB / 0.514 GB, free: 2.988 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.956e-05/0.1517, allocations: 11.98 kB / 0.514 GB, free: 2.977 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.285e-05/0.1518, allocations: 15.94 kB / 0.514 GB, free: 2.961 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.41e-05/0.1519, allocations: 23.86 kB / 0.514 GB, free: 2.938 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002598/0.1521, allocations: 59.73 kB / 0.5141 GB, free: 2.879 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.107e-06/0.1522, allocations: 0 / 0.5141 GB, free: 2.879 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.206e-06/0.1522, allocations: 0 / 0.5141 GB, free: 2.879 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.37e-05/0.1522, allocations: 0 / 0.5141 GB, free: 2.879 MB / 398.1 MB 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.0009024/0.1531, allocations: 391.1 kB / 0.5144 GB, free: 2.449 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.818e-05/0.1532, allocations: 8.031 kB / 0.5144 GB, free: 2.441 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.316e-05/0.1532, allocations: 8.891 kB / 0.5145 GB, free: 2.434 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003024/0.1536, allocations: 192.2 kB / 0.5146 GB, free: 2.207 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.902e-05/0.1536, allocations: 4.375 kB / 0.5146 GB, free: 2.203 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.482e-05/0.1536, allocations: 4.375 kB / 0.5146 GB, free: 2.199 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003928/0.154, allocations: 85.58 kB / 0.5147 GB, free: 2.109 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.608e-05/0.154, allocations: 0 / 0.5147 GB, free: 2.109 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.735e-05/0.1541, allocations: 4 kB / 0.5147 GB, free: 2.105 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.943e-06/0.1541, allocations: 3.938 kB / 0.5147 GB, free: 2.102 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003419/0.1544, allocations: 83.91 kB / 0.5148 GB, free: 2.02 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000712/0.1552, allocations: 320.8 kB / 0.5151 GB, free: 1.656 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002395/0.1554, allocations: 66.47 kB / 0.5152 GB, free: 1.582 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001667/0.1556, allocations: 36.92 kB / 0.5152 GB, free: 1.543 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.464e-05/0.1556, allocations: 3.984 kB / 0.5152 GB, free: 1.539 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.245e-05/0.1557, allocations: 34.56 kB / 0.5153 GB, free: 1.496 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.202e-06/0.1557, allocations: 0 / 0.5153 GB, free: 1.496 MB / 398.1 MB Notification: Performance of matching and sorting (n=3): time 0.0006068/0.1563, allocations: 145.6 kB / 0.5154 GB, free: 1.348 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.192e-05/0.1563, allocations: 51.41 kB / 0.5154 GB, free: 1.285 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001179/0.1565, allocations: 117.8 kB / 0.5156 GB, free: 1.16 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.933e-05/0.1565, allocations: 25.7 kB / 0.5156 GB, free: 1.129 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.205e-05/0.1566, allocations: 96.08 kB / 0.5157 GB, free: 1.031 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.679e-05/0.1566, allocations: 16.83 kB / 0.5157 GB, free: 1.016 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.64e-05/0.1566, allocations: 17.72 kB / 0.5157 GB, free: 0.9922 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001571/0.1568, allocations: 318.8 kB / 0.516 GB, free: 0.6719 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000151/0.157, allocations: 27.97 kB / 0.516 GB, free: 0.6445 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001429/0.1571, allocations: 43.89 kB / 0.5161 GB, free: 0.6016 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002837/0.1574, allocations: 72.78 kB / 0.5162 GB, free: 0.5273 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.419e-06/0.1574, allocations: 4 kB / 0.5162 GB, free: 0.5234 MB / 398.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000337/0.1578, allocations: 109.4 kB / 0.5163 GB, free: 420 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.042e-05/0.1578, allocations: 8 kB / 0.5163 GB, free: 412 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.222e-06/0.1578, allocations: 0 / 0.5163 GB, free: 412 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.703e-05/0.1578, allocations: 0 / 0.5163 GB, free: 412 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001344/0.158, allocations: 19.98 kB / 0.5163 GB, free: 392 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.576e-06/0.158, allocations: 4 kB / 0.5163 GB, free: 388 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.742e-05/0.1581, allocations: 11.92 kB / 0.5163 GB, free: 376 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.896e-05/0.1581, allocations: 8 kB / 0.5163 GB, free: 368 kB / 398.1 MB 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.0001005/0.1582, allocations: 114.5 kB / 0.5164 GB, free: 244 kB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.525e-05/0.1582, allocations: 3.953 kB / 0.5164 GB, free: 240 kB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004056/0.1587, allocations: 121.5 kB / 0.5165 GB, free: 104 kB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.759e-06/0.1587, allocations: 3.984 kB / 0.5165 GB, free: 100 kB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.11e-06/0.1587, allocations: 0 / 0.5165 GB, free: 100 kB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.711e-06/0.1587, allocations: 3.938 kB / 0.5165 GB, free: 96 kB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002487/0.1589, allocations: 173.6 kB / 0.5167 GB, free: 15.88 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.159, allocations: 0 / 0.5167 GB, free: 15.88 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.052e-05/0.1591, allocations: 15.98 kB / 0.5167 GB, free: 15.86 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.1591, allocations: 4 kB / 0.5167 GB, free: 15.86 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.775e-06/0.1591, allocations: 0 / 0.5167 GB, free: 15.86 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.33e-06/0.1591, allocations: 4 kB / 0.5167 GB, free: 15.85 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/0.1591, allocations: 3.984 kB / 0.5167 GB, free: 15.85 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004044/0.1595, allocations: 203.4 kB / 0.5169 GB, free: 15.63 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.164e-05/0.1596, allocations: 85.06 kB / 0.517 GB, free: 15.53 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.542e-05/0.1596, allocations: 0 / 0.517 GB, free: 15.53 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001004/0.1597, allocations: 11.98 kB / 0.517 GB, free: 15.52 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.052e-05/0.1598, allocations: 11.92 kB / 0.517 GB, free: 15.51 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.245e-05/0.1598, allocations: 4 kB / 0.517 GB, free: 15.5 MB / 414.1 MB Notification: Performance of sorting global known variables: time 5.895e-05/0.1598, allocations: 98.05 kB / 0.5171 GB, free: 15.41 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1599, allocations: 0 / 0.5171 GB, free: 15.41 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002306/0.1601, allocations: 8 kB / 0.5171 GB, free: 15.4 MB / 414.1 MB 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.0001617/0.1603, allocations: 103.2 kB / 0.5172 GB, free: 15.29 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003715/0.1606, allocations: 79.91 kB / 0.5173 GB, free: 15.21 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.045e-06/0.1606, allocations: 3.938 kB / 0.5173 GB, free: 15.21 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001563/0.1608, allocations: 36.34 kB / 0.5174 GB, free: 15.18 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00032/0.1611, allocations: 11.98 kB / 0.5174 GB, free: 15.16 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003851/0.1615, allocations: 165 kB / 0.5175 GB, free: 14.98 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003389/0.1619, allocations: 0.6923 MB / 0.5182 GB, free: 14.26 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.274e-05/0.1619, allocations: 4.094 kB / 0.5182 GB, free: 14.25 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.335e-05/0.162, allocations: 15.42 kB / 0.5182 GB, free: 14.24 MB / 414.1 MB Notification: Performance of SimCode: time 3.21e-07/0.162, allocations: 0 / 0.5182 GB, free: 14.24 MB / 414.1 MB Notification: Performance of Templates: time 0.003784/0.1658, allocations: 0.7604 MB / 0.519 GB, free: 13.48 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f Annex60_1.0.0_Annex60.Utilities.Math.Examples.Average.makefile [Timeout 660] (rm -f Annex60_1.0.0_Annex60.Utilities.Math.Examples.Average.pipe ; mkfifo Annex60_1.0.0_Annex60.Utilities.Math.Examples.Average.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Utilities.Math.Examples.Average.pipe >> ../files/Annex60_1.0.0_Annex60.Utilities.Math.Examples.Average.sim & ./Annex60_1.0.0_Annex60.Utilities.Math.Examples.Average -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Utilities.Math.Examples.Average.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.232298322953284]