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.5-master/package.mo", uses=false) Using package ExternData with version 3.0.5 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.5-master/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.0011/0.0011, allocations: 103.4 kB / 15.33 MB, free: 0.5078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001541/0.001541, allocations: 193 kB / 16.25 MB, free: 6.621 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.343/1.343, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.5-master/package.mo): time 0.1414/0.1414, allocations: 2.938 MB / 293 MB, free: 3.188 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002237/0.002237, allocations: 64.12 kB / 354.2 MB, free: 4.078 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1106/0.1128, allocations: 50.34 MB / 404.5 MB, free: 1.691 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.XLSTest): time 0.004544/0.1174, allocations: 1.735 MB / 406.2 MB, free: 15.95 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002919/0.1204, allocations: 1.689 MB / 407.9 MB, free: 14.25 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001251/0.1206, allocations: 0 / 407.9 MB, free: 14.25 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004096/0.121, allocations: 39.84 kB / 408 MB, free: 14.21 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006571/0.1217, allocations: 143.5 kB / 408.1 MB, free: 14.07 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003965/0.1221, allocations: 79.86 kB / 408.2 MB, free: 13.99 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003115/0.1224, allocations: 99.7 kB / 408.3 MB, free: 13.89 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001655/0.1226, allocations: 23.89 kB / 408.3 MB, free: 13.87 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001814/0.1228, allocations: 35.86 kB / 408.3 MB, free: 13.83 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002683/0.123, allocations: 43.78 kB / 408.4 MB, free: 13.79 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.192e-05/0.1231, allocations: 4 kB / 408.4 MB, free: 13.79 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000782/0.1239, allocations: 263.6 kB / 408.7 MB, free: 13.53 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.167e-05/0.124, allocations: 23.92 kB / 408.7 MB, free: 13.5 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.987e-05/0.1241, allocations: 39.75 kB / 408.7 MB, free: 13.46 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008624/0.125, allocations: 291.6 kB / 409 MB, free: 13.18 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.532e-06/0.125, allocations: 0 / 409 MB, free: 13.18 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.904e-06/0.125, allocations: 3.938 kB / 409 MB, free: 13.18 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.564e-06/0.125, allocations: 0 / 409 MB, free: 13.18 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.0008038/0.1258, allocations: 478.8 kB / 409.5 MB, free: 12.66 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.798e-05/0.1259, allocations: 11.89 kB / 409.5 MB, free: 12.64 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.157e-05/0.126, allocations: 8.844 kB / 409.5 MB, free: 12.64 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002778/0.1263, allocations: 208.2 kB / 409.7 MB, free: 12.39 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.647e-05/0.1263, allocations: 8.375 kB / 409.7 MB, free: 12.39 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.571e-05/0.1263, allocations: 8.125 kB / 409.7 MB, free: 12.38 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000289/0.1266, allocations: 91.38 kB / 409.8 MB, free: 12.28 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.712e-05/0.1266, allocations: 3.938 kB / 409.8 MB, free: 12.27 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.447e-05/0.1267, allocations: 7.984 kB / 409.8 MB, free: 12.27 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.035e-06/0.1267, allocations: 3.938 kB / 409.8 MB, free: 12.26 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001713/0.1269, allocations: 51.97 kB / 409.9 MB, free: 12.21 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006114/0.1275, allocations: 313.6 kB / 410.2 MB, free: 11.85 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003147/0.1278, allocations: 101.2 kB / 410.3 MB, free: 11.73 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001298/0.128, allocations: 57.73 kB / 410.3 MB, free: 11.67 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.617e-05/0.128, allocations: 0 / 410.3 MB, free: 11.67 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000344/0.1283, allocations: 134.7 kB / 410.5 MB, free: 11.52 MB / 350.1 MB Notification: Performance of pre-optimization done (n=11): time 2.124e-06/0.1283, allocations: 0 / 410.5 MB, free: 11.52 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.000547/0.1289, allocations: 231.3 kB / 410.7 MB, free: 11.28 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.797e-05/0.129, allocations: 118.8 kB / 410.8 MB, free: 11.14 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000187/0.1292, allocations: 148 kB / 410.9 MB, free: 10.98 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.055e-05/0.1292, allocations: 29.7 kB / 411 MB, free: 10.95 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.393e-05/0.1293, allocations: 100 kB / 411.1 MB, free: 10.85 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.588e-05/0.1294, allocations: 23.66 kB / 411.1 MB, free: 10.82 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.791e-05/0.1294, allocations: 29.7 kB / 411.1 MB, free: 10.79 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001264/0.1296, allocations: 322.8 kB / 411.4 MB, free: 10.46 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.761e-05/0.1297, allocations: 39.98 kB / 411.5 MB, free: 10.43 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.5e-05/0.1298, allocations: 53.69 kB / 411.5 MB, free: 10.37 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001894/0.13, allocations: 152.9 kB / 411.7 MB, free: 10.2 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.215e-06/0.13, allocations: 0 / 411.7 MB, free: 10.2 MB / 350.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003078/0.1303, allocations: 191.5 kB / 411.9 MB, free: 10 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.443e-05/0.1303, allocations: 37.69 kB / 411.9 MB, free: 9.957 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.131e-06/0.1304, allocations: 0 / 411.9 MB, free: 9.957 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.569e-05/0.1304, allocations: 4 kB / 411.9 MB, free: 9.953 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.458e-05/0.1304, allocations: 15.92 kB / 411.9 MB, free: 9.938 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.466e-06/0.1305, allocations: 4 kB / 411.9 MB, free: 9.934 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.181e-05/0.1305, allocations: 11.94 kB / 411.9 MB, free: 9.922 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.225e-05/0.1306, allocations: 4 kB / 411.9 MB, free: 9.918 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.0001308/0.1307, allocations: 151.5 kB / 412.1 MB, free: 9.754 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.502e-05/0.1307, allocations: 19.75 kB / 412.1 MB, free: 9.734 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.933e-05/0.1308, allocations: 12.7 kB / 412.1 MB, free: 9.723 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.1308, allocations: 0 / 412.1 MB, free: 9.723 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.563e-06/0.1308, allocations: 8 kB / 412.1 MB, free: 9.715 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.214e-06/0.1308, allocations: 7.938 kB / 412.1 MB, free: 9.707 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001723/0.131, allocations: 205.5 kB / 412.3 MB, free: 9.457 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.131, allocations: 0 / 412.3 MB, free: 9.457 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.045e-05/0.131, allocations: 8 kB / 412.3 MB, free: 9.449 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.938e-06/0.1311, allocations: 3.984 kB / 412.4 MB, free: 9.445 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.667e-05/0.1311, allocations: 8 kB / 412.4 MB, free: 9.438 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.1311, allocations: 0 / 412.4 MB, free: 9.438 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.1311, allocations: 0 / 412.4 MB, free: 9.438 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003483/0.1314, allocations: 247.4 kB / 412.6 MB, free: 9.168 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.307e-05/0.1315, allocations: 88.95 kB / 412.7 MB, free: 9.062 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.802e-05/0.1315, allocations: 7.984 kB / 412.7 MB, free: 9.055 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.333e-05/0.1316, allocations: 8 kB / 412.7 MB, free: 9.047 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.235e-05/0.1317, allocations: 7.938 kB / 412.7 MB, free: 9.039 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.286e-05/0.1317, allocations: 7.984 kB / 412.7 MB, free: 9.031 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.882e-05/0.1318, allocations: 125.3 kB / 412.8 MB, free: 8.91 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1318, allocations: 0 / 412.8 MB, free: 8.91 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004144/0.1322, allocations: 99.91 kB / 412.9 MB, free: 8.812 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.001149/0.1334, allocations: 469.3 kB / 413.4 MB, free: 8.473 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003269/0.1337, allocations: 195.3 kB / 413.6 MB, free: 8.27 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.1337, allocations: 0 / 413.6 MB, free: 8.27 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001509/0.1339, allocations: 131.4 kB / 413.7 MB, free: 8.129 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002524/0.1342, allocations: 27.67 kB / 413.7 MB, free: 8.105 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004923/0.1347, allocations: 271.2 kB / 414 MB, free: 7.809 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002471/0.1349, allocations: 0.708 MB / 414.7 MB, free: 7.074 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.777e-05/0.135, allocations: 12 kB / 414.7 MB, free: 7.062 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.029e-05/0.135, allocations: 15.42 kB / 414.7 MB, free: 7.047 MB / 350.1 MB Notification: Performance of SimCode: time 5.01e-07/0.135, allocations: 0 / 414.7 MB, free: 7.047 MB / 350.1 MB Notification: Performance of Templates: time 0.006526/0.1416, allocations: 2.937 MB / 417.7 MB, free: 4.121 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)