Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ExternData_ExternData.Examples.XMLTestInnerOuter.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.0008216/0.0008216, allocations: 77.09 kB / 20.66 MB, free: 3.844 MB / 18.57 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.0009398/0.0009398, allocations: 169 kB / 24.06 MB, free: 456 kB / 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.9786/0.9786, allocations: 177.1 MB / 204.5 MB, free: 5.512 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.009209/0.009209, allocations: 2.269 MB / 263.3 MB, free: 10.63 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.XMLTestInnerOuter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ExternData_ExternData.Examples.XMLTestInnerOuter") translateModel(ExternData.Examples.XMLTestInnerOuter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ExternData_ExternData.Examples.XMLTestInnerOuter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.974e-06/1.974e-06, allocations: 0 / 334 MB, free: 1.242 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.019e-05/2.216e-05, allocations: 4.844 kB / 334 MB, free: 1.238 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.XMLTestInnerOuter): time 0.002348/0.002371, allocations: 1.725 MB / 335.7 MB, free: 15.49 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001655/0.004026, allocations: 1.757 MB / 337.5 MB, free: 13.73 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.003e-05/0.004086, allocations: 0 / 337.5 MB, free: 13.73 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.0002788/0.004365, allocations: 39.72 kB / 337.5 MB, free: 13.69 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003115/0.004676, allocations: 131.3 kB / 337.7 MB, free: 13.56 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001692/0.004845, allocations: 91.77 kB / 337.8 MB, free: 13.47 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001176/0.004963, allocations: 99.7 kB / 337.9 MB, free: 13.37 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.979e-05/0.005033, allocations: 12.17 kB / 337.9 MB, free: 13.36 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.674e-05/0.00511, allocations: 63.81 kB / 337.9 MB, free: 13.29 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001006/0.00521, allocations: 27.91 kB / 338 MB, free: 13.27 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.738e-05/0.005228, allocations: 8 kB / 338 MB, free: 13.26 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00021/0.005438, allocations: 187.7 kB / 338.1 MB, free: 13.07 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 5.311e-05/0.005491, allocations: 19.92 kB / 338.2 MB, free: 13.05 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 3.537e-05/0.005526, allocations: 31.91 kB / 338.2 MB, free: 13.02 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000254/0.00578, allocations: 239.4 kB / 338.4 MB, free: 12.79 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.543e-06/0.005782, allocations: 0 / 338.4 MB, free: 12.79 MB / 314.7 MB Notification: Performance of FrontEnd: time 4.71e-07/0.005782, allocations: 3.938 kB / 338.4 MB, free: 12.79 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.947e-06/0.005786, allocations: 0 / 338.4 MB, free: 12.79 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.0003917/0.006178, allocations: 493.4 kB / 338.9 MB, free: 12.26 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.706e-05/0.006205, allocations: 8.031 kB / 338.9 MB, free: 12.25 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.627e-05/0.006241, allocations: 16.89 kB / 338.9 MB, free: 12.24 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001373/0.006378, allocations: 144.5 kB / 339.1 MB, free: 12.07 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.247e-06/0.006388, allocations: 4.375 kB / 339.1 MB, free: 12.07 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.026e-05/0.006398, allocations: 8.375 kB / 339.1 MB, free: 12.06 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001409/0.006539, allocations: 123.9 kB / 339.2 MB, free: 11.91 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.582e-06/0.006545, allocations: 3.938 kB / 339.2 MB, free: 11.91 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.346e-06/0.006554, allocations: 0 / 339.2 MB, free: 11.91 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.671e-06/0.006559, allocations: 4 kB / 339.2 MB, free: 11.91 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.758e-05/0.006607, allocations: 57.61 kB / 339.3 MB, free: 11.84 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002333/0.00684, allocations: 280.1 kB / 339.6 MB, free: 11.54 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001348/0.006975, allocations: 119.9 kB / 339.7 MB, free: 11.39 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.039e-05/0.007015, allocations: 57.11 kB / 339.7 MB, free: 11.32 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.179e-05/0.007027, allocations: 7.938 kB / 339.7 MB, free: 11.31 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001175/0.007145, allocations: 155.8 kB / 339.9 MB, free: 11.12 MB / 314.7 MB Notification: Performance of pre-optimization done (n=11): time 7.82e-07/0.007145, allocations: 0 / 339.9 MB, free: 11.12 MB / 314.7 MB Notification: Performance of matching and sorting (n=11): time 0.0002352/0.007381, allocations: 230.6 kB / 340.1 MB, free: 10.88 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.54e-05/0.007436, allocations: 110.8 kB / 340.2 MB, free: 10.74 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.631e-05/0.007532, allocations: 192.8 kB / 340.4 MB, free: 10.54 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.4e-05/0.007546, allocations: 25.7 kB / 340.4 MB, free: 10.51 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.4e-05/0.0076, allocations: 142.8 kB / 340.6 MB, free: 10.36 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.175e-05/0.007632, allocations: 35.73 kB / 340.6 MB, free: 10.33 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.13e-05/0.007673, allocations: 31.36 kB / 340.6 MB, free: 10.29 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001367/0.00781, allocations: 0.4923 MB / 341.1 MB, free: 9.785 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.639e-05/0.007847, allocations: 41.69 kB / 341.2 MB, free: 9.738 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.022e-05/0.007887, allocations: 69.05 kB / 341.2 MB, free: 9.656 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.888e-05/0.007966, allocations: 118.6 kB / 341.4 MB, free: 9.52 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.007967, allocations: 0 / 341.4 MB, free: 9.52 MB / 314.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001503/0.008117, allocations: 176.9 kB / 341.5 MB, free: 9.328 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.991e-05/0.008147, allocations: 44.66 kB / 341.6 MB, free: 9.281 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.637e-06/0.008151, allocations: 0 / 341.6 MB, free: 9.281 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.885e-06/0.008159, allocations: 4 kB / 341.6 MB, free: 9.277 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.429e-05/0.008203, allocations: 15.98 kB / 341.6 MB, free: 9.262 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.415e-06/0.008206, allocations: 0 / 341.6 MB, free: 9.262 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.339e-05/0.008239, allocations: 4 kB / 341.6 MB, free: 9.258 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.494e-06/0.008246, allocations: 4 kB / 341.6 MB, free: 9.254 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 (component.timeTable.nextEventScaled,component.timeTable.nextEvent,$PRE.component.timeTable.nextEvent,component.timeTable.last,component.timeTable.b,component.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 8.643e-05/0.008333, allocations: 198.2 kB / 341.8 MB, free: 9.043 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.189e-05/0.008365, allocations: 23.89 kB / 341.8 MB, free: 9.02 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.908e-05/0.008384, allocations: 8.438 kB / 341.8 MB, free: 9.012 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.008386, allocations: 0 / 341.8 MB, free: 9.012 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.008389, allocations: 3.984 kB / 341.8 MB, free: 9.008 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.008391, allocations: 0 / 341.8 MB, free: 9.008 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.426e-05/0.008486, allocations: 145.1 kB / 342 MB, free: 8.84 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.008487, allocations: 4 kB / 342 MB, free: 8.836 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.472e-05/0.008512, allocations: 8 kB / 342 MB, free: 8.828 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.008514, allocations: 4 kB / 342 MB, free: 8.824 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.556e-06/0.008523, allocations: 7.922 kB / 342 MB, free: 8.816 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.42e-07/0.008524, allocations: 4 kB / 342 MB, free: 8.812 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.008525, allocations: 0 / 342 MB, free: 8.812 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001885/0.008713, allocations: 251.3 kB / 342.2 MB, free: 8.527 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.224e-05/0.008725, allocations: 3.953 kB / 342.2 MB, free: 8.523 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.949e-05/0.008745, allocations: 7.938 kB / 342.3 MB, free: 8.516 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.872e-05/0.008774, allocations: 12 kB / 342.3 MB, free: 8.504 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.303e-05/0.008797, allocations: 7.984 kB / 342.3 MB, free: 8.496 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.1e-05/0.008808, allocations: 4 kB / 342.3 MB, free: 8.492 MB / 314.7 MB Notification: Performance of sorting global known variables: time 4.87e-05/0.008856, allocations: 143.2 kB / 342.4 MB, free: 8.352 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008856, allocations: 0 / 342.4 MB, free: 8.352 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.000205/0.009061, allocations: 79.72 kB / 342.5 MB, free: 8.273 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,component.timeTable.a,component.timeTable.b,component.timeTable.last,component.timeTable.nextEvent,component.timeTable.nextEventScaled) * Number of discrete states: 6 (component.timeTable.nextEvent,component.timeTable.last,component.timeTable.nextEventScaled,component.timeTable.b,component.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.0008608/0.009922, allocations: 465.6 kB / 343 MB, free: 7.922 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001649/0.01009, allocations: 194.3 kB / 343.1 MB, free: 7.703 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.182e-06/0.01009, allocations: 0 / 343.1 MB, free: 7.703 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 6.363e-05/0.01015, allocations: 136.8 kB / 343.3 MB, free: 7.547 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001563/0.01031, allocations: 22.67 kB / 343.3 MB, free: 7.527 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003093/0.01062, allocations: 252.1 kB / 343.5 MB, free: 7.242 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.91e-05/0.01065, allocations: 63.34 kB / 343.6 MB, free: 7.16 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 2.537e-05/0.01067, allocations: 7.984 kB / 343.6 MB, free: 7.152 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.871e-05/0.01075, allocations: 94.19 kB / 343.7 MB, free: 7.059 MB / 314.7 MB Notification: Performance of SimCode: time 6.02e-07/0.01075, allocations: 4 kB / 343.7 MB, free: 7.055 MB / 314.7 MB Notification: Performance of Templates: time 0.004187/0.01494, allocations: 3.059 MB / 346.8 MB, free: 4.012 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ExternData_ExternData.Examples.XMLTestInnerOuter.makefile [Timeout 660] (rm -f ExternData_ExternData.Examples.XMLTestInnerOuter.pipe ; mkfifo ExternData_ExternData.Examples.XMLTestInnerOuter.pipe ; head -c 1048576 < ExternData_ExternData.Examples.XMLTestInnerOuter.pipe >> ../files/ExternData_ExternData.Examples.XMLTestInnerOuter.sim & ./ExternData_ExternData.Examples.XMLTestInnerOuter -abortSlowSimulation -alarm=240 -lv LOG_STATS > ExternData_ExternData.Examples.XMLTestInnerOuter.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.915969541296363]