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.00109/0.00109, allocations: 72.5 kB / 19.93 MB, free: 4.633 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.001179/0.001179, allocations: 177.9 kB / 23.21 MB, free: 1.352 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.8788/0.8788, allocations: 177.1 MB / 203.5 MB, free: 5.727 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.01324/0.01324, allocations: 2.243 MB / 262.2 MB, free: 10.98 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.513e-06/1.513e-06, allocations: 0 / 386.6 MB, free: 11.91 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.217e-05/2.368e-05, allocations: 6.219 kB / 386.6 MB, free: 11.9 MB / 362.7 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.XMLTestInnerOuter): time 0.00213/0.002154, allocations: 1.686 MB / 388.2 MB, free: 10.2 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.001633/0.003787, allocations: 1.702 MB / 389.9 MB, free: 8.492 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.437e-05/0.003851, allocations: 0 / 389.9 MB, free: 8.492 MB / 362.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.0003082/0.004159, allocations: 43.7 kB / 390 MB, free: 8.449 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003332/0.004492, allocations: 119.4 kB / 390.1 MB, free: 8.332 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002022/0.004695, allocations: 97.33 kB / 390.2 MB, free: 8.238 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001183/0.004813, allocations: 95.77 kB / 390.3 MB, free: 8.145 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.543e-05/0.004898, allocations: 16.22 kB / 390.3 MB, free: 8.125 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.209e-05/0.00498, allocations: 59.77 kB / 390.4 MB, free: 8.066 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001041/0.005085, allocations: 35.91 kB / 390.4 MB, free: 8.031 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.744e-05/0.005102, allocations: 8 kB / 390.4 MB, free: 8.023 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002211/0.005323, allocations: 191.7 kB / 390.6 MB, free: 7.836 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.324e-05/0.005376, allocations: 19.92 kB / 390.6 MB, free: 7.816 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.255e-05/0.005419, allocations: 23.92 kB / 390.6 MB, free: 7.793 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002928/0.005712, allocations: 283.2 kB / 390.9 MB, free: 7.516 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.743e-06/0.005713, allocations: 0 / 390.9 MB, free: 7.516 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.162e-06/0.005715, allocations: 0 / 390.9 MB, free: 7.516 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.847e-06/0.005718, allocations: 0 / 390.9 MB, free: 7.516 MB / 362.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.0004708/0.006189, allocations: 387.2 kB / 391.3 MB, free: 7.102 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.524e-05/0.006224, allocations: 16.03 kB / 391.3 MB, free: 7.086 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.053e-05/0.006265, allocations: 16.83 kB / 391.3 MB, free: 7.07 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001781/0.006443, allocations: 137.7 kB / 391.5 MB, free: 6.91 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.268e-05/0.006456, allocations: 384 / 391.5 MB, free: 6.91 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.45e-05/0.00647, allocations: 8.375 kB / 391.5 MB, free: 6.902 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002011/0.006671, allocations: 137.6 kB / 391.6 MB, free: 6.75 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.029e-05/0.006682, allocations: 3.938 kB / 391.6 MB, free: 6.746 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.052e-05/0.006692, allocations: 0 / 391.6 MB, free: 6.746 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.929e-06/0.006697, allocations: 4 kB / 391.6 MB, free: 6.742 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001103/0.006807, allocations: 93.67 kB / 391.7 MB, free: 6.645 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002876/0.007095, allocations: 253.4 kB / 392 MB, free: 6.363 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001903/0.007285, allocations: 134.9 kB / 392.1 MB, free: 6.207 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.145e-05/0.007357, allocations: 87.38 kB / 392.2 MB, free: 6.109 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.564e-05/0.007372, allocations: 4 kB / 392.2 MB, free: 6.105 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000166/0.007539, allocations: 172.5 kB / 392.3 MB, free: 5.906 MB / 362.7 MB Notification: Performance of pre-optimization done (n=11): time 9.52e-07/0.007539, allocations: 3.938 kB / 392.3 MB, free: 5.902 MB / 362.7 MB Notification: Performance of matching and sorting (n=11): time 0.0003751/0.007915, allocations: 322.6 kB / 392.7 MB, free: 5.562 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.602e-05/0.007961, allocations: 106.8 kB / 392.8 MB, free: 5.434 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.852e-05/0.008049, allocations: 140.4 kB / 392.9 MB, free: 5.289 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.641e-05/0.008066, allocations: 29.7 kB / 392.9 MB, free: 5.254 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.588e-05/0.008101, allocations: 95.98 kB / 393 MB, free: 5.156 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.831e-05/0.00813, allocations: 27.75 kB / 393.1 MB, free: 5.129 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.455e-05/0.008164, allocations: 25.78 kB / 393.1 MB, free: 5.098 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 7.737e-05/0.008242, allocations: 326.8 kB / 393.4 MB, free: 4.77 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.5e-05/0.008307, allocations: 81.67 kB / 393.5 MB, free: 4.684 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.51e-05/0.008372, allocations: 91.33 kB / 393.6 MB, free: 4.582 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001288/0.008501, allocations: 169.1 kB / 393.7 MB, free: 4.398 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.008503, allocations: 3.938 kB / 393.7 MB, free: 4.395 MB / 362.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000203/0.008706, allocations: 248.8 kB / 394 MB, free: 4.133 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.99e-05/0.008736, allocations: 41.69 kB / 394 MB, free: 4.086 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.488e-06/0.00874, allocations: 0 / 394 MB, free: 4.086 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.009e-05/0.00875, allocations: 0 / 394 MB, free: 4.086 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.401e-05/0.008794, allocations: 15.98 kB / 394 MB, free: 4.07 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.82e-06/0.0088, allocations: 3.938 kB / 394 MB, free: 4.066 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.825e-05/0.008839, allocations: 4 kB / 394 MB, free: 4.062 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.086e-06/0.008847, allocations: 8 kB / 394 MB, free: 4.055 MB / 362.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.165e-05/0.008928, allocations: 163.8 kB / 394.2 MB, free: 3.879 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.59e-05/0.008944, allocations: 11.94 kB / 394.2 MB, free: 3.867 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.283e-05/0.008967, allocations: 16.42 kB / 394.2 MB, free: 3.848 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.008969, allocations: 0 / 394.2 MB, free: 3.848 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.008973, allocations: 0 / 394.2 MB, free: 3.848 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.008977, allocations: 4 kB / 394.2 MB, free: 3.844 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.652e-05/0.009073, allocations: 153.1 kB / 394.4 MB, free: 3.664 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.009076, allocations: 3.938 kB / 394.4 MB, free: 3.66 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.353e-05/0.009099, allocations: 8 kB / 394.4 MB, free: 3.652 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.826e-06/0.009102, allocations: 8 kB / 394.4 MB, free: 3.645 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.077e-06/0.009111, allocations: 0 / 394.4 MB, free: 3.645 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.11e-07/0.009112, allocations: 4 kB / 394.4 MB, free: 3.641 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.009113, allocations: 0 / 394.4 MB, free: 3.641 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002322/0.009345, allocations: 297.5 kB / 394.7 MB, free: 3.316 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.447e-05/0.009359, allocations: 19.81 kB / 394.7 MB, free: 3.297 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.976e-05/0.009379, allocations: 8 kB / 394.7 MB, free: 3.289 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.098e-05/0.00941, allocations: 4 kB / 394.7 MB, free: 3.285 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.018e-05/0.00944, allocations: 7.984 kB / 394.7 MB, free: 3.277 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.324e-05/0.009453, allocations: 4 kB / 394.7 MB, free: 3.273 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.234e-05/0.009506, allocations: 114.1 kB / 394.9 MB, free: 3.164 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.009506, allocations: 0 / 394.9 MB, free: 3.164 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002137/0.00972, allocations: 79.73 kB / 394.9 MB, free: 3.086 MB / 362.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.0006072/0.01033, allocations: 446.2 kB / 395.4 MB, free: 2.758 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002378/0.01056, allocations: 250.7 kB / 395.6 MB, free: 2.488 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.01057, allocations: 0 / 395.6 MB, free: 2.488 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 9.117e-05/0.01066, allocations: 157.3 kB / 395.8 MB, free: 2.316 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001571/0.01081, allocations: 20.02 kB / 395.8 MB, free: 2.297 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000349/0.01116, allocations: 281.6 kB / 396.1 MB, free: 1.977 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.994e-05/0.01121, allocations: 82.36 kB / 396.1 MB, free: 1.879 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.941e-05/0.01124, allocations: 20.5 kB / 396.2 MB, free: 1.859 MB / 362.7 MB Notification: Performance of SimCode: time 5.91e-07/0.01124, allocations: 0 / 396.2 MB, free: 1.859 MB / 362.7 MB Notification: Performance of Templates: time 0.003204/0.01445, allocations: 2.757 MB / 398.9 MB, free: 15.1 MB / 378.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: 4.4939040979370475] Failed to read output from testmodel.py, exit status != 0: 0.018852202221751213 0.026610617000000003 0.019237877 Calling exit ...