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.001786/0.001786, allocations: 85.48 kB / 19.44 MB, free: 344 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.001838/0.001838, allocations: 173.2 kB / 22.76 MB, free: 1.664 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.469/1.469, allocations: 177.1 MB / 203.1 MB, free: 5.598 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.01561/0.01561, allocations: 2.256 MB / 261.8 MB, free: 10.81 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.373e-06/1.373e-06, allocations: 0 / 332.1 MB, free: 16.77 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.451e-05/2.588e-05, allocations: 4.703 kB / 332.1 MB, free: 16.77 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.XLSTest): time 0.002229/0.002255, allocations: 1.678 MB / 333.8 MB, free: 15.07 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001847/0.004102, allocations: 1.808 MB / 335.6 MB, free: 13.26 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.625e-05/0.004158, allocations: 3.938 kB / 335.6 MB, free: 13.25 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.0002999/0.004458, allocations: 39.72 kB / 335.6 MB, free: 13.21 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003839/0.004842, allocations: 179.1 kB / 335.8 MB, free: 13.04 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001717/0.005014, allocations: 83.77 kB / 335.9 MB, free: 12.96 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001054/0.005119, allocations: 99.7 kB / 336 MB, free: 12.86 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.115e-05/0.00519, allocations: 7.938 kB / 336 MB, free: 12.85 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.183e-05/0.005282, allocations: 55.88 kB / 336 MB, free: 12.8 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001342/0.005416, allocations: 23.92 kB / 336 MB, free: 12.77 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.294e-05/0.005439, allocations: 8 kB / 336.1 MB, free: 12.77 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002532/0.005693, allocations: 231.5 kB / 336.3 MB, free: 12.54 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.424e-05/0.005747, allocations: 23.92 kB / 336.3 MB, free: 12.52 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.428e-05/0.005791, allocations: 23.91 kB / 336.3 MB, free: 12.49 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003198/0.006111, allocations: 295.2 kB / 336.6 MB, free: 12.2 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.916e-06/0.006114, allocations: 4 kB / 336.6 MB, free: 12.2 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.61e-07/0.006114, allocations: 4 kB / 336.6 MB, free: 12.2 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.608e-06/0.006119, allocations: 0 / 336.6 MB, free: 12.2 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.0004913/0.00661, allocations: 0.5009 MB / 337.1 MB, free: 11.65 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.046e-05/0.006641, allocations: 8.031 kB / 337.1 MB, free: 11.64 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.536e-05/0.006696, allocations: 12.89 kB / 337.1 MB, free: 11.63 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001651/0.006861, allocations: 156.4 kB / 337.3 MB, free: 11.45 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.257e-05/0.006874, allocations: 4.375 kB / 337.3 MB, free: 11.45 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.334e-05/0.006887, allocations: 4.375 kB / 337.3 MB, free: 11.45 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001646/0.007052, allocations: 127.3 kB / 337.4 MB, free: 11.3 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.036e-05/0.007062, allocations: 7.938 kB / 337.4 MB, free: 11.29 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.061e-05/0.007073, allocations: 0 / 337.4 MB, free: 11.29 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/0.007077, allocations: 4 kB / 337.4 MB, free: 11.29 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001237/0.007201, allocations: 73.61 kB / 337.5 MB, free: 11.21 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003106/0.007511, allocations: 299.5 kB / 337.8 MB, free: 10.88 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002113/0.007723, allocations: 131.8 kB / 337.9 MB, free: 10.72 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.637e-05/0.007799, allocations: 73.11 kB / 338 MB, free: 10.63 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.924e-05/0.007818, allocations: 0 / 338 MB, free: 10.63 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001541/0.007972, allocations: 179.7 kB / 338.2 MB, free: 10.42 MB / 266.7 MB Notification: Performance of pre-optimization done (n=11): time 8.21e-07/0.007973, allocations: 0 / 338.2 MB, free: 10.42 MB / 266.7 MB Notification: Performance of matching and sorting (n=11): time 0.0004023/0.008375, allocations: 262.6 kB / 338.4 MB, free: 10.14 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.938e-05/0.008405, allocations: 106.8 kB / 338.5 MB, free: 10.01 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000102/0.008507, allocations: 205.9 kB / 338.7 MB, free: 9.793 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.083e-05/0.008518, allocations: 29.64 kB / 338.8 MB, free: 9.758 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.297e-05/0.008551, allocations: 142.9 kB / 338.9 MB, free: 9.613 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.588e-05/0.008577, allocations: 35.89 kB / 338.9 MB, free: 9.578 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.112e-05/0.008618, allocations: 35.36 kB / 339 MB, free: 9.535 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.437e-05/0.008682, allocations: 0.4923 MB / 339.5 MB, free: 9.031 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.751e-05/0.00875, allocations: 61.69 kB / 339.5 MB, free: 8.965 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.573e-05/0.008815, allocations: 77.06 kB / 339.6 MB, free: 8.875 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001247/0.00894, allocations: 146.6 kB / 339.7 MB, free: 8.711 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.008942, allocations: 3.938 kB / 339.8 MB, free: 8.707 MB / 266.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002371/0.009179, allocations: 200.9 kB / 339.9 MB, free: 8.492 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.825e-05/0.009218, allocations: 37.69 kB / 340 MB, free: 8.449 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.571e-06/0.009223, allocations: 4 kB / 340 MB, free: 8.445 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.712e-05/0.00924, allocations: 0 / 340 MB, free: 8.445 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.615e-05/0.009296, allocations: 12 kB / 340 MB, free: 8.434 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.691e-06/0.009302, allocations: 3.984 kB / 340 MB, free: 8.43 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.911e-05/0.009361, allocations: 11.95 kB / 340 MB, free: 8.418 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.08e-05/0.009372, allocations: 4 kB / 340 MB, free: 8.414 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 8.263e-05/0.009455, allocations: 211.3 kB / 340.2 MB, free: 8.195 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.238e-05/0.009487, allocations: 19.95 kB / 340.2 MB, free: 8.176 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.452e-05/0.009511, allocations: 8.781 kB / 340.3 MB, free: 8.164 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.009513, allocations: 0 / 340.3 MB, free: 8.164 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.009517, allocations: 4 kB / 340.3 MB, free: 8.16 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.00952, allocations: 336 / 340.3 MB, free: 8.16 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.254e-05/0.009613, allocations: 156.5 kB / 340.4 MB, free: 7.973 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.009614, allocations: 3.938 kB / 340.4 MB, free: 7.969 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.628e-05/0.009661, allocations: 12 kB / 340.4 MB, free: 7.957 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.009662, allocations: 0 / 340.4 MB, free: 7.957 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.396e-05/0.009676, allocations: 4 kB / 340.4 MB, free: 7.953 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.009678, allocations: 3.984 kB / 340.4 MB, free: 7.949 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/0.009681, allocations: 11.92 kB / 340.4 MB, free: 7.938 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002711/0.009952, allocations: 275.4 kB / 340.7 MB, free: 7.629 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.652e-05/0.009969, allocations: 11.89 kB / 340.7 MB, free: 7.617 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.65e-05/0.009995, allocations: 8 kB / 340.7 MB, free: 7.609 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.361e-05/0.01005, allocations: 7.984 kB / 340.7 MB, free: 7.602 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.637e-05/0.0101, allocations: 0 / 340.7 MB, free: 7.602 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.202e-05/0.01012, allocations: 15.98 kB / 340.8 MB, free: 7.586 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.89e-05/0.01018, allocations: 151.2 kB / 340.9 MB, free: 7.438 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.01e-07/0.01018, allocations: 0 / 340.9 MB, free: 7.438 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002816/0.01046, allocations: 91.67 kB / 341 MB, free: 7.348 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.001847/0.0123, allocations: 477.8 kB / 341.5 MB, free: 6.988 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002551/0.01256, allocations: 226.4 kB / 341.7 MB, free: 6.738 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.01256, allocations: 0 / 341.7 MB, free: 6.738 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001004/0.01266, allocations: 144.8 kB / 341.8 MB, free: 6.574 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002247/0.01289, allocations: 30.86 kB / 341.9 MB, free: 6.547 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000426/0.01331, allocations: 273.3 kB / 342.1 MB, free: 6.242 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.063e-05/0.01336, allocations: 89.44 kB / 342.2 MB, free: 6.129 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.604e-05/0.0134, allocations: 8 kB / 342.2 MB, free: 6.121 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.664e-05/0.01344, allocations: 24.48 kB / 342.2 MB, free: 6.098 MB / 266.7 MB Notification: Performance of SimCode: time 4.41e-07/0.01344, allocations: 0 / 342.2 MB, free: 6.098 MB / 266.7 MB Notification: Performance of Templates: time 0.005702/0.01914, allocations: 2.92 MB / 345.2 MB, free: 3.199 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: 4.262021870934404]