Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ExternData_ExternData.Examples.XMLTest.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.XMLTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ExternData_ExternData.Examples.XMLTest") translateModel(ExternData.Examples.XMLTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ExternData_ExternData.Examples.XMLTest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007707/0.000771, allocations: 97.64 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.004938/0.004938, allocations: 170.1 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.397/1.397, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.4/package.mo): time 0.1561/0.1561, allocations: 2.937 MB / 294.4 MB, free: 3.934 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003109/0.0003108, allocations: 8 kB / 356.5 MB, free: 3.383 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09933/0.09965, allocations: 51.34 MB / 407.8 MB, free: 15.98 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.XMLTest): time 0.002033/0.1017, allocations: 1.388 MB / 409.2 MB, free: 14.59 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002623/0.1044, allocations: 1.569 MB / 410.8 MB, free: 13.01 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.443e-05/0.1045, allocations: 0 / 410.8 MB, free: 13.01 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002966/0.1048, allocations: 43.84 kB / 410.8 MB, free: 12.97 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003088/0.1051, allocations: 91.66 kB / 410.9 MB, free: 12.88 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003054/0.1054, allocations: 63.88 kB / 411 MB, free: 12.82 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001321/0.1056, allocations: 87.69 kB / 411.1 MB, free: 12.73 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001021/0.1057, allocations: 16.22 kB / 411.1 MB, free: 12.71 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.877e-05/0.1058, allocations: 31.86 kB / 411.1 MB, free: 12.68 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001654/0.1059, allocations: 35.83 kB / 411.1 MB, free: 12.64 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.697e-05/0.1059, allocations: 4 kB / 411.1 MB, free: 12.64 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002903/0.1062, allocations: 191.7 kB / 411.3 MB, free: 12.45 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.816e-05/0.1063, allocations: 19.92 kB / 411.3 MB, free: 12.43 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.319e-05/0.1064, allocations: 57.5 kB / 411.4 MB, free: 12.37 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003108/0.1067, allocations: 227.7 kB / 411.6 MB, free: 12.15 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.853e-06/0.1067, allocations: 0 / 411.6 MB, free: 12.15 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.1067, allocations: 7.938 kB / 411.6 MB, free: 12.14 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.27e-06/0.1067, allocations: 0 / 411.6 MB, free: 12.14 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.0005713/0.1073, allocations: 440.9 kB / 412.1 MB, free: 11.66 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.628e-05/0.1074, allocations: 12.03 kB / 412.1 MB, free: 11.64 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.085e-05/0.1074, allocations: 8.844 kB / 412.1 MB, free: 11.64 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002515/0.1077, allocations: 192.2 kB / 412.3 MB, free: 11.41 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.296e-05/0.1077, allocations: 4.359 kB / 412.3 MB, free: 11.41 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.852e-05/0.1077, allocations: 12.12 kB / 412.3 MB, free: 11.39 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002079/0.1079, allocations: 103.3 kB / 412.4 MB, free: 11.28 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.055e-05/0.1079, allocations: 3.938 kB / 412.4 MB, free: 11.28 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.252e-05/0.108, allocations: 0 / 412.4 MB, free: 11.28 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.073e-06/0.108, allocations: 4 kB / 412.4 MB, free: 11.27 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001934/0.1082, allocations: 51.97 kB / 412.4 MB, free: 11.22 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004055/0.1086, allocations: 317.6 kB / 412.8 MB, free: 10.86 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002755/0.1089, allocations: 101.2 kB / 412.9 MB, free: 10.74 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001093/0.109, allocations: 61.73 kB / 412.9 MB, free: 10.68 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.274e-05/0.109, allocations: 3.938 kB / 412.9 MB, free: 10.67 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002742/0.1093, allocations: 142.7 kB / 413.1 MB, free: 10.51 MB / 350.1 MB Notification: Performance of pre-optimization done (n=11): time 1.152e-06/0.1093, allocations: 0 / 413.1 MB, free: 10.51 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004822/0.1098, allocations: 235.2 kB / 413.3 MB, free: 10.27 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.097e-05/0.1099, allocations: 110.8 kB / 413.4 MB, free: 10.13 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001382/0.11, allocations: 140.3 kB / 413.5 MB, free: 9.988 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.032e-05/0.1101, allocations: 25.7 kB / 413.6 MB, free: 9.957 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.557e-05/0.1101, allocations: 96.12 kB / 413.7 MB, free: 9.859 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.276e-05/0.1102, allocations: 31.62 kB / 413.7 MB, free: 9.828 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.802e-05/0.1102, allocations: 17.72 kB / 413.7 MB, free: 9.805 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001346/0.1104, allocations: 326.8 kB / 414 MB, free: 9.477 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.88e-05/0.1105, allocations: 43.97 kB / 414.1 MB, free: 9.434 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.397e-05/0.1105, allocations: 49.69 kB / 414.1 MB, free: 9.379 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002061/0.1108, allocations: 157 kB / 414.3 MB, free: 9.207 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.1108, allocations: 0 / 414.3 MB, free: 9.207 MB / 350.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002976/0.1111, allocations: 191.1 kB / 414.5 MB, free: 9.008 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.613e-05/0.1111, allocations: 43.41 kB / 414.5 MB, free: 8.961 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/0.1111, allocations: 0 / 414.5 MB, free: 8.961 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.687e-05/0.1112, allocations: 0 / 414.5 MB, free: 8.961 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.405e-05/0.1112, allocations: 15.98 kB / 414.5 MB, free: 8.945 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.893e-06/0.1112, allocations: 0 / 414.5 MB, free: 8.945 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.756e-05/0.1113, allocations: 12 kB / 414.5 MB, free: 8.934 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.257e-05/0.1113, allocations: 7.938 kB / 414.5 MB, free: 8.926 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 (timeTable.nextEventScaled,timeTable.nextEvent,$PRE.timeTable.nextEvent,timeTable.last,timeTable.b,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.0001276/0.1115, allocations: 155.5 kB / 414.7 MB, free: 8.758 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.352e-05/0.1115, allocations: 15.78 kB / 414.7 MB, free: 8.742 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.065e-05/0.1116, allocations: 16.31 kB / 414.7 MB, free: 8.727 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.895e-06/0.1116, allocations: 336 / 414.7 MB, free: 8.727 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.602e-06/0.1116, allocations: 3.984 kB / 414.7 MB, free: 8.723 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.1116, allocations: 4 kB / 414.7 MB, free: 8.719 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001603/0.1118, allocations: 205.5 kB / 414.9 MB, free: 8.469 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.1118, allocations: 0 / 414.9 MB, free: 8.469 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.306e-05/0.1118, allocations: 15.98 kB / 414.9 MB, free: 8.453 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/0.1118, allocations: 0 / 414.9 MB, free: 8.453 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.276e-05/0.1118, allocations: 4 kB / 414.9 MB, free: 8.449 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.505e-06/0.1118, allocations: 4 kB / 414.9 MB, free: 8.445 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.588e-06/0.1119, allocations: 3.984 kB / 414.9 MB, free: 8.441 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003403/0.1122, allocations: 251.5 kB / 415.2 MB, free: 8.168 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.602e-05/0.1123, allocations: 92.95 kB / 415.3 MB, free: 8.059 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.745e-05/0.1123, allocations: 7.984 kB / 415.3 MB, free: 8.051 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.77e-05/0.1124, allocations: 4 kB / 415.3 MB, free: 8.047 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.995e-05/0.1124, allocations: 8 kB / 415.3 MB, free: 8.039 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.004e-05/0.1124, allocations: 11.92 kB / 415.3 MB, free: 8.027 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.331e-05/0.1125, allocations: 103.3 kB / 415.4 MB, free: 7.926 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.472e-06/0.1125, allocations: 4 kB / 415.4 MB, free: 7.922 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003015/0.1128, allocations: 83.92 kB / 415.5 MB, free: 7.84 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,timeTable.a,timeTable.b,timeTable.last,timeTable.nextEvent,timeTable.nextEventScaled) * Number of discrete states: 6 (timeTable.nextEvent,timeTable.last,timeTable.nextEventScaled,timeTable.b,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.0008617/0.1137, allocations: 413.6 kB / 415.9 MB, free: 7.539 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003055/0.114, allocations: 199.3 kB / 416.1 MB, free: 7.332 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.114, allocations: 0 / 416.1 MB, free: 7.332 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001603/0.1142, allocations: 135.6 kB / 416.2 MB, free: 7.188 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002448/0.1144, allocations: 12.19 kB / 416.2 MB, free: 7.176 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004956/0.1149, allocations: 287.7 kB / 416.5 MB, free: 6.859 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002902/0.1152, allocations: 0.6965 MB / 417.2 MB, free: 6.137 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.781e-05/0.1153, allocations: 7.984 kB / 417.2 MB, free: 6.129 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.251e-05/0.1153, allocations: 19.44 kB / 417.2 MB, free: 6.109 MB / 350.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1153, allocations: 0 / 417.2 MB, free: 6.109 MB / 350.1 MB Notification: Performance of Templates: time 0.005602/0.1209, allocations: 2.42 MB / 419.7 MB, free: 3.703 MB / 350.1 MB make -j1 -f ExternData_ExternData.Examples.XMLTest.makefile (rm -f ExternData_ExternData.Examples.XMLTest.pipe ; mkfifo ExternData_ExternData.Examples.XMLTest.pipe ; head -c 1048576 < ExternData_ExternData.Examples.XMLTest.pipe >> ../files/ExternData_ExternData.Examples.XMLTest.sim & ./ExternData_ExternData.Examples.XMLTest -abortSlowSimulation -alarm=480 -lv LOG_STATS > ExternData_ExternData.Examples.XMLTest.pipe 2>&1)