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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.3/package.mo", uses=false) Using package ExternData with version 3.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.3/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=5000,variableFilter="",fileNamePrefix="ExternData_ExternData.Examples.XMLTestInnerOuter") translateModel(ExternData.Examples.XMLTestInnerOuter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ExternData_ExternData.Examples.XMLTestInnerOuter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001079/0.001078, allocations: 99.7 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009869/0.000987, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.339/1.339, allocations: 223.2 MB / 239.9 MB, free: 5.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.3/package.mo): time 0.1473/0.1473, allocations: 2.945 MB / 293.9 MB, free: 3.949 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000529/0.0005292, allocations: 12 kB / 355.8 MB, free: 3.711 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1268/0.1274, allocations: 51.35 MB / 407.1 MB, free: 324 kB / 334.1 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.XMLTestInnerOuter): time 0.002451/0.1299, allocations: 1.373 MB / 408.5 MB, free: 14.94 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002162/0.1321, allocations: 1.499 MB / 410 MB, free: 13.43 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001021/0.1322, allocations: 0 / 410 MB, free: 13.43 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000308/0.1325, allocations: 35.78 kB / 410 MB, free: 13.39 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004137/0.133, allocations: 103.7 kB / 410.1 MB, free: 13.29 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000306/0.1333, allocations: 55.88 kB / 410.2 MB, free: 13.24 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001349/0.1334, allocations: 55.88 kB / 410.2 MB, free: 13.18 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000119/0.1335, allocations: 12.22 kB / 410.2 MB, free: 13.17 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001072/0.1337, allocations: 39.83 kB / 410.3 MB, free: 13.13 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001633/0.1338, allocations: 31.84 kB / 410.3 MB, free: 13.1 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.816e-05/0.1339, allocations: 0 / 410.3 MB, free: 13.1 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004396/0.1343, allocations: 159.8 kB / 410.5 MB, free: 12.94 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.678e-05/0.1344, allocations: 19.92 kB / 410.5 MB, free: 12.92 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.797e-05/0.1344, allocations: 45.64 kB / 410.5 MB, free: 12.87 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003492/0.1348, allocations: 187.9 kB / 410.7 MB, free: 12.69 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.815e-06/0.1348, allocations: 4 kB / 410.7 MB, free: 12.68 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.1348, allocations: 0 / 410.7 MB, free: 12.68 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.519e-06/0.1348, allocations: 0 / 410.7 MB, free: 12.68 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.0007079/0.1355, allocations: 456.6 kB / 411.2 MB, free: 12.18 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.238e-05/0.1356, allocations: 8.031 kB / 411.2 MB, free: 12.18 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.283e-05/0.1357, allocations: 15.81 kB / 411.2 MB, free: 12.16 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003079/0.136, allocations: 217.8 kB / 411.4 MB, free: 11.91 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.527e-05/0.136, allocations: 4 kB / 411.4 MB, free: 11.91 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.548e-05/0.136, allocations: 8 kB / 411.4 MB, free: 11.9 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002415/0.1363, allocations: 95.38 kB / 411.5 MB, free: 11.79 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.378e-06/0.1363, allocations: 0 / 411.5 MB, free: 11.79 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.734e-05/0.1363, allocations: 4 kB / 411.5 MB, free: 11.79 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.002e-06/0.1363, allocations: 0 / 411.5 MB, free: 11.79 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001605/0.1365, allocations: 71.89 kB / 411.6 MB, free: 11.72 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004913/0.137, allocations: 337.5 kB / 411.9 MB, free: 11.34 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002566/0.1373, allocations: 109.1 kB / 412 MB, free: 11.21 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.095e-05/0.1373, allocations: 4.125 kB / 412 MB, free: 11.21 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002585/0.1376, allocations: 138.8 kB / 412.1 MB, free: 11.05 MB / 350.1 MB Notification: Performance of pre-optimization done (n=11): time 1.353e-06/0.1376, allocations: 3.938 kB / 412.1 MB, free: 11.04 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.0005767/0.1382, allocations: 340.4 kB / 412.5 MB, free: 10.68 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.039e-05/0.1382, allocations: 110.8 kB / 412.6 MB, free: 10.55 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001683/0.1384, allocations: 161.8 kB / 412.7 MB, free: 10.38 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.964e-05/0.1384, allocations: 33.64 kB / 412.8 MB, free: 10.34 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.057e-05/0.1385, allocations: 100.1 kB / 412.9 MB, free: 10.24 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.521e-05/0.1385, allocations: 27.56 kB / 412.9 MB, free: 10.21 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.452e-06/0.1386, allocations: 0 / 412.9 MB, free: 10.21 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.00013/0.1387, allocations: 326.8 kB / 413.2 MB, free: 9.883 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.999e-05/0.1388, allocations: 39.98 kB / 413.3 MB, free: 9.844 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001053/0.1389, allocations: 61.69 kB / 413.3 MB, free: 9.777 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000109/0.139, allocations: 73.69 kB / 413.4 MB, free: 9.699 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.139, allocations: 0 / 413.4 MB, free: 9.699 MB / 350.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003188/0.1394, allocations: 207.2 kB / 413.6 MB, free: 9.484 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.061e-05/0.1394, allocations: 33.7 kB / 413.6 MB, free: 9.445 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.602e-06/0.1394, allocations: 4 kB / 413.6 MB, free: 9.441 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.189e-05/0.1394, allocations: 0 / 413.6 MB, free: 9.441 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.785e-05/0.1395, allocations: 15.98 kB / 413.7 MB, free: 9.426 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.162e-05/0.1395, allocations: 11.89 kB / 413.7 MB, free: 9.414 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.461e-05/0.1396, allocations: 15.84 kB / 413.7 MB, free: 9.398 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.097e-05/0.1396, allocations: 8 kB / 413.7 MB, free: 9.391 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 ($whenCondition1,component.timeTable.a,component.timeTable.b,component.timeTable.last,$PRE.component.timeTable.nextEvent,component.timeTable.nextEvent,component.timeTable.nextEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001372/0.1398, allocations: 159.5 kB / 413.8 MB, free: 9.219 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.775e-05/0.1398, allocations: 15.89 kB / 413.9 MB, free: 9.203 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.396e-05/0.1399, allocations: 12.72 kB / 413.9 MB, free: 9.191 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.474e-06/0.1399, allocations: 0 / 413.9 MB, free: 9.191 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.1399, allocations: 0 / 413.9 MB, free: 9.191 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.48e-06/0.1399, allocations: 3.953 kB / 413.9 MB, free: 9.188 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001862/0.1401, allocations: 221.5 kB / 414.1 MB, free: 8.922 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.1401, allocations: 0 / 414.1 MB, free: 8.922 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.637e-05/0.1402, allocations: 16 kB / 414.1 MB, free: 8.906 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.026e-06/0.1402, allocations: 0 / 414.1 MB, free: 8.906 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.005e-05/0.1402, allocations: 11.98 kB / 414.1 MB, free: 8.895 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.205e-06/0.1402, allocations: 0 / 414.1 MB, free: 8.895 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.1402, allocations: 3.984 kB / 414.1 MB, free: 8.891 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003887/0.1406, allocations: 281.1 kB / 414.4 MB, free: 8.582 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.835e-05/0.1407, allocations: 92.94 kB / 414.5 MB, free: 8.473 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.367e-05/0.1407, allocations: 8 kB / 414.5 MB, free: 8.465 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.223e-05/0.1408, allocations: 8 kB / 414.5 MB, free: 8.457 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.338e-05/0.1408, allocations: 20.2 kB / 414.5 MB, free: 8.438 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.621e-05/0.1409, allocations: 4 kB / 414.5 MB, free: 8.434 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001034/0.141, allocations: 121.1 kB / 414.6 MB, free: 8.316 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.141, allocations: 0 / 414.6 MB, free: 8.316 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003341/0.1413, allocations: 83.98 kB / 414.7 MB, free: 8.234 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000888/0.1422, allocations: 426.7 kB / 415.1 MB, free: 7.922 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003335/0.1426, allocations: 207.3 kB / 415.3 MB, free: 7.707 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.033e-06/0.1426, allocations: 7.938 kB / 415.4 MB, free: 7.699 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001584/0.1428, allocations: 147.3 kB / 415.5 MB, free: 7.543 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001817/0.1429, allocations: 8 kB / 415.5 MB, free: 7.535 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000482/0.1434, allocations: 260.4 kB / 415.8 MB, free: 7.246 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002872/0.1437, allocations: 0.7043 MB / 416.5 MB, free: 6.516 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.479e-05/0.1438, allocations: 24.41 kB / 416.5 MB, free: 6.492 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.803e-05/0.1439, allocations: 19.42 kB / 416.5 MB, free: 6.473 MB / 350.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1439, allocations: 0 / 416.5 MB, free: 6.473 MB / 350.1 MB Notification: Performance of Templates: time 0.005772/0.1496, allocations: 2.654 MB / 419.2 MB, free: 3.828 MB / 350.1 MB make -j1 -f ExternData_ExternData.Examples.XMLTestInnerOuter.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: