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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009341/0.0009341, allocations: 93.06 kB / 19.65 MB, free: 276 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009784/0.0009784, allocations: 165 kB / 23.02 MB, free: 1.547 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9389/0.9389, allocations: 177.1 MB / 203.4 MB, free: 5.637 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.2.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.2.0/package.mo): time 0.009681/0.009681, allocations: 2.262 MB / 262.2 MB, free: 10.79 MB / 250.7 MB " [Timeout remaining time 180] Using package ExternData with version 3.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.2.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ExternData.Examples.XMLTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ExternData_ExternData.Examples.XMLTest") translateModel(ExternData.Examples.XMLTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ExternData_ExternData.Examples.XMLTest") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.133e-06/1.133e-06, allocations: 0 / 332.8 MB, free: 1.52 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.278e-05/1.392e-05, allocations: 4.844 kB / 332.8 MB, free: 1.516 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.XMLTest): time 0.00197/0.001984, allocations: 1.721 MB / 334.5 MB, free: 15.77 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.00162/0.003605, allocations: 1.765 MB / 336.3 MB, free: 14 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.606e-05/0.003671, allocations: 0 / 336.3 MB, free: 14 MB / 314.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.2.0/package.mo:238:3-267:14:writable] Warning: Pure function 'ExternData.XMLFile' contains a call to impure function 'ExternData.Types.ExternXMLFile.constructor'. Notification: Performance of NFTyping.typeComponents: time 0.0002998/0.00397, allocations: 39.72 kB / 336.3 MB, free: 13.96 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002999/0.00427, allocations: 127.3 kB / 336.4 MB, free: 13.84 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001713/0.004442, allocations: 83.77 kB / 336.5 MB, free: 13.75 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001105/0.004552, allocations: 91.7 kB / 336.6 MB, free: 13.66 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.975e-05/0.004652, allocations: 12.17 kB / 336.6 MB, free: 13.65 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.638e-05/0.004748, allocations: 55.81 kB / 336.7 MB, free: 13.59 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001076/0.004856, allocations: 31.91 kB / 336.7 MB, free: 13.56 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.829e-05/0.004874, allocations: 7.984 kB / 336.7 MB, free: 13.55 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002033/0.005077, allocations: 179.7 kB / 336.9 MB, free: 13.38 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 5.141e-05/0.005129, allocations: 19.92 kB / 336.9 MB, free: 13.36 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 4.204e-05/0.005171, allocations: 27.91 kB / 336.9 MB, free: 13.33 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002692/0.00544, allocations: 231.4 kB / 337.2 MB, free: 13.11 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.185e-06/0.005442, allocations: 3.938 kB / 337.2 MB, free: 13.1 MB / 314.7 MB Notification: Performance of FrontEnd: time 8.22e-07/0.005443, allocations: 7.938 kB / 337.2 MB, free: 13.09 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.166e-06/0.005446, allocations: 0 / 337.2 MB, free: 13.09 MB / 314.7 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.0004504/0.005897, allocations: 485.5 kB / 337.6 MB, free: 12.58 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.014e-05/0.005927, allocations: 8.031 kB / 337.6 MB, free: 12.57 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.48e-05/0.005972, allocations: 12.89 kB / 337.7 MB, free: 12.56 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001475/0.006119, allocations: 140.5 kB / 337.8 MB, free: 12.39 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.06e-05/0.00613, allocations: 4.375 kB / 337.8 MB, free: 12.39 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.446e-05/0.006144, allocations: 8.312 kB / 337.8 MB, free: 12.38 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000161/0.006305, allocations: 120 kB / 337.9 MB, free: 12.24 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.081e-05/0.006316, allocations: 19.88 kB / 337.9 MB, free: 12.22 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.307e-05/0.006329, allocations: 4 kB / 337.9 MB, free: 12.22 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.855e-06/0.006337, allocations: 0 / 337.9 MB, free: 12.22 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.651e-05/0.006393, allocations: 53.67 kB / 338 MB, free: 12.16 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003014/0.006695, allocations: 295.4 kB / 338.3 MB, free: 11.83 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000165/0.00686, allocations: 123.8 kB / 338.4 MB, free: 11.68 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.177e-05/0.006911, allocations: 65.11 kB / 338.5 MB, free: 11.6 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.515e-05/0.006927, allocations: 0 / 338.5 MB, free: 11.6 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001263/0.007053, allocations: 155.8 kB / 338.6 MB, free: 11.41 MB / 314.7 MB Notification: Performance of pre-optimization done (n=11): time 8.61e-07/0.007054, allocations: 4 kB / 338.6 MB, free: 11.41 MB / 314.7 MB Notification: Performance of matching and sorting (n=11): time 0.0002655/0.007319, allocations: 230.8 kB / 338.9 MB, free: 11.16 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.389e-05/0.007363, allocations: 114.8 kB / 339 MB, free: 11.02 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.683e-05/0.00745, allocations: 189.1 kB / 339.2 MB, free: 10.82 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.134e-05/0.007461, allocations: 25.7 kB / 339.2 MB, free: 10.79 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.68e-05/0.007508, allocations: 142.8 kB / 339.3 MB, free: 10.65 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.769e-05/0.007536, allocations: 31.73 kB / 339.3 MB, free: 10.62 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.578e-05/0.007572, allocations: 31.38 kB / 339.4 MB, free: 10.58 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.752e-05/0.007669, allocations: 0.4884 MB / 339.9 MB, free: 10.08 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.849e-05/0.007708, allocations: 49.69 kB / 339.9 MB, free: 10.02 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.309e-05/0.007751, allocations: 72.94 kB / 340 MB, free: 9.938 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.964e-05/0.00783, allocations: 122.7 kB / 340.1 MB, free: 9.797 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.075e-06/0.007833, allocations: 3.938 kB / 340.1 MB, free: 9.793 MB / 314.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001471/0.007981, allocations: 177 kB / 340.3 MB, free: 9.602 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.817e-05/0.008009, allocations: 41.69 kB / 340.3 MB, free: 9.555 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.008013, allocations: 0 / 340.3 MB, free: 9.555 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.434e-05/0.008027, allocations: 0 / 340.3 MB, free: 9.555 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.552e-05/0.008073, allocations: 15.98 kB / 340.3 MB, free: 9.539 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.669e-06/0.008078, allocations: 0 / 340.3 MB, free: 9.539 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.471e-05/0.008112, allocations: 4 kB / 340.3 MB, free: 9.535 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.096e-06/0.00812, allocations: 4 kB / 340.3 MB, free: 9.531 MB / 314.7 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 7.901e-05/0.008199, allocations: 206.1 kB / 340.5 MB, free: 9.312 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.005e-05/0.008219, allocations: 15.95 kB / 340.6 MB, free: 9.297 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.413e-05/0.008244, allocations: 8.438 kB / 340.6 MB, free: 9.289 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/0.008246, allocations: 4 kB / 340.6 MB, free: 9.285 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.008249, allocations: 0 / 340.6 MB, free: 9.285 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.008253, allocations: 3.984 kB / 340.6 MB, free: 9.281 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.216e-05/0.008345, allocations: 152.5 kB / 340.7 MB, free: 9.098 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.008347, allocations: 3.938 kB / 340.7 MB, free: 9.094 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.379e-05/0.008371, allocations: 8 kB / 340.7 MB, free: 9.086 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.383e-06/0.008372, allocations: 0 / 340.7 MB, free: 9.086 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.757e-06/0.008381, allocations: 8 kB / 340.7 MB, free: 9.078 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.008383, allocations: 3.984 kB / 340.8 MB, free: 9.074 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.008384, allocations: 4 kB / 340.8 MB, free: 9.07 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002002/0.008584, allocations: 251.3 kB / 341 MB, free: 8.785 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.541e-05/0.0086, allocations: 19.89 kB / 341 MB, free: 8.766 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.052e-05/0.00862, allocations: 4 kB / 341 MB, free: 8.762 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.786e-05/0.008648, allocations: 4 kB / 341 MB, free: 8.758 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.237e-05/0.00868, allocations: 7.984 kB / 341 MB, free: 8.75 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.177e-05/0.008692, allocations: 8 kB / 341 MB, free: 8.742 MB / 314.7 MB Notification: Performance of sorting global known variables: time 4.831e-05/0.008741, allocations: 139.2 kB / 341.2 MB, free: 8.605 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008741, allocations: 0 / 341.2 MB, free: 8.605 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002123/0.008953, allocations: 83.73 kB / 341.3 MB, free: 8.523 MB / 314.7 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.0008754/0.009828, allocations: 469.9 kB / 341.7 MB, free: 8.172 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001808/0.01001, allocations: 190.4 kB / 341.9 MB, free: 7.957 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.01001, allocations: 0 / 341.9 MB, free: 7.957 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 6.695e-05/0.01008, allocations: 132.7 kB / 342 MB, free: 7.805 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001612/0.01024, allocations: 27.92 kB / 342.1 MB, free: 7.777 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003236/0.01056, allocations: 244.2 kB / 342.3 MB, free: 7.5 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.164e-05/0.01059, allocations: 68.16 kB / 342.4 MB, free: 7.414 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 2.459e-05/0.01062, allocations: 7.984 kB / 342.4 MB, free: 7.406 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.527e-05/0.01064, allocations: 12.5 kB / 342.4 MB, free: 7.395 MB / 314.7 MB Notification: Performance of SimCode: time 5.51e-07/0.01064, allocations: 0 / 342.4 MB, free: 7.395 MB / 314.7 MB Notification: Performance of Templates: time 0.003798/0.01444, allocations: 2.614 MB / 345 MB, free: 4.797 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ExternData_ExternData.Examples.XMLTest.makefile [Timeout 660] (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=240 -lv LOG_STATS > ExternData_ExternData.Examples.XMLTest.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.951849373988807]