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.0008656/0.0008656, allocations: 92.22 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.0009212/0.0009212, allocations: 173 kB / 23.03 MB, free: 1.543 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.912/0.912, allocations: 177.1 MB / 203.4 MB, free: 5.625 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.009908/0.009908, allocations: 2.254 MB / 262.2 MB, free: 10.78 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.343e-06/1.343e-06, allocations: 0 / 332.8 MB, free: 16.43 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.503e-05/1.637e-05, allocations: 4.562 kB / 332.8 MB, free: 16.43 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.XMLTest): time 0.00185/0.001866, allocations: 1.713 MB / 334.5 MB, free: 14.7 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001464/0.00333, allocations: 1.745 MB / 336.3 MB, free: 12.94 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.577e-05/0.003396, allocations: 3.938 kB / 336.3 MB, free: 12.94 MB / 266.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.0003371/0.003733, allocations: 39.72 kB / 336.3 MB, free: 12.9 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002907/0.004024, allocations: 131.3 kB / 336.4 MB, free: 12.77 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001521/0.004176, allocations: 79.77 kB / 336.5 MB, free: 12.69 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001139/0.00429, allocations: 91.7 kB / 336.6 MB, free: 12.6 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.202e-05/0.004372, allocations: 12.17 kB / 336.6 MB, free: 12.59 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.394e-05/0.004446, allocations: 55.88 kB / 336.7 MB, free: 12.53 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001167/0.004562, allocations: 23.92 kB / 336.7 MB, free: 12.51 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.676e-05/0.004579, allocations: 4 kB / 336.7 MB, free: 12.5 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001921/0.004771, allocations: 195.6 kB / 336.9 MB, free: 12.31 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.074e-05/0.004822, allocations: 19.92 kB / 336.9 MB, free: 12.29 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.014e-05/0.004862, allocations: 23.91 kB / 336.9 MB, free: 12.27 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002439/0.005106, allocations: 231.4 kB / 337.2 MB, free: 12.04 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.405e-06/0.005108, allocations: 0 / 337.2 MB, free: 12.04 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.01e-07/0.005109, allocations: 3.938 kB / 337.2 MB, free: 12.04 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.398e-06/0.005113, allocations: 4 kB / 337.2 MB, free: 12.04 MB / 266.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.0004589/0.005572, allocations: 493.4 kB / 337.6 MB, free: 11.51 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.687e-05/0.005609, allocations: 8.031 kB / 337.7 MB, free: 11.5 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.024e-05/0.00566, allocations: 16.89 kB / 337.7 MB, free: 11.49 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000144/0.005803, allocations: 136.5 kB / 337.8 MB, free: 11.33 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.094e-05/0.005814, allocations: 8.312 kB / 337.8 MB, free: 11.32 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.28e-05/0.005827, allocations: 8.375 kB / 337.8 MB, free: 11.31 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001408/0.005968, allocations: 123.9 kB / 337.9 MB, free: 11.17 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.745e-06/0.005976, allocations: 3.938 kB / 337.9 MB, free: 11.16 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.082e-05/0.005987, allocations: 8 kB / 337.9 MB, free: 11.16 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.893e-06/0.005993, allocations: 0 / 337.9 MB, free: 11.16 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.14e-05/0.006045, allocations: 53.67 kB / 338 MB, free: 11.1 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002577/0.006303, allocations: 295.4 kB / 338.3 MB, free: 10.77 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001528/0.006455, allocations: 123.8 kB / 338.4 MB, free: 10.62 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.902e-05/0.006504, allocations: 65.09 kB / 338.5 MB, free: 10.54 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.152e-05/0.006516, allocations: 4 kB / 338.5 MB, free: 10.54 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000108/0.006624, allocations: 155.8 kB / 338.6 MB, free: 10.35 MB / 266.7 MB Notification: Performance of pre-optimization done (n=11): time 1.042e-06/0.006625, allocations: 0 / 338.6 MB, free: 10.35 MB / 266.7 MB Notification: Performance of matching and sorting (n=11): time 0.0002525/0.006877, allocations: 230.8 kB / 338.9 MB, free: 10.1 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.827e-05/0.006906, allocations: 110.8 kB / 339 MB, free: 9.965 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.075e-05/0.006976, allocations: 193.1 kB / 339.2 MB, free: 9.762 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 8.166e-06/0.006985, allocations: 29.7 kB / 339.2 MB, free: 9.727 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.627e-05/0.007011, allocations: 134.9 kB / 339.3 MB, free: 9.59 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.421e-05/0.007035, allocations: 35.67 kB / 339.3 MB, free: 9.555 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.144e-05/0.007067, allocations: 27.38 kB / 339.4 MB, free: 9.52 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.471e-05/0.007111, allocations: 0.4962 MB / 339.9 MB, free: 9.012 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.905e-05/0.00714, allocations: 45.69 kB / 339.9 MB, free: 8.961 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.16e-05/0.007172, allocations: 69.06 kB / 340 MB, free: 8.879 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.437e-05/0.007236, allocations: 118.7 kB / 340.1 MB, free: 8.742 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.063e-06/0.007238, allocations: 7.938 kB / 340.1 MB, free: 8.734 MB / 266.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001223/0.007361, allocations: 180.8 kB / 340.3 MB, free: 8.539 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.112e-05/0.007382, allocations: 41.69 kB / 340.3 MB, free: 8.492 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.947e-06/0.007386, allocations: 0 / 340.3 MB, free: 8.492 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.182e-05/0.007398, allocations: 0 / 340.3 MB, free: 8.492 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.115e-05/0.007449, allocations: 19.92 kB / 340.3 MB, free: 8.473 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.558e-06/0.007453, allocations: 0 / 340.3 MB, free: 8.473 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.48e-05/0.007488, allocations: 4 kB / 340.3 MB, free: 8.469 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.694e-06/0.007496, allocations: 4 kB / 340.4 MB, free: 8.465 MB / 266.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 5.615e-05/0.007552, allocations: 210.2 kB / 340.6 MB, free: 8.242 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.761e-05/0.00757, allocations: 15.95 kB / 340.6 MB, free: 8.227 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.812e-05/0.007588, allocations: 8.438 kB / 340.6 MB, free: 8.215 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.313e-06/0.007589, allocations: 0 / 340.6 MB, free: 8.215 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.076e-06/0.007592, allocations: 4 kB / 340.6 MB, free: 8.211 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.466e-06/0.007596, allocations: 3.984 kB / 340.6 MB, free: 8.207 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.69e-05/0.007662, allocations: 148.5 kB / 340.7 MB, free: 8.027 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.007664, allocations: 3.938 kB / 340.7 MB, free: 8.023 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.162e-05/0.007686, allocations: 11.94 kB / 340.7 MB, free: 8.012 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.007687, allocations: 0 / 340.7 MB, free: 8.012 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.059e-05/0.007698, allocations: 12 kB / 340.8 MB, free: 8 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.51e-07/0.007699, allocations: 4 kB / 340.8 MB, free: 7.996 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.007701, allocations: 4 kB / 340.8 MB, free: 7.992 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001587/0.007859, allocations: 247.8 kB / 341 MB, free: 7.711 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.489e-05/0.007874, allocations: 15.88 kB / 341 MB, free: 7.695 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.106e-05/0.007895, allocations: 8 kB / 341 MB, free: 7.688 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.737e-05/0.007923, allocations: 4 kB / 341 MB, free: 7.684 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.037e-05/0.007953, allocations: 3.984 kB / 341 MB, free: 7.68 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.294e-05/0.007966, allocations: 4 kB / 341 MB, free: 7.676 MB / 266.7 MB Notification: Performance of sorting global known variables: time 3.42e-05/0.008, allocations: 151.1 kB / 341.2 MB, free: 7.527 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.008, allocations: 0 / 341.2 MB, free: 7.527 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000192/0.008192, allocations: 79.73 kB / 341.3 MB, free: 7.449 MB / 266.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.0009016/0.009094, allocations: 466.1 kB / 341.7 MB, free: 7.105 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001604/0.009254, allocations: 190.4 kB / 341.9 MB, free: 6.891 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.313e-06/0.009255, allocations: 3.938 kB / 341.9 MB, free: 6.887 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 5.089e-05/0.009306, allocations: 128.8 kB / 342 MB, free: 6.738 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001789/0.009485, allocations: 23.92 kB / 342.1 MB, free: 6.715 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003929/0.009878, allocations: 257.7 kB / 342.3 MB, free: 6.426 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.906e-05/0.009907, allocations: 64.16 kB / 342.4 MB, free: 6.344 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.656e-05/0.009934, allocations: 15.92 kB / 342.4 MB, free: 6.328 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.781e-05/0.009962, allocations: 12.5 kB / 342.4 MB, free: 6.316 MB / 266.7 MB Notification: Performance of SimCode: time 1.143e-06/0.009963, allocations: 0 / 342.4 MB, free: 6.316 MB / 266.7 MB Notification: Performance of Templates: time 0.004226/0.01419, allocations: 2.868 MB / 345.3 MB, free: 3.469 MB / 266.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.6507523297332227]