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.001349/0.001349, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001558/0.001558, allocations: 192.8 kB / 16.13 MB, free: 6.707 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.384/1.384, allocations: 222.9 MB / 239.8 MB, free: 4.555 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.4/package.mo): time 0.1325/0.1325, allocations: 2.931 MB / 292.9 MB, free: 3.188 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00119/0.00119, allocations: 67.88 kB / 354 MB, free: 4.156 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09618/0.09738, allocations: 50.33 MB / 404.3 MB, free: 1.781 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.XMLTest): time 0.003017/0.1004, allocations: 1.726 MB / 406.1 MB, free: 48 kB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00231/0.1028, allocations: 1.6 MB / 407.7 MB, free: 14.44 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.311e-05/0.1029, allocations: 0 / 407.7 MB, free: 14.44 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003155/0.1032, allocations: 35.86 kB / 407.7 MB, free: 14.4 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000324/0.1036, allocations: 107.6 kB / 407.8 MB, free: 14.3 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002065/0.1038, allocations: 63.94 kB / 407.9 MB, free: 14.23 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000108/0.1039, allocations: 75.78 kB / 407.9 MB, free: 14.16 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.4e-05/0.104, allocations: 12.2 kB / 407.9 MB, free: 14.14 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.261e-05/0.1041, allocations: 43.78 kB / 408 MB, free: 14.1 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001351/0.1042, allocations: 27.86 kB / 408 MB, free: 14.07 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.792e-05/0.1042, allocations: 4 kB / 408 MB, free: 14.07 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002626/0.1045, allocations: 199.7 kB / 408.2 MB, free: 13.88 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.914e-05/0.1046, allocations: 11.94 kB / 408.2 MB, free: 13.86 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.421e-05/0.1046, allocations: 39.8 kB / 408.3 MB, free: 13.82 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003879/0.105, allocations: 227.7 kB / 408.5 MB, free: 13.6 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.105, allocations: 0 / 408.5 MB, free: 13.6 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.31e-07/0.105, allocations: 0 / 408.5 MB, free: 13.6 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.557e-06/0.105, allocations: 0 / 408.5 MB, free: 13.6 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.0005378/0.1056, allocations: 460.8 kB / 408.9 MB, free: 13.1 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.127e-05/0.1056, allocations: 8.031 kB / 408.9 MB, free: 13.09 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.393e-05/0.1057, allocations: 12.84 kB / 409 MB, free: 13.08 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000179/0.1059, allocations: 203 kB / 409.1 MB, free: 12.84 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.459e-05/0.1059, allocations: 4.375 kB / 409.2 MB, free: 12.84 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.033e-05/0.1059, allocations: 12.06 kB / 409.2 MB, free: 12.83 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002279/0.1061, allocations: 91.38 kB / 409.3 MB, free: 12.73 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.137e-06/0.1062, allocations: 0 / 409.3 MB, free: 12.73 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.606e-05/0.1062, allocations: 4 kB / 409.3 MB, free: 12.72 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.099e-06/0.1062, allocations: 0 / 409.3 MB, free: 12.72 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001373/0.1063, allocations: 51.97 kB / 409.3 MB, free: 12.67 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000393/0.1067, allocations: 301.7 kB / 409.6 MB, free: 12.32 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002534/0.107, allocations: 105.2 kB / 409.7 MB, free: 12.2 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001096/0.1071, allocations: 65.73 kB / 409.8 MB, free: 12.13 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.292e-05/0.1072, allocations: 0 / 409.8 MB, free: 12.13 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002842/0.1074, allocations: 134.9 kB / 409.9 MB, free: 11.98 MB / 350.1 MB Notification: Performance of pre-optimization done (n=11): time 9.92e-07/0.1075, allocations: 0 / 409.9 MB, free: 11.98 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004637/0.1079, allocations: 227.2 kB / 410.1 MB, free: 11.74 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.756e-05/0.108, allocations: 110.8 kB / 410.2 MB, free: 11.61 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000158/0.1082, allocations: 145.7 kB / 410.4 MB, free: 11.46 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.499e-05/0.1082, allocations: 25.7 kB / 410.4 MB, free: 11.43 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001405/0.1083, allocations: 92.14 kB / 410.5 MB, free: 11.33 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.441e-05/0.1084, allocations: 31.56 kB / 410.5 MB, free: 11.3 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.358e-05/0.1084, allocations: 25.66 kB / 410.5 MB, free: 11.27 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002025/0.1086, allocations: 326.8 kB / 410.9 MB, free: 10.94 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.56e-05/0.1087, allocations: 43.92 kB / 410.9 MB, free: 10.9 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001244/0.1089, allocations: 49.94 kB / 411 MB, free: 10.84 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001793/0.109, allocations: 145.3 kB / 411.1 MB, free: 10.68 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.1091, allocations: 0 / 411.1 MB, free: 10.68 MB / 350.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002823/0.1093, allocations: 191.2 kB / 411.3 MB, free: 10.48 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.655e-05/0.1094, allocations: 37.7 kB / 411.3 MB, free: 10.44 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.1094, allocations: 7.984 kB / 411.3 MB, free: 10.43 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.105e-05/0.1094, allocations: 0 / 411.3 MB, free: 10.43 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.121e-05/0.1095, allocations: 15.94 kB / 411.3 MB, free: 10.42 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.233e-06/0.1095, allocations: 4.062 kB / 411.3 MB, free: 10.41 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.614e-05/0.1096, allocations: 7.906 kB / 411.4 MB, free: 10.41 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.668e-05/0.1096, allocations: 15.92 kB / 411.4 MB, free: 10.39 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.0001058/0.1097, allocations: 155.5 kB / 411.5 MB, free: 10.22 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.846e-05/0.1097, allocations: 15.89 kB / 411.5 MB, free: 10.21 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.435e-05/0.1098, allocations: 8.375 kB / 411.5 MB, free: 10.2 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.976e-06/0.1098, allocations: 8 kB / 411.6 MB, free: 10.19 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.1098, allocations: 0 / 411.6 MB, free: 10.19 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.305e-06/0.1098, allocations: 0 / 411.6 MB, free: 10.19 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001455/0.1099, allocations: 205.5 kB / 411.8 MB, free: 9.941 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.1099, allocations: 0 / 411.8 MB, free: 9.941 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.736e-05/0.11, allocations: 11.98 kB / 411.8 MB, free: 9.93 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.11, allocations: 0 / 411.8 MB, free: 9.93 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.343e-05/0.11, allocations: 4 kB / 411.8 MB, free: 9.926 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.442e-06/0.11, allocations: 0 / 411.8 MB, free: 9.926 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.11, allocations: 0 / 411.8 MB, free: 9.926 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000334/0.1104, allocations: 255.4 kB / 412 MB, free: 9.648 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.548e-05/0.1104, allocations: 92.94 kB / 412.1 MB, free: 9.539 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.938e-05/0.1105, allocations: 8 kB / 412.1 MB, free: 9.531 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.817e-05/0.1105, allocations: 4 kB / 412.1 MB, free: 9.527 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.614e-05/0.1106, allocations: 7.984 kB / 412.1 MB, free: 9.52 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2e-05/0.1106, allocations: 7.938 kB / 412.1 MB, free: 9.512 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.833e-05/0.1107, allocations: 118 kB / 412.3 MB, free: 9.398 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1107, allocations: 0 / 412.3 MB, free: 9.398 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003375/0.1111, allocations: 75.98 kB / 412.3 MB, free: 9.324 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.0009902/0.1121, allocations: 419.8 kB / 412.7 MB, free: 9.016 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003366/0.1124, allocations: 195.3 kB / 412.9 MB, free: 8.812 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.1124, allocations: 0 / 412.9 MB, free: 8.812 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002671/0.1127, allocations: 139.3 kB / 413.1 MB, free: 8.664 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000232/0.1129, allocations: 15.92 kB / 413.1 MB, free: 8.648 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004524/0.1134, allocations: 257.1 kB / 413.3 MB, free: 8.363 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002967/0.1137, allocations: 0.7043 MB / 414 MB, free: 7.633 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.616e-05/0.1137, allocations: 4 kB / 414 MB, free: 7.629 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.342e-05/0.1138, allocations: 15.42 kB / 414.1 MB, free: 7.613 MB / 350.1 MB Notification: Performance of SimCode: time 3.61e-07/0.1138, allocations: 4 kB / 414.1 MB, free: 7.609 MB / 350.1 MB Notification: Performance of Templates: time 0.005358/0.1192, allocations: 2.433 MB / 416.5 MB, free: 5.188 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)