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.001104/0.001104, allocations: 97.8 kB / 15.36 MB, free: 0.7344 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.007863/0.007863, allocations: 170.2 kB / 16.27 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.449/1.449, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.4/package.mo): time 0.1559/0.1559, allocations: 2.947 MB / 294.4 MB, free: 3.898 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003306/0.0003306, allocations: 8 kB / 356.5 MB, free: 3.375 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1205/0.1209, allocations: 51.35 MB / 407.8 MB, free: 15.97 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.XMLTestInnerOuter): time 0.002047/0.123, allocations: 1.4 MB / 409.2 MB, free: 14.57 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002446/0.1254, allocations: 1.592 MB / 410.8 MB, free: 12.96 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.453e-05/0.1255, allocations: 4 kB / 410.8 MB, free: 12.96 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002602/0.1258, allocations: 31.86 kB / 410.8 MB, free: 12.93 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002785/0.1261, allocations: 99.64 kB / 410.9 MB, free: 12.83 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002348/0.1263, allocations: 71.88 kB / 411 MB, free: 12.76 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001288/0.1264, allocations: 87.7 kB / 411.1 MB, free: 12.68 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.966e-05/0.1265, allocations: 20.2 kB / 411.1 MB, free: 12.65 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.508e-05/0.1266, allocations: 35.84 kB / 411.2 MB, free: 12.62 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001483/0.1268, allocations: 35.78 kB / 411.2 MB, free: 12.58 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.542e-05/0.1268, allocations: 4 kB / 411.2 MB, free: 12.58 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002857/0.1271, allocations: 195.8 kB / 411.4 MB, free: 12.39 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.843e-05/0.1272, allocations: 15.92 kB / 411.4 MB, free: 12.37 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.974e-05/0.1273, allocations: 61.5 kB / 411.5 MB, free: 12.3 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003259/0.1276, allocations: 239.7 kB / 411.7 MB, free: 12.07 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.1276, allocations: 0 / 411.7 MB, free: 12.07 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.542e-06/0.1276, allocations: 0 / 411.7 MB, free: 12.07 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.618e-06/0.1276, allocations: 0 / 411.7 MB, free: 12.07 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.0005366/0.1282, allocations: 452.9 kB / 412.1 MB, free: 11.57 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.364e-05/0.1282, allocations: 8.031 kB / 412.1 MB, free: 11.57 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.076e-05/0.1282, allocations: 8.844 kB / 412.2 MB, free: 11.56 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002023/0.1285, allocations: 200.2 kB / 412.3 MB, free: 11.32 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.426e-05/0.1285, allocations: 8.375 kB / 412.4 MB, free: 11.32 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.438e-05/0.1285, allocations: 4.125 kB / 412.4 MB, free: 11.31 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002312/0.1287, allocations: 111.3 kB / 412.5 MB, free: 11.19 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.883e-06/0.1287, allocations: 0 / 412.5 MB, free: 11.19 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.53e-05/0.1288, allocations: 8 kB / 412.5 MB, free: 11.18 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.831e-06/0.1288, allocations: 4 kB / 412.5 MB, free: 11.18 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001477/0.1289, allocations: 59.97 kB / 412.5 MB, free: 11.12 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003992/0.1293, allocations: 325.6 kB / 412.9 MB, free: 10.75 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002336/0.1296, allocations: 105.2 kB / 413 MB, free: 10.63 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001197/0.1297, allocations: 61.75 kB / 413 MB, free: 10.56 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.418e-06/0.1297, allocations: 7.875 kB / 413 MB, free: 10.55 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002348/0.13, allocations: 146.8 kB / 413.2 MB, free: 10.39 MB / 350.1 MB Notification: Performance of pre-optimization done (n=11): time 1.122e-06/0.13, allocations: 0 / 413.2 MB, free: 10.39 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.0005052/0.1305, allocations: 255.3 kB / 413.4 MB, free: 10.12 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.323e-05/0.1306, allocations: 114.8 kB / 413.5 MB, free: 9.988 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001229/0.1307, allocations: 137.8 kB / 413.7 MB, free: 9.844 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.013e-05/0.1307, allocations: 29.7 kB / 413.7 MB, free: 9.809 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.689e-05/0.1308, allocations: 92.12 kB / 413.8 MB, free: 9.715 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.554e-05/0.1308, allocations: 27.56 kB / 413.8 MB, free: 9.688 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.397e-05/0.1309, allocations: 21.7 kB / 413.8 MB, free: 9.66 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001197/0.131, allocations: 326.8 kB / 414.2 MB, free: 9.332 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.193e-05/0.1311, allocations: 43.98 kB / 414.2 MB, free: 9.289 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001099/0.1312, allocations: 65.62 kB / 414.3 MB, free: 9.219 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002049/0.1314, allocations: 157.1 kB / 414.4 MB, free: 9.047 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.063e-06/0.1314, allocations: 0 / 414.4 MB, free: 9.047 MB / 350.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003137/0.1318, allocations: 211.4 kB / 414.6 MB, free: 8.828 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.755e-05/0.1318, allocations: 41.69 kB / 414.7 MB, free: 8.781 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.518e-06/0.1318, allocations: 0 / 414.7 MB, free: 8.781 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.343e-05/0.1318, allocations: 3.984 kB / 414.7 MB, free: 8.777 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.546e-05/0.1319, allocations: 15.98 kB / 414.7 MB, free: 8.762 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/0.1319, allocations: 0 / 414.7 MB, free: 8.762 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.45e-05/0.132, allocations: 4 kB / 414.7 MB, free: 8.758 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.578e-05/0.132, allocations: 7.938 kB / 414.7 MB, free: 8.75 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.0001268/0.1322, allocations: 167.5 kB / 414.9 MB, free: 8.57 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.334e-05/0.1322, allocations: 7.906 kB / 414.9 MB, free: 8.562 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.73e-05/0.1322, allocations: 20.25 kB / 414.9 MB, free: 8.543 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.1322, allocations: 0 / 414.9 MB, free: 8.543 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.214e-06/0.1322, allocations: 7.984 kB / 414.9 MB, free: 8.535 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.1322, allocations: 0 / 414.9 MB, free: 8.535 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001749/0.1324, allocations: 221.4 kB / 415.1 MB, free: 8.27 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.1324, allocations: 0 / 415.1 MB, free: 8.27 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.086e-05/0.1325, allocations: 8 kB / 415.1 MB, free: 8.262 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.043e-06/0.1325, allocations: 4 kB / 415.1 MB, free: 8.258 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.362e-05/0.1325, allocations: 4 kB / 415.1 MB, free: 8.254 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.1325, allocations: 0 / 415.1 MB, free: 8.254 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-05/0.1326, allocations: 4 kB / 415.1 MB, free: 8.25 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003934/0.133, allocations: 267.4 kB / 415.4 MB, free: 7.961 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.162e-05/0.133, allocations: 92.95 kB / 415.5 MB, free: 7.852 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.974e-05/0.1331, allocations: 8 kB / 415.5 MB, free: 7.844 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.411e-05/0.1331, allocations: 7.984 kB / 415.5 MB, free: 7.836 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.266e-05/0.1332, allocations: 8 kB / 415.5 MB, free: 7.828 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.291e-05/0.1332, allocations: 15.98 kB / 415.5 MB, free: 7.812 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.265e-05/0.1333, allocations: 105.8 kB / 415.6 MB, free: 7.711 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.013e-06/0.1333, allocations: 0 / 415.6 MB, free: 7.711 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003372/0.1337, allocations: 83.92 kB / 415.7 MB, free: 7.629 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.0008671/0.1345, allocations: 427.3 kB / 416.1 MB, free: 7.316 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003147/0.1349, allocations: 207.3 kB / 416.3 MB, free: 7.102 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.1349, allocations: 0 / 416.3 MB, free: 7.102 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001569/0.135, allocations: 147.4 kB / 416.5 MB, free: 6.945 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002519/0.1353, allocations: 19.88 kB / 416.5 MB, free: 6.926 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005007/0.1358, allocations: 283.8 kB / 416.8 MB, free: 6.613 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002702/0.1361, allocations: 0.7004 MB / 417.5 MB, free: 5.887 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.683e-05/0.1361, allocations: 11.92 kB / 417.5 MB, free: 5.875 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3e-05/0.1362, allocations: 11.44 kB / 417.5 MB, free: 5.863 MB / 350.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1362, allocations: 0 / 417.5 MB, free: 5.863 MB / 350.1 MB Notification: Performance of Templates: time 0.005793/0.142, allocations: 2.526 MB / 420 MB, free: 3.352 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)