Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ExternData_ExternData.Examples.XMLTestInnerOuter.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.0009651/0.0009651, allocations: 92.2 kB / 20.19 MB, free: 4.363 MB / 18.57 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.001071/0.001071, allocations: 173 kB / 23.5 MB, free: 1.059 MB / 18.57 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.066/1.066, allocations: 177.1 MB / 203.8 MB, free: 5.277 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.2.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.2.0/package.mo): time 0.01722/0.01722, allocations: 2.258 MB / 262.5 MB, free: 10.7 MB / 250.7 MB " [Timeout remaining time 180] Using package ExternData with version 3.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.2.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(ExternData.Examples.XMLTestInnerOuter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ExternData_ExternData.Examples.XMLTestInnerOuter") translateModel(ExternData.Examples.XMLTestInnerOuter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ExternData_ExternData.Examples.XMLTestInnerOuter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.266e-06/3.266e-06, allocations: 4 kB / 332.8 MB, free: 16.75 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.216e-05/3.543e-05, allocations: 5.266 kB / 332.8 MB, free: 16.74 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.XMLTestInnerOuter): time 0.003392/0.003427, allocations: 1.725 MB / 334.5 MB, free: 15 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002176/0.005603, allocations: 1.749 MB / 336.3 MB, free: 13.24 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001059/0.005709, allocations: 4 kB / 336.3 MB, free: 13.24 MB / 266.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.2.0/package.mo:238:3-267:14:writable] Warning: Pure function 'ExternData.XMLFile' contains a call to impure function 'ExternData.Types.ExternXMLFile.constructor'. Notification: Performance of NFTyping.typeComponents: time 0.0004165/0.006125, allocations: 39.73 kB / 336.3 MB, free: 13.2 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003758/0.006501, allocations: 127.3 kB / 336.5 MB, free: 13.07 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002845/0.006785, allocations: 91.78 kB / 336.5 MB, free: 12.98 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001748/0.00696, allocations: 99.69 kB / 336.6 MB, free: 12.89 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.11e-05/0.007051, allocations: 12.17 kB / 336.7 MB, free: 12.87 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.818e-05/0.007139, allocations: 55.89 kB / 336.7 MB, free: 12.82 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001258/0.007265, allocations: 27.91 kB / 336.7 MB, free: 12.79 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.844e-05/0.007284, allocations: 8 kB / 336.7 MB, free: 12.78 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000223/0.007507, allocations: 195.6 kB / 336.9 MB, free: 12.59 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.812e-05/0.007565, allocations: 23.92 kB / 337 MB, free: 12.57 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 5.113e-05/0.007616, allocations: 23.92 kB / 337 MB, free: 12.54 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003116/0.007927, allocations: 243.3 kB / 337.2 MB, free: 12.3 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.007931, allocations: 0 / 337.2 MB, free: 12.3 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.007933, allocations: 3.938 kB / 337.2 MB, free: 12.3 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.831e-06/0.007938, allocations: 0 / 337.2 MB, free: 12.3 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.000565/0.008503, allocations: 493.4 kB / 337.7 MB, free: 11.78 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.306e-05/0.008546, allocations: 8.031 kB / 337.7 MB, free: 11.77 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.227e-05/0.008619, allocations: 16.89 kB / 337.7 MB, free: 11.75 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001827/0.008801, allocations: 144.5 kB / 337.9 MB, free: 11.59 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.289e-05/0.008814, allocations: 384 / 337.9 MB, free: 11.59 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.228e-05/0.008827, allocations: 4.375 kB / 337.9 MB, free: 11.58 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001739/0.009, allocations: 139.9 kB / 338 MB, free: 11.42 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.077e-06/0.00901, allocations: 3.938 kB / 338 MB, free: 11.42 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.177e-05/0.009021, allocations: 0 / 338 MB, free: 11.42 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.624e-06/0.009029, allocations: 0 / 338 MB, free: 11.42 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.265e-05/0.009092, allocations: 61.61 kB / 338.1 MB, free: 11.35 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002972/0.009389, allocations: 303.4 kB / 338.4 MB, free: 11.02 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001597/0.009548, allocations: 119.8 kB / 338.5 MB, free: 10.87 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.497e-05/0.009593, allocations: 61.11 kB / 338.5 MB, free: 10.79 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.464e-05/0.009608, allocations: 4 kB / 338.6 MB, free: 10.79 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001351/0.009743, allocations: 163.8 kB / 338.7 MB, free: 10.59 MB / 266.7 MB Notification: Performance of pre-optimization done (n=11): time 2.525e-06/0.009746, allocations: 0 / 338.7 MB, free: 10.59 MB / 266.7 MB Notification: Performance of matching and sorting (n=11): time 0.0003698/0.01012, allocations: 234.8 kB / 338.9 MB, free: 10.34 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.746e-05/0.01016, allocations: 110.8 kB / 339 MB, free: 10.21 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001091/0.01027, allocations: 189.9 kB / 339.2 MB, free: 10 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.283e-05/0.01028, allocations: 25.7 kB / 339.3 MB, free: 9.973 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.558e-05/0.01033, allocations: 138.9 kB / 339.4 MB, free: 9.832 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.411e-05/0.01036, allocations: 27.75 kB / 339.4 MB, free: 9.805 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.664e-05/0.01041, allocations: 39.36 kB / 339.5 MB, free: 9.758 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.408e-05/0.01049, allocations: 0.4884 MB / 339.9 MB, free: 9.258 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.355e-05/0.01053, allocations: 53.69 kB / 340 MB, free: 9.199 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.057e-05/0.01057, allocations: 65.06 kB / 340.1 MB, free: 9.121 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.874e-05/0.01066, allocations: 130.6 kB / 340.2 MB, free: 8.973 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.547e-06/0.01066, allocations: 3.938 kB / 340.2 MB, free: 8.969 MB / 266.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001693/0.01083, allocations: 185.1 kB / 340.4 MB, free: 8.77 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.158e-05/0.01086, allocations: 38.64 kB / 340.4 MB, free: 8.727 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.518e-06/0.01087, allocations: 48 / 340.4 MB, free: 8.727 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.676e-05/0.01088, allocations: 11.97 kB / 340.4 MB, free: 8.715 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.937e-05/0.01094, allocations: 8 kB / 340.4 MB, free: 8.707 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.481e-06/0.01095, allocations: 0 / 340.4 MB, free: 8.707 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.974e-05/0.011, allocations: 8 kB / 340.4 MB, free: 8.699 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.023e-05/0.01101, allocations: 4 kB / 340.4 MB, free: 8.695 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 7 (component.timeTable.nextEventScaled,component.timeTable.nextEvent,$PRE.component.timeTable.nextEvent,component.timeTable.last,component.timeTable.b,component.timeTable.a,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 1 * 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 7.885e-05/0.01109, allocations: 208.8 kB / 340.6 MB, free: 8.477 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.191e-05/0.01111, allocations: 15.89 kB / 340.7 MB, free: 8.461 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.583e-05/0.01114, allocations: 16.42 kB / 340.7 MB, free: 8.441 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.01114, allocations: 0 / 340.7 MB, free: 8.441 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.948e-06/0.01114, allocations: 0 / 340.7 MB, free: 8.441 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.025e-06/0.01114, allocations: 0 / 340.7 MB, free: 8.441 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.412e-05/0.01123, allocations: 160.5 kB / 340.8 MB, free: 8.25 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.01123, allocations: 3.938 kB / 340.8 MB, free: 8.246 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.08e-05/0.01126, allocations: 12 kB / 340.9 MB, free: 8.234 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.01126, allocations: 0 / 340.9 MB, free: 8.234 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.091e-05/0.01127, allocations: 8 kB / 340.9 MB, free: 8.227 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.01128, allocations: 0 / 340.9 MB, free: 8.227 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.01128, allocations: 0 / 340.9 MB, free: 8.227 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001886/0.01147, allocations: 259.3 kB / 341.1 MB, free: 7.934 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.537e-05/0.01148, allocations: 15.88 kB / 341.1 MB, free: 7.918 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.416e-05/0.01151, allocations: 8 kB / 341.1 MB, free: 7.91 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.054e-05/0.01154, allocations: 4 kB / 341.1 MB, free: 7.906 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.422e-05/0.01157, allocations: 3.984 kB / 341.1 MB, free: 7.902 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.265e-05/0.01158, allocations: 4 kB / 341.1 MB, free: 7.898 MB / 266.7 MB Notification: Performance of sorting global known variables: time 3.98e-05/0.01162, allocations: 149.7 kB / 341.3 MB, free: 7.754 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01162, allocations: 0 / 341.3 MB, free: 7.754 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002289/0.01185, allocations: 79.73 kB / 341.4 MB, free: 7.676 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,component.timeTable.a,component.timeTable.b,component.timeTable.last,component.timeTable.nextEvent,component.timeTable.nextEventScaled) * Number of discrete states: 6 (component.timeTable.nextEvent,component.timeTable.last,component.timeTable.nextEventScaled,component.timeTable.b,component.timeTable.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 1 * 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.0009626/0.01281, allocations: 476.6 kB / 341.8 MB, free: 7.324 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001965/0.01301, allocations: 198.4 kB / 342 MB, free: 7.102 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.01301, allocations: 4 kB / 342 MB, free: 7.098 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 5.673e-05/0.01307, allocations: 132.8 kB / 342.2 MB, free: 6.945 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001855/0.01326, allocations: 22.8 kB / 342.2 MB, free: 6.926 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003468/0.0136, allocations: 261.6 kB / 342.4 MB, free: 6.633 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.787e-05/0.01363, allocations: 67.34 kB / 342.5 MB, free: 6.547 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.972e-05/0.01366, allocations: 7.984 kB / 342.5 MB, free: 6.539 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.632e-05/0.01369, allocations: 16.5 kB / 342.5 MB, free: 6.523 MB / 266.7 MB Notification: Performance of SimCode: time 1.082e-06/0.01369, allocations: 0 / 342.5 MB, free: 6.523 MB / 266.7 MB Notification: Performance of Templates: time 0.004266/0.01795, allocations: 2.731 MB / 345.3 MB, free: 3.805 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f ExternData_ExternData.Examples.XMLTestInnerOuter.makefile [Timeout 660] (rm -f ExternData_ExternData.Examples.XMLTestInnerOuter.pipe ; mkfifo ExternData_ExternData.Examples.XMLTestInnerOuter.pipe ; head -c 1048576 < ExternData_ExternData.Examples.XMLTestInnerOuter.pipe >> ../files/ExternData_ExternData.Examples.XMLTestInnerOuter.sim & ./ExternData_ExternData.Examples.XMLTestInnerOuter -abortSlowSimulation -alarm=240 -lv LOG_STATS > ExternData_ExternData.Examples.XMLTestInnerOuter.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.9971396590117365]