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.5-master/package.mo", uses=false) Using package ExternData with version 3.0.5 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.5-master/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.001175/0.001175, 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.001241/0.001241, allocations: 191.1 kB / 16.13 MB, free: 6.648 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.348/1.348, allocations: 222.9 MB / 239.8 MB, free: 4.598 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.5-master/package.mo): time 0.1268/0.1268, allocations: 2.947 MB / 292.9 MB, free: 3.258 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001247/0.001247, allocations: 59.89 kB / 354 MB, free: 4.246 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09074/0.092, allocations: 50.34 MB / 404.3 MB, free: 1.859 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.XMLTest): time 0.002925/0.09497, allocations: 1.716 MB / 406 MB, free: 136 kB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002053/0.09704, allocations: 1.596 MB / 407.6 MB, free: 14.53 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.608e-05/0.09711, allocations: 0 / 407.6 MB, free: 14.53 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000248/0.09736, allocations: 43.78 kB / 407.7 MB, free: 14.48 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002536/0.09763, allocations: 99.53 kB / 407.8 MB, free: 14.39 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001991/0.09784, allocations: 59.94 kB / 407.8 MB, free: 14.33 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 9.575e-05/0.09795, allocations: 83.77 kB / 407.9 MB, free: 14.25 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.653e-05/0.09803, allocations: 16.2 kB / 407.9 MB, free: 14.23 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.444e-05/0.09811, allocations: 35.8 kB / 408 MB, free: 14.2 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001536/0.09827, allocations: 35.83 kB / 408 MB, free: 14.16 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.66e-05/0.09829, allocations: 4 kB / 408 MB, free: 14.16 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002554/0.09855, allocations: 195.8 kB / 408.2 MB, free: 13.96 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.006e-05/0.09861, allocations: 19.92 kB / 408.2 MB, free: 13.95 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.266e-05/0.09867, allocations: 31.8 kB / 408.3 MB, free: 13.91 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002949/0.09897, allocations: 231.7 kB / 408.5 MB, free: 13.69 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.09898, allocations: 0 / 408.5 MB, free: 13.69 MB / 350.1 MB Notification: Performance of FrontEnd: time 7.72e-07/0.099, allocations: 4 kB / 408.5 MB, free: 13.68 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.619e-06/0.09901, allocations: 0 / 408.5 MB, free: 13.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.0005429/0.09955, allocations: 448.9 kB / 408.9 MB, free: 13.19 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.423e-05/0.09959, allocations: 12.03 kB / 408.9 MB, free: 13.18 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.521e-05/0.09965, allocations: 8.844 kB / 408.9 MB, free: 13.17 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001879/0.09984, allocations: 200.1 kB / 409.1 MB, free: 12.94 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.226e-05/0.09986, allocations: 4.375 kB / 409.1 MB, free: 12.93 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.463e-05/0.09988, allocations: 12.06 kB / 409.2 MB, free: 12.92 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002006/0.1001, allocations: 103.3 kB / 409.3 MB, free: 12.81 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.623e-06/0.1001, allocations: 0 / 409.3 MB, free: 12.81 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.201e-05/0.1001, allocations: 0 / 409.3 MB, free: 12.81 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.918e-06/0.1001, allocations: 0 / 409.3 MB, free: 12.81 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001322/0.1003, allocations: 55.97 kB / 409.3 MB, free: 12.75 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003751/0.1006, allocations: 313.6 kB / 409.6 MB, free: 12.39 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002327/0.1009, allocations: 97.06 kB / 409.7 MB, free: 12.28 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001085/0.101, allocations: 65.83 kB / 409.8 MB, free: 12.21 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.005e-06/0.101, allocations: 0 / 409.8 MB, free: 12.21 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002285/0.1013, allocations: 134.8 kB / 409.9 MB, free: 12.05 MB / 350.1 MB Notification: Performance of pre-optimization done (n=11): time 1.092e-06/0.1013, allocations: 0 / 409.9 MB, free: 12.05 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004416/0.1017, allocations: 231.2 kB / 410.1 MB, free: 11.82 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.761e-05/0.1018, allocations: 110.8 kB / 410.2 MB, free: 11.68 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001154/0.1019, allocations: 147.9 kB / 410.4 MB, free: 11.53 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.568e-05/0.1019, allocations: 25.7 kB / 410.4 MB, free: 11.5 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.028e-05/0.102, allocations: 88.14 kB / 410.5 MB, free: 11.41 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.545e-05/0.102, allocations: 35.69 kB / 410.5 MB, free: 11.38 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.579e-05/0.1021, allocations: 29.7 kB / 410.6 MB, free: 11.34 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001039/0.1022, allocations: 322.8 kB / 410.9 MB, free: 11.02 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.215e-05/0.1023, allocations: 39.91 kB / 410.9 MB, free: 10.98 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.27e-05/0.1024, allocations: 53.7 kB / 411 MB, free: 10.92 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001765/0.1026, allocations: 141.1 kB / 411.1 MB, free: 10.76 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.1026, allocations: 0 / 411.1 MB, free: 10.76 MB / 350.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002819/0.1029, allocations: 191.2 kB / 411.3 MB, free: 10.56 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.444e-05/0.1029, allocations: 37.69 kB / 411.3 MB, free: 10.52 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.1029, allocations: 320 / 411.3 MB, free: 10.52 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.1e-05/0.1029, allocations: 4 kB / 411.3 MB, free: 10.52 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.788e-05/0.103, allocations: 15.94 kB / 411.4 MB, free: 10.5 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.519e-06/0.103, allocations: 0 / 411.4 MB, free: 10.5 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.94e-05/0.1031, allocations: 11.89 kB / 411.4 MB, free: 10.49 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.545e-05/0.1031, allocations: 19.86 kB / 411.4 MB, free: 10.47 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.0001139/0.1032, allocations: 151.5 kB / 411.5 MB, free: 10.3 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.862e-05/0.1033, allocations: 11.91 kB / 411.5 MB, free: 10.29 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.396e-05/0.1033, allocations: 16.31 kB / 411.6 MB, free: 10.28 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.1033, allocations: 0 / 411.6 MB, free: 10.28 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.1033, allocations: 4 kB / 411.6 MB, free: 10.27 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.464e-06/0.1033, allocations: 0 / 411.6 MB, free: 10.27 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001448/0.1035, allocations: 201.5 kB / 411.8 MB, free: 10.03 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.1035, allocations: 0 / 411.8 MB, free: 10.03 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.169e-05/0.1035, allocations: 11.98 kB / 411.8 MB, free: 10.02 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.893e-06/0.1035, allocations: 0 / 411.8 MB, free: 10.02 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.388e-05/0.1036, allocations: 4 kB / 411.8 MB, free: 10.01 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.1036, allocations: 0 / 411.8 MB, free: 10.01 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.1036, allocations: 0 / 411.8 MB, free: 10.01 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003389/0.1039, allocations: 255.4 kB / 412 MB, free: 9.734 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.398e-05/0.104, allocations: 92.94 kB / 412.1 MB, free: 9.625 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.828e-05/0.104, allocations: 4 kB / 412.1 MB, free: 9.621 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.978e-05/0.1041, allocations: 8.062 kB / 412.1 MB, free: 9.613 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.977e-05/0.1041, allocations: 11.98 kB / 412.1 MB, free: 9.602 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.752e-05/0.1041, allocations: 11.88 kB / 412.1 MB, free: 9.59 MB / 350.1 MB Notification: Performance of sorting global known variables: time 6.835e-05/0.1042, allocations: 105.1 kB / 412.3 MB, free: 9.488 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1042, allocations: 8 kB / 412.3 MB, free: 9.48 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002909/0.1045, allocations: 75.98 kB / 412.3 MB, free: 9.406 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.0008728/0.1054, allocations: 423.5 kB / 412.7 MB, free: 9.109 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002894/0.1057, allocations: 191.3 kB / 412.9 MB, free: 8.91 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.357e-06/0.1057, allocations: 4 kB / 412.9 MB, free: 8.906 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001564/0.1059, allocations: 143.2 kB / 413.1 MB, free: 8.754 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002168/0.1061, allocations: 19.08 kB / 413.1 MB, free: 8.738 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004211/0.1065, allocations: 261.1 kB / 413.4 MB, free: 8.449 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002154/0.1068, allocations: 0.6965 MB / 414 MB, free: 7.727 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.691e-05/0.1068, allocations: 7.984 kB / 414.1 MB, free: 7.719 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.065e-05/0.1068, allocations: 15.44 kB / 414.1 MB, free: 7.703 MB / 350.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1068, allocations: 0 / 414.1 MB, free: 7.703 MB / 350.1 MB Notification: Performance of Templates: time 0.005075/0.1119, allocations: 2.416 MB / 416.5 MB, free: 5.293 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)