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.4/package.mo", uses=false) Using package ExternData with version 3.0.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.4/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.0009035/0.0009038, allocations: 91.77 kB / 15.06 MB, free: 1.098 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.001003/0.001003, allocations: 172.7 kB / 15.95 MB, free: 208 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.498/1.498, allocations: 223.3 MB / 240 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.4/package.mo): time 0.2172/0.2172, allocations: 2.955 MB / 294 MB, free: 3.867 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000541/0.000541, allocations: 8 kB / 355.9 MB, free: 3.715 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1363/0.1369, allocations: 51.35 MB / 407.2 MB, free: 324 kB / 334.1 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.XMLTestInnerOuter): time 0.002208/0.1391, allocations: 1.369 MB / 408.6 MB, free: 14.94 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002619/0.1418, allocations: 1.511 MB / 410.1 MB, free: 13.42 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.555e-05/0.1419, allocations: 0 / 410.1 MB, free: 13.42 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003189/0.1422, allocations: 39.84 kB / 410.1 MB, free: 13.38 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003038/0.1425, allocations: 99.66 kB / 410.2 MB, free: 13.29 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002436/0.1428, allocations: 55.88 kB / 410.3 MB, free: 13.23 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001209/0.1429, allocations: 75.78 kB / 410.4 MB, free: 13.16 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001045/0.143, allocations: 20.19 kB / 410.4 MB, free: 13.13 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.969e-05/0.1431, allocations: 35.86 kB / 410.4 MB, free: 13.1 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001632/0.1433, allocations: 31.84 kB / 410.4 MB, free: 13.07 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.909e-05/0.1433, allocations: 4 kB / 410.4 MB, free: 13.06 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000278/0.1436, allocations: 183.7 kB / 410.6 MB, free: 12.88 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.495e-05/0.1437, allocations: 19.92 kB / 410.6 MB, free: 12.86 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.814e-05/0.1437, allocations: 37.7 kB / 410.7 MB, free: 12.82 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002723/0.144, allocations: 179.9 kB / 410.9 MB, free: 12.64 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.594e-06/0.144, allocations: 0 / 410.9 MB, free: 12.64 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.326e-06/0.144, allocations: 0 / 410.9 MB, free: 12.64 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.402e-06/0.144, allocations: 0 / 410.9 MB, free: 12.64 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.0005992/0.1446, allocations: 440.8 kB / 411.3 MB, free: 12.16 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.406e-05/0.1447, allocations: 12.02 kB / 411.3 MB, free: 12.15 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.482e-05/0.1448, allocations: 11.84 kB / 411.3 MB, free: 12.14 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002665/0.145, allocations: 202.7 kB / 411.5 MB, free: 11.9 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.655e-05/0.1451, allocations: 7.953 kB / 411.5 MB, free: 11.89 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.238e-05/0.1451, allocations: 4 kB / 411.5 MB, free: 11.89 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000264/0.1453, allocations: 103.4 kB / 411.6 MB, free: 11.78 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.718e-06/0.1454, allocations: 0 / 411.6 MB, free: 11.78 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.48e-05/0.1454, allocations: 0 / 411.6 MB, free: 11.78 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.345e-06/0.1454, allocations: 4 kB / 411.6 MB, free: 11.77 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001411/0.1455, allocations: 63.91 kB / 411.7 MB, free: 11.71 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004333/0.146, allocations: 333.5 kB / 412 MB, free: 11.33 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002705/0.1463, allocations: 109.2 kB / 412.1 MB, free: 11.21 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001142/0.1464, allocations: 57.75 kB / 412.2 MB, free: 11.14 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.35e-05/0.1464, allocations: 7.984 kB / 412.2 MB, free: 11.14 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000268/0.1467, allocations: 146.7 kB / 412.3 MB, free: 10.97 MB / 350.1 MB Notification: Performance of pre-optimization done (n=11): time 1.222e-06/0.1467, allocations: 0 / 412.3 MB, free: 10.97 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.0005102/0.1472, allocations: 247.2 kB / 412.6 MB, free: 10.71 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.039e-05/0.1473, allocations: 114.7 kB / 412.7 MB, free: 10.58 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001468/0.1475, allocations: 145.7 kB / 412.8 MB, free: 10.43 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.121e-05/0.1475, allocations: 29.7 kB / 412.9 MB, free: 10.39 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.596e-05/0.1476, allocations: 84.14 kB / 412.9 MB, free: 10.3 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.426e-05/0.1476, allocations: 31.78 kB / 413 MB, free: 10.27 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.985e-06/0.1476, allocations: 11.94 kB / 413 MB, free: 10.26 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000154/0.1478, allocations: 318.8 kB / 413.3 MB, free: 9.941 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.844e-05/0.1479, allocations: 51.97 kB / 413.3 MB, free: 9.891 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.828e-05/0.148, allocations: 57.67 kB / 413.4 MB, free: 9.828 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00011/0.1481, allocations: 77.59 kB / 413.5 MB, free: 9.746 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.1481, allocations: 0 / 413.5 MB, free: 9.746 MB / 350.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000317/0.1484, allocations: 211.2 kB / 413.7 MB, free: 9.527 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.241e-05/0.1485, allocations: 37.69 kB / 413.7 MB, free: 9.484 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.1485, allocations: 0 / 413.7 MB, free: 9.484 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.38e-05/0.1485, allocations: 0 / 413.7 MB, free: 9.484 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.684e-05/0.1486, allocations: 15.94 kB / 413.7 MB, free: 9.469 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.092e-06/0.1486, allocations: 0 / 413.7 MB, free: 9.469 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.286e-05/0.1487, allocations: 11.98 kB / 413.7 MB, free: 9.457 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.47e-05/0.1487, allocations: 4 kB / 413.7 MB, free: 9.453 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.0001557/0.1489, allocations: 167.5 kB / 413.9 MB, free: 9.273 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.325e-05/0.1489, allocations: 11.91 kB / 413.9 MB, free: 9.262 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.889e-05/0.1489, allocations: 8.375 kB / 413.9 MB, free: 9.254 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.255e-06/0.1489, allocations: 0 / 413.9 MB, free: 9.254 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.075e-06/0.1489, allocations: 4 kB / 413.9 MB, free: 9.25 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.149, allocations: 3.938 kB / 413.9 MB, free: 9.246 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000188/0.1491, allocations: 213.5 kB / 414.1 MB, free: 8.988 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-06/0.1492, allocations: 0 / 414.1 MB, free: 8.988 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.272e-05/0.1492, allocations: 11.98 kB / 414.2 MB, free: 8.977 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.1492, allocations: 4 kB / 414.2 MB, free: 8.973 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.617e-05/0.1492, allocations: 8 kB / 414.2 MB, free: 8.965 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.589e-06/0.1493, allocations: 8 kB / 414.2 MB, free: 8.957 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.1493, allocations: 0 / 414.2 MB, free: 8.957 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003795/0.1496, allocations: 267.4 kB / 414.4 MB, free: 8.668 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.607e-05/0.1497, allocations: 97.27 kB / 414.5 MB, free: 8.555 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.892e-05/0.1498, allocations: 4 kB / 414.5 MB, free: 8.551 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.161e-05/0.1498, allocations: 15.98 kB / 414.6 MB, free: 8.535 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.877e-05/0.1499, allocations: 4 kB / 414.6 MB, free: 8.531 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.006e-05/0.1499, allocations: 4 kB / 414.6 MB, free: 8.527 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.948e-05/0.15, allocations: 114.2 kB / 414.7 MB, free: 8.418 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.15, allocations: 0 / 414.7 MB, free: 8.418 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003415/0.1503, allocations: 71.98 kB / 414.7 MB, free: 8.348 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.0009425/0.1513, allocations: 425.5 kB / 415.2 MB, free: 8.031 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003596/0.1517, allocations: 203.3 kB / 415.4 MB, free: 7.82 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.1517, allocations: 0 / 415.4 MB, free: 7.82 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002015/0.1519, allocations: 151.3 kB / 415.5 MB, free: 7.66 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002531/0.1522, allocations: 28.28 kB / 415.5 MB, free: 7.637 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005097/0.1527, allocations: 267.8 kB / 415.8 MB, free: 7.34 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002716/0.153, allocations: 0.7043 MB / 416.5 MB, free: 6.609 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.668e-05/0.153, allocations: 4.375 kB / 416.5 MB, free: 6.605 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.154e-05/0.153, allocations: 15.42 kB / 416.5 MB, free: 6.59 MB / 350.1 MB Notification: Performance of SimCode: time 3.21e-07/0.153, allocations: 4 kB / 416.5 MB, free: 6.586 MB / 350.1 MB Notification: Performance of Templates: time 0.006037/0.1591, allocations: 2.48 MB / 419 MB, free: 4.113 MB / 350.1 MB make -j1 -f ExternData_ExternData.Examples.XMLTestInnerOuter.makefile (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)