Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ExternData_ExternData.Examples.XLSTest.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.0008746/0.0008746, 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.000972/0.000972, 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.9048/0.9048, allocations: 177.1 MB / 203.4 MB, free: 5.645 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.0167/0.0167, allocations: 2.258 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.XLSTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ExternData_ExternData.Examples.XLSTest") translateModel(ExternData.Examples.XLSTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ExternData_ExternData.Examples.XLSTest") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.102e-06/1.102e-06, allocations: 0 / 332.8 MB, free: 16.43 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.117e-05/1.227e-05, allocations: 2.312 kB / 332.8 MB, free: 16.43 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.XLSTest): time 0.001606/0.001618, allocations: 1.715 MB / 334.5 MB, free: 14.7 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001339/0.002957, allocations: 1.835 MB / 336.3 MB, free: 12.85 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.303e-05/0.00301, allocations: 0 / 336.3 MB, free: 12.85 MB / 266.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.2.0/package.mo:179:3-207:14:writable] Warning: Pure function 'ExternData.XLSFile' contains a call to impure function 'ExternData.Types.ExternXLSFile.constructor'. Notification: Performance of NFTyping.typeComponents: time 0.0002845/0.003294, allocations: 51.64 kB / 336.4 MB, free: 12.8 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003259/0.00362, allocations: 167.1 kB / 336.6 MB, free: 12.64 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001423/0.003762, allocations: 91.72 kB / 336.7 MB, free: 12.55 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 9.981e-05/0.003862, allocations: 95.69 kB / 336.7 MB, free: 12.45 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.443e-05/0.003927, allocations: 4 kB / 336.7 MB, free: 12.45 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.536e-05/0.003992, allocations: 55.88 kB / 336.8 MB, free: 12.39 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.813e-05/0.00408, allocations: 35.84 kB / 336.8 MB, free: 12.36 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.531e-05/0.004096, allocations: 4 kB / 336.8 MB, free: 12.36 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002029/0.004298, allocations: 227.6 kB / 337.1 MB, free: 12.13 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.366e-05/0.004342, allocations: 23.92 kB / 337.1 MB, free: 12.11 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.547e-05/0.004378, allocations: 23.91 kB / 337.1 MB, free: 12.09 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000247/0.004625, allocations: 283.1 kB / 337.4 MB, free: 11.81 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.884e-06/0.004626, allocations: 4 kB / 337.4 MB, free: 11.8 MB / 266.7 MB Notification: Performance of FrontEnd: time 5.62e-07/0.004627, allocations: 0 / 337.4 MB, free: 11.8 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.456e-06/0.00463, allocations: 0 / 337.4 MB, free: 11.8 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.0003805/0.005011, allocations: 0.4973 MB / 337.9 MB, free: 11.27 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.916e-05/0.00504, allocations: 8.031 kB / 337.9 MB, free: 11.26 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.488e-05/0.005085, allocations: 16.89 kB / 337.9 MB, free: 11.24 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001185/0.005204, allocations: 144.4 kB / 338.1 MB, free: 11.07 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.905e-06/0.005211, allocations: 384 / 338.1 MB, free: 11.07 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.175e-05/0.005223, allocations: 8.375 kB / 338.1 MB, free: 11.07 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000132/0.005355, allocations: 131.9 kB / 338.2 MB, free: 10.91 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.131e-06/0.005361, allocations: 3.938 kB / 338.2 MB, free: 10.91 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.097e-06/0.00537, allocations: 0 / 338.2 MB, free: 10.91 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.901e-06/0.005376, allocations: 0 / 338.2 MB, free: 10.91 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.487e-05/0.005421, allocations: 57.69 kB / 338.3 MB, free: 10.85 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002138/0.005635, allocations: 299.5 kB / 338.5 MB, free: 10.52 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001331/0.005768, allocations: 115.9 kB / 338.7 MB, free: 10.37 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.835e-05/0.005806, allocations: 61.11 kB / 338.7 MB, free: 10.3 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.104e-05/0.005817, allocations: 4 kB / 338.7 MB, free: 10.29 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.641e-05/0.005914, allocations: 163.8 kB / 338.9 MB, free: 10.1 MB / 266.7 MB Notification: Performance of pre-optimization done (n=11): time 9.62e-07/0.005915, allocations: 3.938 kB / 338.9 MB, free: 10.09 MB / 266.7 MB Notification: Performance of matching and sorting (n=11): time 0.0002343/0.006149, allocations: 230.6 kB / 339.1 MB, free: 9.844 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.234e-05/0.006171, allocations: 102.8 kB / 339.2 MB, free: 9.719 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.676e-05/0.006238, allocations: 201.9 kB / 339.4 MB, free: 9.504 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 6.973e-06/0.006245, allocations: 25.7 kB / 339.4 MB, free: 9.473 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.365e-05/0.006269, allocations: 138.9 kB / 339.6 MB, free: 9.332 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.317e-05/0.006292, allocations: 35.8 kB / 339.6 MB, free: 9.297 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.867e-05/0.006321, allocations: 31.36 kB / 339.6 MB, free: 9.258 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 3.968e-05/0.00636, allocations: 0.4884 MB / 340.1 MB, free: 8.758 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.93e-05/0.00639, allocations: 45.69 kB / 340.2 MB, free: 8.707 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.186e-05/0.006421, allocations: 77 kB / 340.2 MB, free: 8.617 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.467e-05/0.006486, allocations: 126.6 kB / 340.4 MB, free: 8.473 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/0.006489, allocations: 3.938 kB / 340.4 MB, free: 8.469 MB / 266.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000115/0.006603, allocations: 181.3 kB / 340.5 MB, free: 8.273 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.009e-05/0.006624, allocations: 40.52 kB / 340.6 MB, free: 8.23 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.477e-06/0.006627, allocations: 0 / 340.6 MB, free: 8.23 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.179e-05/0.006639, allocations: 3.984 kB / 340.6 MB, free: 8.227 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.001e-05/0.006679, allocations: 12 kB / 340.6 MB, free: 8.215 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.809e-06/0.006684, allocations: 0 / 340.6 MB, free: 8.215 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.409e-05/0.006718, allocations: 11.89 kB / 340.6 MB, free: 8.203 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.654e-06/0.006725, allocations: 8 kB / 340.6 MB, free: 8.195 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.171e-05/0.006777, allocations: 206.1 kB / 340.8 MB, free: 7.977 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.739e-05/0.006794, allocations: 15.95 kB / 340.8 MB, free: 7.961 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.903e-05/0.006814, allocations: 12.77 kB / 340.9 MB, free: 7.945 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.834e-06/0.006815, allocations: 4 kB / 340.9 MB, free: 7.941 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.675e-06/0.006818, allocations: 0 / 340.9 MB, free: 7.941 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.006821, allocations: 0 / 340.9 MB, free: 7.941 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.627e-05/0.006887, allocations: 144.5 kB / 341 MB, free: 7.766 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.764e-06/0.006889, allocations: 7.938 kB / 341 MB, free: 7.758 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.119e-05/0.00691, allocations: 11.98 kB / 341 MB, free: 7.746 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.006911, allocations: 8 kB / 341 MB, free: 7.738 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.007e-06/0.00692, allocations: 4 kB / 341 MB, free: 7.734 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.006922, allocations: 4 kB / 341 MB, free: 7.73 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.006923, allocations: 0 / 341 MB, free: 7.73 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001426/0.007065, allocations: 243.7 kB / 341.3 MB, free: 7.453 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.104e-05/0.007076, allocations: 11.89 kB / 341.3 MB, free: 7.441 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.995e-05/0.007096, allocations: 11.98 kB / 341.3 MB, free: 7.43 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.569e-05/0.007122, allocations: 4 kB / 341.3 MB, free: 7.426 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.988e-05/0.007152, allocations: 7.984 kB / 341.3 MB, free: 7.418 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.127e-05/0.007163, allocations: 7.984 kB / 341.3 MB, free: 7.41 MB / 266.7 MB Notification: Performance of sorting global known variables: time 3.346e-05/0.007196, allocations: 151.2 kB / 341.5 MB, free: 7.262 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007196, allocations: 0 / 341.5 MB, free: 7.262 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001915/0.007388, allocations: 95.61 kB / 341.6 MB, free: 7.168 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.0007719/0.00816, allocations: 495.4 kB / 342 MB, free: 6.801 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001484/0.008308, allocations: 198.5 kB / 342.2 MB, free: 6.578 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.152e-06/0.008309, allocations: 0 / 342.2 MB, free: 6.578 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 5.07e-05/0.00836, allocations: 136.8 kB / 342.4 MB, free: 6.422 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001505/0.008511, allocations: 25.64 kB / 342.4 MB, free: 6.398 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00027/0.008781, allocations: 257.6 kB / 342.6 MB, free: 6.109 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.098e-05/0.008802, allocations: 63.34 kB / 342.7 MB, free: 6.027 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.942e-05/0.008831, allocations: 7.984 kB / 342.7 MB, free: 6.02 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.557e-05/0.008857, allocations: 16.5 kB / 342.7 MB, free: 6.004 MB / 266.7 MB Notification: Performance of SimCode: time 4.41e-07/0.008857, allocations: 4 kB / 342.7 MB, free: 6 MB / 266.7 MB Notification: Performance of Templates: time 0.003932/0.01279, allocations: 3.247 MB / 346 MB, free: 2.777 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f ExternData_ExternData.Examples.XLSTest.makefile [Timeout 660] (rm -f ExternData_ExternData.Examples.XLSTest.pipe ; mkfifo ExternData_ExternData.Examples.XLSTest.pipe ; head -c 1048576 < ExternData_ExternData.Examples.XLSTest.pipe >> ../files/ExternData_ExternData.Examples.XLSTest.sim & ./ExternData_ExternData.Examples.XLSTest -abortSlowSimulation -alarm=240 -lv LOG_STATS > ExternData_ExternData.Examples.XLSTest.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.6468193689361215]