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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.4/package.mo", uses=false) Using package ExternData with version 3.0.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.4/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ExternData.Examples.XLSTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ExternData_ExternData.Examples.XLSTest") translateModel(ExternData.Examples.XLSTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ExternData_ExternData.Examples.XLSTest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001196/0.001196, allocations: 111.9 kB / 15.61 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001094/0.001094, allocations: 196.2 kB / 16.54 MB, free: 6.668 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.359/1.359, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.4/package.mo): time 0.1472/0.1472, allocations: 2.933 MB / 293.3 MB, free: 3.188 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002371/0.002371, allocations: 63.89 kB / 354.7 MB, free: 3.73 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1154/0.1178, allocations: 50.34 MB / 405 MB, free: 1.344 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.XLSTest): time 0.003397/0.1212, allocations: 1.665 MB / 406.7 MB, free: 15.67 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002439/0.1237, allocations: 1.724 MB / 408.4 MB, free: 13.94 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.629e-05/0.1238, allocations: 0 / 408.4 MB, free: 13.94 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.4/package.mo:191:3-219:14:writable] Warning: Pure function 'ExternData.XLSFile' contains a call to impure function 'ExternData.Types.ExternXLSFile.constructor'. Notification: Performance of NFTyping.typeComponents: time 0.0003766/0.1242, allocations: 47.77 kB / 408.4 MB, free: 13.89 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.4/Examples/package.mo:101:5-121:22:writable] Warning: Pure function 'ExternData.Examples.XLSTest.computeColSum' contains a call to impure function 'ExternData.Types.ExternXLSFile.constructor'. Notification: Performance of NFTyping.typeBindings: time 0.0005855/0.1248, allocations: 179.2 kB / 408.6 MB, free: 13.71 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002754/0.1251, allocations: 83.78 kB / 408.7 MB, free: 13.63 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001675/0.1252, allocations: 91.75 kB / 408.8 MB, free: 13.54 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001113/0.1254, allocations: 27.91 kB / 408.8 MB, free: 13.52 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.534e-05/0.1255, allocations: 31.92 kB / 408.8 MB, free: 13.48 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001756/0.1257, allocations: 51.7 kB / 408.9 MB, free: 13.43 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.213e-05/0.1257, allocations: 4 kB / 408.9 MB, free: 13.43 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004313/0.1261, allocations: 263.7 kB / 409.2 MB, free: 13.17 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.131e-05/0.1262, allocations: 23.86 kB / 409.2 MB, free: 13.15 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.603e-05/0.1263, allocations: 39.8 kB / 409.2 MB, free: 13.11 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005017/0.1268, allocations: 307.5 kB / 409.5 MB, free: 12.81 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.287e-06/0.1268, allocations: 4 kB / 409.5 MB, free: 12.8 MB / 350.1 MB Notification: Performance of FrontEnd: time 7.11e-07/0.1268, allocations: 0 / 409.5 MB, free: 12.8 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.105e-05/0.1268, allocations: 0 / 409.5 MB, free: 12.8 MB / 350.1 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.0006655/0.1275, allocations: 476.7 kB / 410 MB, free: 12.29 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.867e-05/0.1275, allocations: 11.89 kB / 410 MB, free: 12.27 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.9e-05/0.1276, allocations: 12.84 kB / 410 MB, free: 12.26 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002436/0.1278, allocations: 204.2 kB / 410.2 MB, free: 12.02 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.088e-05/0.1279, allocations: 384 / 410.2 MB, free: 12.02 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.934e-05/0.1279, allocations: 12.12 kB / 410.2 MB, free: 12.01 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002323/0.1281, allocations: 99.31 kB / 410.3 MB, free: 11.9 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.077e-06/0.1282, allocations: 0 / 410.3 MB, free: 11.9 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.484e-05/0.1282, allocations: 0 / 410.3 MB, free: 11.9 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.069e-06/0.1282, allocations: 3.938 kB / 410.3 MB, free: 11.9 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001523/0.1283, allocations: 51.97 kB / 410.4 MB, free: 11.85 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004382/0.1288, allocations: 329.5 kB / 410.7 MB, free: 11.47 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002423/0.129, allocations: 93.34 kB / 410.8 MB, free: 11.36 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001011/0.1292, allocations: 57.69 kB / 410.8 MB, free: 11.3 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.24e-05/0.1292, allocations: 4 kB / 410.8 MB, free: 11.3 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002505/0.1294, allocations: 142.7 kB / 411 MB, free: 11.13 MB / 350.1 MB Notification: Performance of pre-optimization done (n=11): time 1.392e-06/0.1294, allocations: 0 / 411 MB, free: 11.13 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004525/0.1299, allocations: 223.2 kB / 411.2 MB, free: 10.9 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.99e-05/0.13, allocations: 106.8 kB / 411.3 MB, free: 10.77 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001372/0.1301, allocations: 160 kB / 411.5 MB, free: 10.61 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.969e-05/0.1301, allocations: 29.7 kB / 411.5 MB, free: 10.57 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.16e-05/0.1302, allocations: 92.05 kB / 411.6 MB, free: 10.48 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.439e-05/0.1302, allocations: 31.64 kB / 411.6 MB, free: 10.45 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.535e-05/0.1303, allocations: 21.72 kB / 411.6 MB, free: 10.42 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001035/0.1304, allocations: 322.8 kB / 411.9 MB, free: 10.1 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.303e-05/0.1305, allocations: 35.98 kB / 412 MB, free: 10.06 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.964e-05/0.1306, allocations: 61.75 kB / 412 MB, free: 9.996 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002071/0.1308, allocations: 157.2 kB / 412.2 MB, free: 9.824 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.1308, allocations: 0 / 412.2 MB, free: 9.824 MB / 350.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000306/0.1311, allocations: 187.2 kB / 412.4 MB, free: 9.629 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.778e-05/0.1312, allocations: 37.7 kB / 412.4 MB, free: 9.586 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.55e-06/0.1312, allocations: 0 / 412.4 MB, free: 9.586 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.264e-05/0.1312, allocations: 0 / 412.4 MB, free: 9.586 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.424e-05/0.1313, allocations: 15.98 kB / 412.4 MB, free: 9.57 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.965e-06/0.1313, allocations: 0 / 412.4 MB, free: 9.57 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.038e-05/0.1314, allocations: 15.88 kB / 412.4 MB, free: 9.555 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.101e-05/0.1314, allocations: 7.938 kB / 412.5 MB, free: 9.547 MB / 350.1 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 0.0001287/0.1315, allocations: 159.5 kB / 412.6 MB, free: 9.375 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.413e-05/0.1316, allocations: 15.81 kB / 412.6 MB, free: 9.359 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.022e-05/0.1316, allocations: 12.7 kB / 412.6 MB, free: 9.348 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.208e-06/0.1316, allocations: 4 kB / 412.6 MB, free: 9.344 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.1316, allocations: 0 / 412.6 MB, free: 9.344 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.1316, allocations: 3.938 kB / 412.6 MB, free: 9.34 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001779/0.1318, allocations: 205.5 kB / 412.8 MB, free: 9.09 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.913e-06/0.1318, allocations: 0 / 412.8 MB, free: 9.09 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.457e-05/0.1319, allocations: 11.98 kB / 412.9 MB, free: 9.078 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.146e-05/0.1319, allocations: 4 kB / 412.9 MB, free: 9.074 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.347e-05/0.1319, allocations: 4 kB / 412.9 MB, free: 9.07 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.1319, allocations: 0 / 412.9 MB, free: 9.07 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.1319, allocations: 4 kB / 412.9 MB, free: 9.066 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000401/0.1324, allocations: 251.5 kB / 413.1 MB, free: 8.793 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.827e-05/0.1324, allocations: 89 kB / 413.2 MB, free: 8.688 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.68e-05/0.1325, allocations: 4 kB / 413.2 MB, free: 8.684 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.08e-05/0.1325, allocations: 7.938 kB / 413.2 MB, free: 8.676 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.85e-05/0.1326, allocations: 11.92 kB / 413.2 MB, free: 8.664 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.783e-05/0.1326, allocations: 4 kB / 413.2 MB, free: 8.66 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001037/0.1327, allocations: 125.1 kB / 413.4 MB, free: 8.539 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1327, allocations: 0 / 413.4 MB, free: 8.539 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003657/0.1331, allocations: 91.98 kB / 413.4 MB, free: 8.449 MB / 350.1 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.001181/0.1343, allocations: 483.7 kB / 413.9 MB, free: 8.078 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003665/0.1347, allocations: 195.3 kB / 414.1 MB, free: 7.875 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.1347, allocations: 0 / 414.1 MB, free: 7.875 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001658/0.1349, allocations: 139.3 kB / 414.2 MB, free: 7.727 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002399/0.1351, allocations: 13.5 kB / 414.3 MB, free: 7.715 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005612/0.1357, allocations: 243.2 kB / 414.5 MB, free: 7.445 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003604/0.1361, allocations: 0.7002 MB / 415.2 MB, free: 6.719 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.234e-05/0.1361, allocations: 4 kB / 415.2 MB, free: 6.715 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.974e-05/0.1362, allocations: 23.42 kB / 415.2 MB, free: 6.691 MB / 350.1 MB Notification: Performance of SimCode: time 1.022e-06/0.1362, allocations: 0 / 415.2 MB, free: 6.691 MB / 350.1 MB Notification: Performance of Templates: time 0.007056/0.1432, allocations: 2.985 MB / 418.2 MB, free: 3.719 MB / 350.1 MB make -j1 -f ExternData_ExternData.Examples.XLSTest.makefile (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=480 -lv LOG_STATS > ExternData_ExternData.Examples.XLSTest.pipe 2>&1)