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.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.001281/0.001281, allocations: 113.1 kB / 17.6 MB, free: 4.703 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.001441/0.001441, allocations: 186.7 kB / 20.78 MB, free: 1.547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.449/1.449, allocations: 225.6 MB / 249.4 MB, free: 3.125 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.5-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.5-master/package.mo): time 0.02439/0.02439, allocations: 2.985 MB / 307.5 MB, free: 3.242 MB / 238.1 MB " [Timeout remaining time 180] Using package ExternData with version 3.0.5 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.5-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(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 0.001949/0.001949, allocations: 67.88 kB / 428.7 MB, free: 1.43 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3296/0.3315, allocations: 53.06 MB / 481.8 MB, free: 27.49 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.XMLTestInnerOuter): time 0.002709/0.3342, allocations: 1.713 MB / 483.5 MB, free: 26.31 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001898/0.3361, allocations: 1.684 MB / 485.2 MB, free: 25.14 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.648e-05/0.3362, allocations: 4 kB / 485.2 MB, free: 25.14 MB / 366.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.5-master/package.mo:250:3-279:14:writable] Warning: Pure function 'ExternData.XMLFile' contains a call to impure function 'ExternData.Types.ExternXMLFile.constructor'. Notification: Performance of NFTyping.typeComponents: time 0.0003181/0.3365, allocations: 43.09 kB / 485.2 MB, free: 25.12 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002979/0.3368, allocations: 124.5 kB / 485.3 MB, free: 25.05 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000206/0.337, allocations: 88.88 kB / 485.4 MB, free: 25.01 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001312/0.3372, allocations: 95.06 kB / 485.5 MB, free: 24.96 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.945e-05/0.3373, allocations: 10.09 kB / 485.5 MB, free: 24.96 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.492e-05/0.3373, allocations: 50.39 kB / 485.6 MB, free: 24.93 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001521/0.3375, allocations: 35.2 kB / 485.6 MB, free: 24.92 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.735e-05/0.3375, allocations: 12.66 kB / 485.6 MB, free: 24.91 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002238/0.3377, allocations: 210.6 kB / 485.8 MB, free: 24.84 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 5.537e-05/0.3378, allocations: 25.41 kB / 485.9 MB, free: 24.83 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 4.947e-05/0.3378, allocations: 36.62 kB / 485.9 MB, free: 24.8 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003097/0.3381, allocations: 240.6 kB / 486.1 MB, free: 24.73 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.542e-06/0.3381, allocations: 2.75 kB / 486.1 MB, free: 24.73 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.3381, allocations: 0 / 486.1 MB, free: 24.73 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.182e-06/0.3381, allocations: 0 / 486.1 MB, free: 24.73 MB / 366.1 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.0005622/0.3387, allocations: 475.1 kB / 486.6 MB, free: 24.27 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.985e-05/0.3387, allocations: 12.77 kB / 486.6 MB, free: 24.26 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.635e-05/0.3388, allocations: 11.02 kB / 486.6 MB, free: 24.26 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002354/0.339, allocations: 207.5 kB / 486.8 MB, free: 24.04 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.458e-05/0.339, allocations: 4.375 kB / 486.8 MB, free: 24.04 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.893e-05/0.3391, allocations: 7.281 kB / 486.8 MB, free: 24.03 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001931/0.3392, allocations: 102.2 kB / 486.9 MB, free: 23.96 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.877e-06/0.3393, allocations: 0 / 486.9 MB, free: 23.96 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.392e-05/0.3393, allocations: 11.22 kB / 486.9 MB, free: 23.96 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.488e-06/0.3393, allocations: 0 / 486.9 MB, free: 23.96 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001227/0.3394, allocations: 63.92 kB / 487 MB, free: 23.94 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003297/0.3397, allocations: 313.8 kB / 487.3 MB, free: 23.63 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002177/0.3399, allocations: 99.25 kB / 487.4 MB, free: 23.56 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.748e-05/0.34, allocations: 51.03 kB / 487.5 MB, free: 23.53 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.79e-05/0.3401, allocations: 3.219 kB / 487.5 MB, free: 23.53 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001778/0.3402, allocations: 148.4 kB / 487.6 MB, free: 23.41 MB / 366.1 MB Notification: Performance of pre-optimization done (n=11): time 1.382e-06/0.3402, allocations: 4 kB / 487.6 MB, free: 23.41 MB / 366.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004259/0.3407, allocations: 256.2 kB / 487.9 MB, free: 23.28 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.302e-05/0.3407, allocations: 109.7 kB / 488 MB, free: 23.15 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.322e-05/0.3408, allocations: 139.4 kB / 488.1 MB, free: 23.04 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.182e-05/0.3408, allocations: 25.7 kB / 488.1 MB, free: 23 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.909e-05/0.3408, allocations: 90.83 kB / 488.2 MB, free: 22.92 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.874e-05/0.3409, allocations: 32.92 kB / 488.2 MB, free: 22.89 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.151e-05/0.3409, allocations: 31.28 kB / 488.3 MB, free: 22.87 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 4.976e-05/0.341, allocations: 322.2 kB / 488.6 MB, free: 22.55 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.849e-05/0.341, allocations: 47.67 kB / 488.6 MB, free: 22.53 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.291e-05/0.3411, allocations: 54.53 kB / 488.7 MB, free: 22.5 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001569/0.3413, allocations: 164.9 kB / 488.9 MB, free: 22.38 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.3413, allocations: 0 / 488.9 MB, free: 22.38 MB / 366.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002562/0.3415, allocations: 206.6 kB / 489.1 MB, free: 22.27 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.407e-05/0.3416, allocations: 36.94 kB / 489.1 MB, free: 22.23 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.3416, allocations: 0.5625 kB / 489.1 MB, free: 22.23 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.389e-05/0.3416, allocations: 0 / 489.1 MB, free: 22.23 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.869e-05/0.3416, allocations: 14.38 kB / 489.1 MB, free: 22.23 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.872e-06/0.3416, allocations: 2.75 kB / 489.1 MB, free: 22.23 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.354e-05/0.3417, allocations: 16.61 kB / 489.1 MB, free: 22.22 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.294e-05/0.3417, allocations: 10.28 kB / 489.1 MB, free: 22.21 MB / 366.1 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 8.554e-05/0.3418, allocations: 156.4 kB / 489.3 MB, free: 22.06 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.419e-05/0.3418, allocations: 16.58 kB / 489.3 MB, free: 22.05 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.371e-05/0.3418, allocations: 10.3 kB / 489.3 MB, free: 22.05 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.3419, allocations: 3.156 kB / 489.3 MB, free: 22.05 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.499e-06/0.3419, allocations: 0 / 489.3 MB, free: 22.05 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.075e-06/0.3419, allocations: 0.7969 kB / 489.3 MB, free: 22.05 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001345/0.342, allocations: 218.5 kB / 489.5 MB, free: 21.83 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.342, allocations: 0 / 489.5 MB, free: 21.83 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.033e-05/0.342, allocations: 14.94 kB / 489.5 MB, free: 21.82 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.342, allocations: 0 / 489.5 MB, free: 21.82 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.46e-05/0.3421, allocations: 3.672 kB / 489.6 MB, free: 21.82 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.3421, allocations: 4.516 kB / 489.6 MB, free: 21.82 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.3421, allocations: 3 kB / 489.6 MB, free: 21.82 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002987/0.3424, allocations: 260.3 kB / 489.8 MB, free: 21.66 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.792e-05/0.3424, allocations: 84.22 kB / 489.9 MB, free: 21.56 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.865e-05/0.3424, allocations: 14.66 kB / 489.9 MB, free: 21.55 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.364e-05/0.3425, allocations: 7.438 kB / 489.9 MB, free: 21.55 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.73e-05/0.3425, allocations: 10.69 kB / 489.9 MB, free: 21.55 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.895e-05/0.3425, allocations: 15.16 kB / 489.9 MB, free: 21.54 MB / 366.1 MB Notification: Performance of sorting global known variables: time 5.488e-05/0.3426, allocations: 111.9 kB / 490.1 MB, free: 21.45 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3426, allocations: 0 / 490.1 MB, free: 21.45 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003066/0.3429, allocations: 84.33 kB / 490.1 MB, free: 21.43 MB / 366.1 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.00111/0.344, allocations: 431.1 kB / 490.6 MB, free: 21.22 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000278/0.3443, allocations: 176.3 kB / 490.7 MB, free: 21.12 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.3443, allocations: 0 / 490.7 MB, free: 21.12 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001218/0.3444, allocations: 115.7 kB / 490.8 MB, free: 21.04 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000212/0.3446, allocations: 18.67 kB / 490.9 MB, free: 21.03 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004369/0.3451, allocations: 251.8 kB / 491.1 MB, free: 20.85 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001292/0.3452, allocations: 0.7022 MB / 491.8 MB, free: 20.15 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 3.512e-05/0.3452, allocations: 6.109 kB / 491.8 MB, free: 20.15 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.162e-05/0.3453, allocations: 15.41 kB / 491.8 MB, free: 20.14 MB / 366.1 MB Notification: Performance of SimCode: time 2.8e-07/0.3453, allocations: 0 / 491.8 MB, free: 20.14 MB / 366.1 MB Notification: Performance of Templates: time 0.006742/0.352, allocations: 2.685 MB / 494.5 MB, free: 19.85 MB / 366.1 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=480 -lv LOG_STATS > ExternData_ExternData.Examples.XMLTestInnerOuter.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.934595411643386]