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.001696/0.001696, allocations: 84.73 kB / 19.44 MB, free: 348 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.001927/0.001927, allocations: 161.7 kB / 22.75 MB, free: 1.676 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 1.583/1.583, allocations: 177.1 MB / 203.1 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 178] 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.01763/0.01763, allocations: 2.259 MB / 261.8 MB, free: 10.8 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 2.014e-06/2.014e-06, allocations: 0 / 332.1 MB, free: 16.78 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.093e-05/4.294e-05, allocations: 4.562 kB / 332.1 MB, free: 16.78 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.XMLTestInnerOuter): time 0.003232/0.003275, allocations: 1.678 MB / 333.7 MB, free: 15.08 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002525/0.0058, allocations: 1.707 MB / 335.5 MB, free: 13.37 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001159/0.005916, allocations: 0 / 335.5 MB, free: 13.37 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.0004623/0.006378, allocations: 47.72 kB / 335.5 MB, free: 13.32 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004954/0.006874, allocations: 123.4 kB / 335.6 MB, free: 13.2 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003063/0.00718, allocations: 91.7 kB / 335.7 MB, free: 13.11 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.00016/0.00734, allocations: 99.7 kB / 335.8 MB, free: 13.01 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001086/0.007448, allocations: 16.16 kB / 335.8 MB, free: 12.99 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001138/0.007562, allocations: 55.89 kB / 335.9 MB, free: 12.94 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001506/0.007713, allocations: 27.91 kB / 335.9 MB, free: 12.91 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.385e-05/0.007737, allocations: 8 kB / 335.9 MB, free: 12.9 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002698/0.01044, allocations: 475.9 kB / 336.4 MB, free: 12.6 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 9.657e-05/0.01053, allocations: 23.91 kB / 336.4 MB, free: 12.58 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 8.984e-05/0.01062, allocations: 27.92 kB / 336.4 MB, free: 12.55 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005645/0.01119, allocations: 271.3 kB / 336.7 MB, free: 12.29 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.01119, allocations: 0 / 336.7 MB, free: 12.29 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.795e-06/0.01119, allocations: 3.938 kB / 336.7 MB, free: 12.28 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.314e-06/0.0112, allocations: 0 / 336.7 MB, free: 12.28 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.0006705/0.01187, allocations: 387.2 kB / 337.1 MB, free: 11.87 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.52e-05/0.01192, allocations: 8.031 kB / 337.1 MB, free: 11.86 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.153e-05/0.012, allocations: 24.83 kB / 337.1 MB, free: 11.84 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002109/0.01221, allocations: 133.7 kB / 337.2 MB, free: 11.68 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.626e-05/0.01223, allocations: 8.359 kB / 337.2 MB, free: 11.67 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.546e-05/0.01224, allocations: 4.375 kB / 337.3 MB, free: 11.67 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002487/0.01249, allocations: 141.5 kB / 337.4 MB, free: 11.51 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.249e-05/0.0125, allocations: 3.938 kB / 337.4 MB, free: 11.51 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.517e-05/0.01252, allocations: 4 kB / 337.4 MB, free: 11.5 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.42e-06/0.01252, allocations: 0 / 337.4 MB, free: 11.5 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000161/0.01268, allocations: 93.66 kB / 337.5 MB, free: 11.41 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003744/0.01306, allocations: 257.4 kB / 337.7 MB, free: 11.12 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002686/0.01333, allocations: 130.9 kB / 337.9 MB, free: 10.97 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000104/0.01343, allocations: 83.45 kB / 337.9 MB, free: 10.88 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.325e-05/0.01346, allocations: 3.984 kB / 338 MB, free: 10.87 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002212/0.01368, allocations: 184.4 kB / 338.1 MB, free: 10.66 MB / 266.7 MB Notification: Performance of pre-optimization done (n=11): time 1.183e-06/0.01368, allocations: 4 kB / 338.1 MB, free: 10.66 MB / 266.7 MB Notification: Performance of matching and sorting (n=11): time 0.0005399/0.01422, allocations: 314.6 kB / 338.4 MB, free: 10.32 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.654e-05/0.01426, allocations: 114.8 kB / 338.6 MB, free: 10.19 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001047/0.01437, allocations: 136.8 kB / 338.7 MB, free: 10.05 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.546e-05/0.01438, allocations: 33.7 kB / 338.7 MB, free: 10.01 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.58e-05/0.01442, allocations: 84.14 kB / 338.8 MB, free: 9.922 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.02e-05/0.01446, allocations: 35.8 kB / 338.8 MB, free: 9.887 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.359e-05/0.01451, allocations: 25.72 kB / 338.9 MB, free: 9.855 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.843e-05/0.01457, allocations: 318.8 kB / 339.2 MB, free: 9.535 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.45e-05/0.01467, allocations: 85.67 kB / 339.3 MB, free: 9.445 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001065/0.01477, allocations: 87.39 kB / 339.3 MB, free: 9.348 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001785/0.01495, allocations: 177.2 kB / 339.5 MB, free: 9.156 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.01495, allocations: 3.938 kB / 339.5 MB, free: 9.152 MB / 266.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003062/0.01526, allocations: 256.7 kB / 339.8 MB, free: 8.883 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.022e-05/0.0153, allocations: 41.69 kB / 339.8 MB, free: 8.836 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.043e-06/0.01531, allocations: 0 / 339.8 MB, free: 8.836 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.587e-05/0.01533, allocations: 0 / 339.8 MB, free: 8.836 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.894e-05/0.01541, allocations: 12 kB / 339.8 MB, free: 8.824 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.983e-06/0.01542, allocations: 4 kB / 339.8 MB, free: 8.82 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.291e-05/0.01549, allocations: 7.984 kB / 339.8 MB, free: 8.812 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.298e-05/0.01551, allocations: 7.938 kB / 339.8 MB, free: 8.805 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 (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 0.0001185/0.01562, allocations: 163.5 kB / 340 MB, free: 8.629 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.914e-05/0.01566, allocations: 15.95 kB / 340 MB, free: 8.613 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.107e-05/0.01569, allocations: 8.438 kB / 340 MB, free: 8.602 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.0157, allocations: 0 / 340 MB, free: 8.602 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.0157, allocations: 0 / 340 MB, free: 8.602 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.01571, allocations: 0 / 340 MB, free: 8.602 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000113/0.01582, allocations: 153.2 kB / 340.2 MB, free: 8.422 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.01582, allocations: 7.938 kB / 340.2 MB, free: 8.414 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.282e-05/0.01587, allocations: 11.98 kB / 340.2 MB, free: 8.402 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.01588, allocations: 4 kB / 340.2 MB, free: 8.398 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.537e-05/0.01589, allocations: 4 kB / 340.2 MB, free: 8.395 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.235e-06/0.01589, allocations: 4 kB / 340.2 MB, free: 8.391 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.552e-06/0.0159, allocations: 0 / 340.2 MB, free: 8.391 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000342/0.01624, allocations: 301.2 kB / 340.5 MB, free: 8.062 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.29e-05/0.01626, allocations: 11.89 kB / 340.5 MB, free: 8.051 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.065e-05/0.01629, allocations: 8 kB / 340.5 MB, free: 8.043 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.039e-05/0.01635, allocations: 11.98 kB / 340.5 MB, free: 8.031 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.077e-05/0.0164, allocations: 4 kB / 340.5 MB, free: 8.027 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.134e-05/0.01642, allocations: 8 kB / 340.5 MB, free: 8.02 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.114e-05/0.01649, allocations: 107.2 kB / 340.7 MB, free: 7.914 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01649, allocations: 0 / 340.7 MB, free: 7.914 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003461/0.01683, allocations: 75.8 kB / 340.7 MB, free: 7.84 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,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.00144/0.01827, allocations: 448.3 kB / 341.2 MB, free: 7.508 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004528/0.01873, allocations: 250.7 kB / 341.4 MB, free: 7.238 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.01873, allocations: 0 / 341.4 MB, free: 7.238 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001296/0.01886, allocations: 153 kB / 341.6 MB, free: 7.07 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000309/0.01917, allocations: 30.48 kB / 341.6 MB, free: 7.047 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005729/0.01974, allocations: 284.9 kB / 341.9 MB, free: 6.734 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.376e-05/0.0198, allocations: 93.05 kB / 342 MB, free: 6.621 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.487e-05/0.01985, allocations: 8 kB / 342 MB, free: 6.613 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.025e-05/0.01989, allocations: 20.48 kB / 342 MB, free: 6.594 MB / 266.7 MB Notification: Performance of SimCode: time 8.42e-07/0.01989, allocations: 0 / 342 MB, free: 6.594 MB / 266.7 MB Notification: Performance of Templates: time 0.006228/0.02612, allocations: 2.717 MB / 344.7 MB, free: 3.887 MB / 266.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=480 -lv LOG_STATS > ExternData_ExternData.Examples.XMLTestInnerOuter.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.0971541529288515]