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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001582/0.001582, allocations: 110 kB / 18.93 MB, free: 2.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00179/0.00179, allocations: 185.8 kB / 22.22 MB, free: 5.16 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.554/1.554, allocations: 225.6 MB / 251 MB, free: 13 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.1.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.1.0/package.mo): time 0.01456/0.01456, allocations: 3.215 MB / 309.5 MB, free: 5.461 MB / 238.1 MB " [Timeout remaining time 180] Using package ExternData with version 3.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.1.0/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=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 0.00212/0.00212, allocations: 63.89 kB / 431.5 MB, free: 19.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09945/0.1016, allocations: 53.17 MB / 484.6 MB, free: 14.35 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.XLSTest): time 0.003058/0.1046, allocations: 1.696 MB / 486.3 MB, free: 12.64 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002834/0.1075, allocations: 1.827 MB / 488.2 MB, free: 10.81 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.791e-05/0.1075, allocations: 7.875 kB / 488.2 MB, free: 10.8 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.1.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.0003634/0.1079, allocations: 47.72 kB / 488.2 MB, free: 10.75 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.1.0/Examples/package.mo:85:5-105: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.0005257/0.1084, allocations: 175.3 kB / 488.4 MB, free: 10.58 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002481/0.1087, allocations: 94.64 kB / 488.5 MB, free: 10.49 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001487/0.1088, allocations: 83.77 kB / 488.6 MB, free: 10.41 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.486e-05/0.1089, allocations: 8 kB / 488.6 MB, free: 10.4 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.029e-05/0.109, allocations: 43.83 kB / 488.6 MB, free: 10.36 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001718/0.1091, allocations: 51.7 kB / 488.7 MB, free: 10.31 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.501e-05/0.1092, allocations: 8 kB / 488.7 MB, free: 10.3 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004286/0.1096, allocations: 279.6 kB / 488.9 MB, free: 10.03 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.327e-05/0.1097, allocations: 19.92 kB / 489 MB, free: 10.01 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.204e-05/0.1097, allocations: 35.81 kB / 489 MB, free: 9.973 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004909/0.1102, allocations: 307.1 kB / 489.3 MB, free: 9.672 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.1102, allocations: 4 kB / 489.3 MB, free: 9.668 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.133e-06/0.1102, allocations: 0 / 489.3 MB, free: 9.668 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.961e-06/0.1102, allocations: 0 / 489.3 MB, free: 9.668 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.0006766/0.1109, allocations: 406.9 kB / 489.7 MB, free: 9.234 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.348e-05/0.111, allocations: 12.03 kB / 489.7 MB, free: 9.223 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.686e-05/0.111, allocations: 8.891 kB / 489.7 MB, free: 9.215 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003026/0.1113, allocations: 154.3 kB / 489.9 MB, free: 9.039 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.417e-05/0.1113, allocations: 4.375 kB / 489.9 MB, free: 9.035 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.829e-05/0.1113, allocations: 16.06 kB / 489.9 MB, free: 9.02 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002451/0.1116, allocations: 95.31 kB / 490 MB, free: 8.914 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.111e-05/0.1116, allocations: 3.984 kB / 490 MB, free: 8.91 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.405e-05/0.1116, allocations: 4 kB / 490 MB, free: 8.906 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.029e-06/0.1116, allocations: 0 / 490 MB, free: 8.906 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001472/0.1118, allocations: 51.97 kB / 490 MB, free: 8.855 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004551/0.1122, allocations: 280.8 kB / 490.3 MB, free: 8.535 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002669/0.1125, allocations: 89.2 kB / 490.4 MB, free: 8.43 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001026/0.1126, allocations: 45.75 kB / 490.4 MB, free: 8.379 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.153e-05/0.1126, allocations: 3.984 kB / 490.4 MB, free: 8.375 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002397/0.1128, allocations: 142.7 kB / 490.6 MB, free: 8.211 MB / 350.1 MB Notification: Performance of pre-optimization done (n=11): time 1.193e-06/0.1128, allocations: 0 / 490.6 MB, free: 8.211 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004971/0.1133, allocations: 231.6 kB / 490.8 MB, free: 7.973 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.448e-05/0.1134, allocations: 114.8 kB / 490.9 MB, free: 7.836 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001658/0.1136, allocations: 165.7 kB / 491.1 MB, free: 7.664 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.086e-05/0.1136, allocations: 29.64 kB / 491.1 MB, free: 7.629 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.537e-05/0.1137, allocations: 96.12 kB / 491.2 MB, free: 7.531 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.366e-05/0.1137, allocations: 23.81 kB / 491.2 MB, free: 7.508 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.4e-05/0.1138, allocations: 25.7 kB / 491.3 MB, free: 7.477 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001549/0.1139, allocations: 326.8 kB / 491.6 MB, free: 7.148 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.333e-05/0.114, allocations: 35.92 kB / 491.6 MB, free: 7.113 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001179/0.1141, allocations: 61.67 kB / 491.7 MB, free: 7.047 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002038/0.1143, allocations: 141.1 kB / 491.8 MB, free: 6.891 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.1143, allocations: 0 / 491.8 MB, free: 6.891 MB / 350.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.00032/0.1146, allocations: 187.2 kB / 492 MB, free: 6.695 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.743e-05/0.1147, allocations: 41.62 kB / 492 MB, free: 6.648 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.1147, allocations: 0 / 492 MB, free: 6.648 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.699e-05/0.1147, allocations: 4 kB / 492 MB, free: 6.645 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.554e-05/0.1148, allocations: 15.94 kB / 492.1 MB, free: 6.629 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.674e-06/0.1148, allocations: 7.984 kB / 492.1 MB, free: 6.621 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.461e-05/0.1149, allocations: 15.83 kB / 492.1 MB, free: 6.605 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.273e-05/0.1149, allocations: 4 kB / 492.1 MB, free: 6.602 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.0001425/0.115, allocations: 155.5 kB / 492.2 MB, free: 6.434 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.301e-05/0.115, allocations: 11.95 kB / 492.2 MB, free: 6.422 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.397e-05/0.1151, allocations: 12.72 kB / 492.3 MB, free: 6.406 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.1151, allocations: 0 / 492.3 MB, free: 6.406 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.11e-06/0.1151, allocations: 0 / 492.3 MB, free: 6.406 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.586e-06/0.1151, allocations: 7.922 kB / 492.3 MB, free: 6.398 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002035/0.1153, allocations: 184.6 kB / 492.4 MB, free: 6.176 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.1153, allocations: 0 / 492.4 MB, free: 6.176 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.412e-05/0.1154, allocations: 12 kB / 492.5 MB, free: 6.164 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.089e-06/0.1154, allocations: 4 kB / 492.5 MB, free: 6.16 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.704e-05/0.1154, allocations: 7.922 kB / 492.5 MB, free: 6.152 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.1154, allocations: 4 kB / 492.5 MB, free: 6.148 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.1154, allocations: 0 / 492.5 MB, free: 6.148 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004207/0.1158, allocations: 251.4 kB / 492.7 MB, free: 5.875 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.247e-05/0.1158, allocations: 11.89 kB / 492.7 MB, free: 5.863 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.54e-05/0.1159, allocations: 8 kB / 492.7 MB, free: 5.855 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.322e-05/0.1159, allocations: 7.984 kB / 492.7 MB, free: 5.848 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.964e-05/0.116, allocations: 7.938 kB / 492.8 MB, free: 5.84 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.483e-05/0.116, allocations: 11.98 kB / 492.8 MB, free: 5.828 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001267/0.1161, allocations: 118.2 kB / 492.9 MB, free: 5.715 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1161, allocations: 0 / 492.9 MB, free: 5.715 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004125/0.1165, allocations: 99.66 kB / 493 MB, free: 5.617 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.001457/0.118, allocations: 464.9 kB / 493.4 MB, free: 5.266 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003432/0.1183, allocations: 159.3 kB / 493.6 MB, free: 5.098 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.1184, allocations: 0 / 493.6 MB, free: 5.098 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001634/0.1185, allocations: 111.3 kB / 493.7 MB, free: 4.977 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002446/0.1188, allocations: 19.92 kB / 493.7 MB, free: 4.957 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005269/0.1193, allocations: 247.3 kB / 494 MB, free: 4.688 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003853/0.1197, allocations: 0.7079 MB / 494.7 MB, free: 3.953 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.712e-05/0.1197, allocations: 11.94 kB / 494.7 MB, free: 3.941 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.517e-05/0.1198, allocations: 19.42 kB / 494.7 MB, free: 3.922 MB / 350.1 MB Notification: Performance of SimCode: time 4.5e-07/0.1198, allocations: 0 / 494.7 MB, free: 3.922 MB / 350.1 MB Notification: Performance of Templates: time 0.007383/0.1271, allocations: 3.038 MB / 497.7 MB, free: 0.8945 MB / 350.1 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=480 -lv LOG_STATS > ExternData_ExternData.Examples.XLSTest.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.794380499981344] Failed to read output from testmodel.py, exit status != 0: 0.13500546477735043 0.151753264 0.038275085 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7fb89125d7b0>