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.0009994/0.0009994, allocations: 81.17 kB / 19.87 MB, free: 4.621 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.0009626/0.0009626, allocations: 169 kB / 23.27 MB, free: 1.223 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 0.9952/0.9952, allocations: 177.2 MB / 203.7 MB, free: 5.527 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.01142/0.01142, allocations: 2.256 MB / 262.5 MB, free: 10.66 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 2.245e-06/2.245e-06, allocations: 4 kB / 333.2 MB, free: 16.18 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.327e-05/1.551e-05, allocations: 4.703 kB / 333.2 MB, free: 16.18 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.XMLTestInnerOuter): time 0.001962/0.001978, allocations: 1.721 MB / 335 MB, free: 14.44 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001481/0.003458, allocations: 1.749 MB / 336.7 MB, free: 12.68 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.779e-05/0.003526, allocations: 4 kB / 336.7 MB, free: 12.68 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.0002851/0.003811, allocations: 43.66 kB / 336.8 MB, free: 12.63 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002638/0.004075, allocations: 119.4 kB / 336.9 MB, free: 12.52 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001434/0.004218, allocations: 99.7 kB / 337 MB, free: 12.42 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 9.632e-05/0.004315, allocations: 95.77 kB / 337.1 MB, free: 12.32 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.917e-05/0.004394, allocations: 8.172 kB / 337.1 MB, free: 12.31 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.103e-05/0.004475, allocations: 59.83 kB / 337.1 MB, free: 12.25 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001165/0.004591, allocations: 31.91 kB / 337.2 MB, free: 12.22 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.8e-05/0.004609, allocations: 8 kB / 337.2 MB, free: 12.21 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001872/0.004797, allocations: 187.7 kB / 337.4 MB, free: 12.03 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.506e-05/0.004842, allocations: 23.92 kB / 337.4 MB, free: 12.01 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.273e-05/0.004874, allocations: 23.92 kB / 337.4 MB, free: 11.98 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002261/0.005101, allocations: 251.3 kB / 337.6 MB, free: 11.74 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.194e-06/0.005103, allocations: 4 kB / 337.6 MB, free: 11.73 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.203e-06/0.005104, allocations: 3.938 kB / 337.7 MB, free: 11.73 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.368e-06/0.005108, allocations: 0 / 337.7 MB, free: 11.73 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.0003989/0.005507, allocations: 497.4 kB / 338.1 MB, free: 11.2 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.178e-05/0.005539, allocations: 8.031 kB / 338.1 MB, free: 11.2 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.348e-05/0.005572, allocations: 12.89 kB / 338.2 MB, free: 11.18 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001131/0.005686, allocations: 144.4 kB / 338.3 MB, free: 11.02 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.327e-06/0.005695, allocations: 384 / 338.3 MB, free: 11.02 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.686e-06/0.005704, allocations: 4.375 kB / 338.3 MB, free: 11.02 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001146/0.005818, allocations: 132 kB / 338.4 MB, free: 10.86 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.927e-06/0.005827, allocations: 7.875 kB / 338.4 MB, free: 10.86 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.256e-06/0.005835, allocations: 0 / 338.4 MB, free: 10.86 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.122e-06/0.005842, allocations: 0 / 338.4 MB, free: 10.86 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.047e-05/0.005882, allocations: 49.69 kB / 338.5 MB, free: 10.8 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002104/0.006092, allocations: 284.1 kB / 338.8 MB, free: 10.49 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001352/0.006228, allocations: 107.8 kB / 338.9 MB, free: 10.36 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.661e-05/0.006264, allocations: 65.2 kB / 338.9 MB, free: 10.28 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.658e-05/0.006281, allocations: 3.938 kB / 338.9 MB, free: 10.27 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001218/0.006403, allocations: 167.8 kB / 339.1 MB, free: 10.07 MB / 266.7 MB Notification: Performance of pre-optimization done (n=11): time 1.092e-06/0.006404, allocations: 0 / 339.1 MB, free: 10.07 MB / 266.7 MB Notification: Performance of matching and sorting (n=11): time 0.0002516/0.006655, allocations: 222.6 kB / 339.3 MB, free: 9.832 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.641e-05/0.006692, allocations: 110.8 kB / 339.4 MB, free: 9.699 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.56e-05/0.006777, allocations: 193.2 kB / 339.6 MB, free: 9.496 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.097e-05/0.006788, allocations: 25.7 kB / 339.6 MB, free: 9.465 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.917e-05/0.006827, allocations: 142.8 kB / 339.8 MB, free: 9.32 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.923e-05/0.006857, allocations: 27.75 kB / 339.8 MB, free: 9.293 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.958e-05/0.006896, allocations: 31.34 kB / 339.8 MB, free: 9.254 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 9.528e-05/0.006992, allocations: 0.5 MB / 340.3 MB, free: 8.742 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.904e-05/0.007021, allocations: 41.69 kB / 340.4 MB, free: 8.695 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.668e-05/0.007067, allocations: 73.05 kB / 340.5 MB, free: 8.609 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.597e-05/0.007133, allocations: 114.9 kB / 340.6 MB, free: 8.477 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.007135, allocations: 0 / 340.6 MB, free: 8.477 MB / 266.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001287/0.007264, allocations: 188.8 kB / 340.7 MB, free: 8.273 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.67e-05/0.00729, allocations: 37.69 kB / 340.8 MB, free: 8.23 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.007296, allocations: 0 / 340.8 MB, free: 8.23 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.446e-05/0.00731, allocations: 4 kB / 340.8 MB, free: 8.227 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.023e-05/0.00736, allocations: 12 kB / 340.8 MB, free: 8.215 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.376e-06/0.007364, allocations: 0 / 340.8 MB, free: 8.215 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.756e-05/0.007401, allocations: 11.98 kB / 340.8 MB, free: 8.203 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.027e-06/0.00741, allocations: 8 kB / 340.8 MB, free: 8.195 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.855e-05/0.007489, allocations: 203 kB / 341 MB, free: 7.98 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.167e-05/0.007511, allocations: 19.89 kB / 341 MB, free: 7.961 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.775e-05/0.007538, allocations: 8.438 kB / 341 MB, free: 7.949 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.397e-06/0.007542, allocations: 4 kB / 341.1 MB, free: 7.945 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.335e-06/0.007544, allocations: 0 / 341.1 MB, free: 7.945 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.007547, allocations: 0 / 341.1 MB, free: 7.945 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.306e-05/0.00763, allocations: 137.1 kB / 341.2 MB, free: 7.785 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.007632, allocations: 0 / 341.2 MB, free: 7.785 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.261e-05/0.007654, allocations: 15.98 kB / 341.2 MB, free: 7.77 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.325e-06/0.007657, allocations: 4 kB / 341.2 MB, free: 7.766 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.636e-06/0.007665, allocations: 7.938 kB / 341.2 MB, free: 7.758 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.007667, allocations: 4 kB / 341.2 MB, free: 7.754 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.007668, allocations: 0 / 341.2 MB, free: 7.754 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001589/0.007827, allocations: 239.3 kB / 341.5 MB, free: 7.48 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.369e-05/0.00784, allocations: 15.94 kB / 341.5 MB, free: 7.465 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.979e-05/0.00786, allocations: 7.938 kB / 341.5 MB, free: 7.457 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.668e-05/0.007887, allocations: 4 kB / 341.5 MB, free: 7.453 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.875e-05/0.007915, allocations: 15.97 kB / 341.5 MB, free: 7.438 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.228e-05/0.007928, allocations: 4 kB / 341.5 MB, free: 7.434 MB / 266.7 MB Notification: Performance of sorting global known variables: time 3.623e-05/0.007964, allocations: 135.2 kB / 341.6 MB, free: 7.301 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.007964, allocations: 4 kB / 341.6 MB, free: 7.297 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001911/0.008155, allocations: 79.73 kB / 341.7 MB, free: 7.219 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.0007584/0.008914, allocations: 469 kB / 342.2 MB, free: 6.867 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001466/0.00906, allocations: 194.4 kB / 342.4 MB, free: 6.648 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.373e-06/0.009062, allocations: 0 / 342.4 MB, free: 6.648 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 4.745e-05/0.009109, allocations: 128.7 kB / 342.5 MB, free: 6.5 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001515/0.009261, allocations: 33.64 kB / 342.5 MB, free: 6.473 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002628/0.009523, allocations: 253.6 kB / 342.8 MB, free: 6.188 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.388e-05/0.009547, allocations: 73.78 kB / 342.8 MB, free: 6.098 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.838e-05/0.009576, allocations: 7.984 kB / 342.8 MB, free: 6.09 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.397e-05/0.00965, allocations: 94.19 kB / 342.9 MB, free: 5.996 MB / 266.7 MB Notification: Performance of SimCode: time 5.81e-07/0.00965, allocations: 0 / 342.9 MB, free: 5.996 MB / 266.7 MB Notification: Performance of Templates: time 0.003847/0.0135, allocations: 3.026 MB / 346 MB, free: 2.988 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.814040989149362]