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.0008718/0.0008718, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 13.93 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.0009252/0.0009252, allocations: 169 kB / 23.02 MB, free: 1.551 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.9781/0.9781, allocations: 177.1 MB / 203.4 MB, free: 5.633 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.008984/0.008984, allocations: 2.256 MB / 262.2 MB, free: 10.78 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 1.322e-06/1.322e-06, allocations: 3.938 kB / 332.8 MB, free: 1.535 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.896e-05/2.028e-05, allocations: 4.984 kB / 332.8 MB, free: 1.531 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.XMLTestInnerOuter): time 0.00211/0.00213, allocations: 1.721 MB / 334.5 MB, free: 15.79 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001629/0.003759, allocations: 1.773 MB / 336.3 MB, free: 14.01 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.803e-05/0.003828, allocations: 3.938 kB / 336.3 MB, free: 14 MB / 314.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.0003236/0.004151, allocations: 39.78 kB / 336.3 MB, free: 13.96 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003301/0.004481, allocations: 135.2 kB / 336.4 MB, free: 13.83 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001796/0.004661, allocations: 87.78 kB / 336.5 MB, free: 13.75 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001187/0.004779, allocations: 99.7 kB / 336.6 MB, free: 13.65 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.715e-05/0.004857, allocations: 16.16 kB / 336.6 MB, free: 13.63 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.064e-05/0.004937, allocations: 51.91 kB / 336.7 MB, free: 13.58 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000116/0.005053, allocations: 31.89 kB / 336.7 MB, free: 13.55 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.727e-05/0.005071, allocations: 8 kB / 336.7 MB, free: 13.54 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002169/0.005287, allocations: 191.6 kB / 336.9 MB, free: 13.35 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 5.147e-05/0.005339, allocations: 23.92 kB / 336.9 MB, free: 13.33 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 4.039e-05/0.005379, allocations: 19.98 kB / 337 MB, free: 13.31 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002838/0.005663, allocations: 243.3 kB / 337.2 MB, free: 13.07 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.964e-06/0.005665, allocations: 4 kB / 337.2 MB, free: 13.07 MB / 314.7 MB Notification: Performance of FrontEnd: time 5.11e-07/0.005666, allocations: 0 / 337.2 MB, free: 13.07 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.007e-06/0.00567, allocations: 0 / 337.2 MB, free: 13.07 MB / 314.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.0004716/0.006141, allocations: 497.4 kB / 337.7 MB, free: 12.54 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.068e-05/0.006172, allocations: 8.031 kB / 337.7 MB, free: 12.53 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.79e-05/0.00622, allocations: 16.89 kB / 337.7 MB, free: 12.52 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001543/0.006374, allocations: 136.5 kB / 337.9 MB, free: 12.36 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.094e-05/0.006385, allocations: 4.375 kB / 337.9 MB, free: 12.35 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.467e-05/0.0064, allocations: 8.312 kB / 337.9 MB, free: 12.34 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001603/0.00656, allocations: 132 kB / 338 MB, free: 12.19 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.082e-05/0.006571, allocations: 3.938 kB / 338 MB, free: 12.19 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.017e-05/0.006581, allocations: 0 / 338 MB, free: 12.19 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.306e-06/0.006589, allocations: 4 kB / 338 MB, free: 12.18 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.999e-05/0.006649, allocations: 57.67 kB / 338.1 MB, free: 12.12 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003015/0.006951, allocations: 311.3 kB / 338.4 MB, free: 11.78 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001699/0.007121, allocations: 123.8 kB / 338.5 MB, free: 11.62 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.357e-05/0.007174, allocations: 61.11 kB / 338.5 MB, free: 11.55 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.636e-05/0.00719, allocations: 7.984 kB / 338.5 MB, free: 11.54 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001328/0.007323, allocations: 163.8 kB / 338.7 MB, free: 11.35 MB / 314.7 MB Notification: Performance of pre-optimization done (n=11): time 8.71e-07/0.007324, allocations: 0 / 338.7 MB, free: 11.35 MB / 314.7 MB Notification: Performance of matching and sorting (n=11): time 0.0002744/0.007598, allocations: 230.8 kB / 338.9 MB, free: 11.1 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.374e-05/0.007642, allocations: 106.8 kB / 339 MB, free: 10.97 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.539e-05/0.007738, allocations: 196.8 kB / 339.2 MB, free: 10.76 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.206e-05/0.00775, allocations: 25.7 kB / 339.3 MB, free: 10.73 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.545e-05/0.007795, allocations: 146.8 kB / 339.4 MB, free: 10.58 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.859e-05/0.007824, allocations: 27.73 kB / 339.4 MB, free: 10.55 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.549e-05/0.007859, allocations: 35.31 kB / 339.5 MB, free: 10.51 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001127/0.007972, allocations: 0.4923 MB / 340 MB, free: 10.01 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.332e-05/0.008015, allocations: 49.69 kB / 340 MB, free: 9.953 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.514e-05/0.00806, allocations: 69.06 kB / 340.1 MB, free: 9.871 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.839e-05/0.008149, allocations: 118.8 kB / 340.2 MB, free: 9.734 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.604e-06/0.008151, allocations: 3.938 kB / 340.2 MB, free: 9.73 MB / 314.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001595/0.008311, allocations: 177 kB / 340.4 MB, free: 9.539 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.612e-05/0.008337, allocations: 41.69 kB / 340.4 MB, free: 9.492 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.937e-06/0.008341, allocations: 0 / 340.4 MB, free: 9.492 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.426e-05/0.008355, allocations: 4 kB / 340.4 MB, free: 9.488 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.456e-05/0.0084, allocations: 15.92 kB / 340.4 MB, free: 9.473 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.318e-06/0.008404, allocations: 0 / 340.4 MB, free: 9.473 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.526e-05/0.008439, allocations: 7.938 kB / 340.4 MB, free: 9.465 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.145e-06/0.008447, allocations: 8 kB / 340.4 MB, free: 9.457 MB / 314.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 9.041e-05/0.008538, allocations: 206.2 kB / 340.6 MB, free: 9.238 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.004e-05/0.008558, allocations: 11.95 kB / 340.7 MB, free: 9.227 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.276e-05/0.008581, allocations: 12.44 kB / 340.7 MB, free: 9.215 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.008582, allocations: 0 / 340.7 MB, free: 9.215 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.008585, allocations: 0 / 340.7 MB, free: 9.215 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.606e-06/0.008589, allocations: 3.984 kB / 340.7 MB, free: 9.211 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.026e-05/0.008679, allocations: 152.5 kB / 340.8 MB, free: 9.027 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.008681, allocations: 3.938 kB / 340.8 MB, free: 9.023 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.578e-05/0.008707, allocations: 15.92 kB / 340.8 MB, free: 9.008 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.122e-06/0.008708, allocations: 4 kB / 340.8 MB, free: 9.004 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.125e-05/0.008719, allocations: 8 kB / 340.8 MB, free: 8.996 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.92e-07/0.00872, allocations: 0 / 340.8 MB, free: 8.996 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.008721, allocations: 0 / 340.8 MB, free: 8.996 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002097/0.008931, allocations: 259.4 kB / 341.1 MB, free: 8.703 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.322e-05/0.008944, allocations: 11.89 kB / 341.1 MB, free: 8.691 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.114e-05/0.008965, allocations: 8 kB / 341.1 MB, free: 8.684 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.915e-05/0.008994, allocations: 7.984 kB / 341.1 MB, free: 8.676 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.717e-05/0.009021, allocations: 3.938 kB / 341.1 MB, free: 8.672 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.224e-05/0.009034, allocations: 7.984 kB / 341.1 MB, free: 8.664 MB / 314.7 MB Notification: Performance of sorting global known variables: time 5.359e-05/0.009087, allocations: 151.1 kB / 341.3 MB, free: 8.516 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009087, allocations: 4 kB / 341.3 MB, free: 8.512 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002063/0.009294, allocations: 75.73 kB / 341.4 MB, free: 8.438 MB / 314.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.0008466/0.01014, allocations: 463.4 kB / 341.8 MB, free: 8.09 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001888/0.01033, allocations: 190.5 kB / 342 MB, free: 7.875 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.01033, allocations: 0 / 342 MB, free: 7.875 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 7.349e-05/0.0104, allocations: 136.7 kB / 342.1 MB, free: 7.719 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001608/0.01056, allocations: 35.14 kB / 342.2 MB, free: 7.688 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003433/0.01091, allocations: 252.2 kB / 342.4 MB, free: 7.402 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.511e-05/0.01094, allocations: 67.34 kB / 342.5 MB, free: 7.316 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 2.533e-05/0.01097, allocations: 4 kB / 342.5 MB, free: 7.312 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.815e-05/0.011, allocations: 24.42 kB / 342.5 MB, free: 7.289 MB / 314.7 MB Notification: Performance of SimCode: time 6.11e-07/0.011, allocations: 0 / 342.5 MB, free: 7.289 MB / 314.7 MB Notification: Performance of Templates: time 0.004026/0.01502, allocations: 2.731 MB / 345.2 MB, free: 4.57 MB / 314.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.9487561411224306]