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 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001413/0.001413, allocations: 107.1 kB / 18.19 MB, free: 3.879 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001501/0.001501, allocations: 189.9 kB / 21.34 MB, free: 0.7383 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.473/1.473, allocations: 225.6 MB / 249.9 MB, free: 13.47 MB / 206.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.5/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.5/package.mo): time 0.01883/0.01883, allocations: 2.977 MB / 308 MB, free: 6.18 MB / 238.1 MB [Timeout remaining time 90] Using package ExternData with version 3.0.5 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.5/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=500,variableFilter="",fileNamePrefix="ExternData_ExternData.Examples.XMLTestInnerOuter") translateModel(ExternData.Examples.XMLTestInnerOuter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="ExternData_ExternData.Examples.XMLTestInnerOuter") [Timeout 660] Notification: Performance of FrontEnd - loaded program: time 0.002687/0.002687, allocations: 63.89 kB / 429.1 MB, free: 20.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1365/0.1391, allocations: 53.08 MB / 482.2 MB, free: 15.48 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.XMLTestInnerOuter): time 0.003523/0.1427, allocations: 1.688 MB / 483.9 MB, free: 13.79 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002805/0.1455, allocations: 1.667 MB / 485.5 MB, free: 12.11 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.725e-05/0.1456, allocations: 4 kB / 485.6 MB, free: 12.11 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.5/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.0004437/0.146, allocations: 35.78 kB / 485.6 MB, free: 12.07 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004398/0.1464, allocations: 123.4 kB / 485.7 MB, free: 11.95 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002643/0.1467, allocations: 91.72 kB / 485.8 MB, free: 11.86 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000181/0.1469, allocations: 95.77 kB / 485.9 MB, free: 11.77 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001067/0.147, allocations: 12.22 kB / 485.9 MB, free: 11.75 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.575e-05/0.1471, allocations: 35.86 kB / 485.9 MB, free: 11.72 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001982/0.1473, allocations: 47.83 kB / 486 MB, free: 11.67 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.375e-05/0.1473, allocations: 8 kB / 486 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003511/0.1477, allocations: 207.7 kB / 486.2 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.478e-05/0.1477, allocations: 27.91 kB / 486.2 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.876e-05/0.1478, allocations: 35.8 kB / 486.3 MB, free: 11.4 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00046/0.1483, allocations: 243.3 kB / 486.5 MB, free: 11.16 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.1483, allocations: 0 / 486.5 MB, free: 11.16 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.1483, allocations: 0 / 486.5 MB, free: 11.16 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.081e-06/0.1483, allocations: 0 / 486.5 MB, free: 11.16 MB / 350.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.0007348/0.149, allocations: 472.3 kB / 487 MB, free: 10.64 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.252e-05/0.149, allocations: 11.89 kB / 487 MB, free: 10.63 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.593e-05/0.1491, allocations: 20.81 kB / 487 MB, free: 10.61 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003718/0.1495, allocations: 208.2 kB / 487.2 MB, free: 10.37 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.411e-05/0.1495, allocations: 384 / 487.2 MB, free: 10.37 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.01e-05/0.1495, allocations: 8.125 kB / 487.2 MB, free: 10.36 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002676/0.1498, allocations: 103.3 kB / 487.3 MB, free: 10.25 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.029e-05/0.1498, allocations: 0 / 487.3 MB, free: 10.25 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.644e-05/0.1498, allocations: 4 kB / 487.3 MB, free: 10.25 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.514e-06/0.1498, allocations: 7.938 kB / 487.3 MB, free: 10.24 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001712/0.15, allocations: 59.95 kB / 487.4 MB, free: 10.18 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000505/0.1505, allocations: 313.7 kB / 487.7 MB, free: 9.82 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002828/0.1508, allocations: 97.12 kB / 487.8 MB, free: 9.707 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001126/0.1509, allocations: 57.83 kB / 487.8 MB, free: 9.645 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.399e-05/0.1509, allocations: 0 / 487.8 MB, free: 9.645 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002371/0.1511, allocations: 146.7 kB / 488 MB, free: 9.477 MB / 350.1 MB Notification: Performance of pre-optimization done (n=11): time 1.092e-06/0.1511, allocations: 4 kB / 488 MB, free: 9.473 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.0005497/0.1517, allocations: 251.3 kB / 488.2 MB, free: 9.215 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001009/0.1518, allocations: 106.8 kB / 488.3 MB, free: 9.086 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001433/0.1519, allocations: 144.8 kB / 488.5 MB, free: 8.938 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.116e-05/0.1519, allocations: 25.7 kB / 488.5 MB, free: 8.906 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.834e-05/0.152, allocations: 92.14 kB / 488.6 MB, free: 8.812 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.269e-05/0.1521, allocations: 27.73 kB / 488.6 MB, free: 8.785 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.011e-05/0.1521, allocations: 33.7 kB / 488.6 MB, free: 8.746 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000154/0.1523, allocations: 322.8 kB / 489 MB, free: 8.422 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.73e-05/0.1524, allocations: 39.97 kB / 489 MB, free: 8.383 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001013/0.1525, allocations: 57.7 kB / 489.1 MB, free: 8.32 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000215/0.1527, allocations: 160.9 kB / 489.2 MB, free: 8.145 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/0.1527, allocations: 0 / 489.2 MB, free: 8.145 MB / 350.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003416/0.153, allocations: 211.2 kB / 489.4 MB, free: 7.926 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.753e-05/0.1531, allocations: 41.69 kB / 489.5 MB, free: 7.879 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.092e-06/0.1531, allocations: 0 / 489.5 MB, free: 7.879 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.83e-05/0.1531, allocations: 0 / 489.5 MB, free: 7.879 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.028e-05/0.1532, allocations: 15.94 kB / 489.5 MB, free: 7.863 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.582e-06/0.1532, allocations: 0 / 489.5 MB, free: 7.863 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.939e-05/0.1533, allocations: 11.94 kB / 489.5 MB, free: 7.852 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.573e-05/0.1533, allocations: 7.938 kB / 489.5 MB, free: 7.844 MB / 350.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 0.0001616/0.1534, allocations: 163.7 kB / 489.7 MB, free: 7.668 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.33e-05/0.1535, allocations: 19.94 kB / 489.7 MB, free: 7.648 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.235e-05/0.1535, allocations: 12.38 kB / 489.7 MB, free: 7.637 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-06/0.1535, allocations: 0 / 489.7 MB, free: 7.637 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.865e-06/0.1535, allocations: 4 kB / 489.7 MB, free: 7.633 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.1535, allocations: 0 / 489.7 MB, free: 7.633 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002226/0.1537, allocations: 221.5 kB / 489.9 MB, free: 7.367 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.546e-06/0.1537, allocations: 4 kB / 489.9 MB, free: 7.363 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.519e-05/0.1538, allocations: 11.98 kB / 489.9 MB, free: 7.352 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.834e-06/0.1538, allocations: 0 / 489.9 MB, free: 7.352 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.548e-05/0.1538, allocations: 4 kB / 489.9 MB, free: 7.348 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.1538, allocations: 4 kB / 489.9 MB, free: 7.344 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.1538, allocations: 0 / 489.9 MB, free: 7.344 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004178/0.1542, allocations: 263.5 kB / 490.2 MB, free: 7.059 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.008e-05/0.1543, allocations: 92.98 kB / 490.3 MB, free: 6.949 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.154e-05/0.1543, allocations: 8 kB / 490.3 MB, free: 6.941 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.878e-05/0.1544, allocations: 4 kB / 490.3 MB, free: 6.938 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.663e-05/0.1544, allocations: 11.98 kB / 490.3 MB, free: 6.926 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.432e-05/0.1545, allocations: 11.94 kB / 490.3 MB, free: 6.914 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.202e-05/0.1545, allocations: 107.3 kB / 490.4 MB, free: 6.809 MB / 350.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1545, allocations: 0 / 490.4 MB, free: 6.809 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000354/0.1549, allocations: 83.69 kB / 490.5 MB, free: 6.727 MB / 350.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.001343/0.1562, allocations: 430 kB / 490.9 MB, free: 6.41 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003735/0.1566, allocations: 175.2 kB / 491.1 MB, free: 6.227 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.1566, allocations: 0 / 491.1 MB, free: 6.227 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001653/0.1568, allocations: 115.4 kB / 491.2 MB, free: 6.102 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002562/0.157, allocations: 18.64 kB / 491.2 MB, free: 6.086 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005708/0.1576, allocations: 260.9 kB / 491.5 MB, free: 5.793 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000355/0.158, allocations: 0.6957 MB / 492.2 MB, free: 5.074 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.866e-05/0.158, allocations: 19.42 kB / 492.2 MB, free: 5.055 MB / 350.1 MB Notification: Performance of SimCode: time 4.91e-07/0.158, allocations: 0 / 492.2 MB, free: 5.055 MB / 350.1 MB Notification: Performance of Templates: time 0.00558/0.1636, allocations: 2.733 MB / 494.9 MB, free: 2.328 MB / 350.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]