Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ExternData_ExternData.Examples.XLSXTest.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.001633/0.001633, allocations: 113.9 kB / 18.94 MB, free: 2.953 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.001929/0.001929, allocations: 188.7 kB / 22.23 MB, free: 5.137 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.52/1.52, allocations: 225.6 MB / 251 MB, free: 13.02 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.01536/0.01536, allocations: 3.215 MB / 309.5 MB, free: 5.426 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.XLSXTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ExternData_ExternData.Examples.XLSXTest") translateModel(ExternData.Examples.XLSXTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ExternData_ExternData.Examples.XLSXTest") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002011/0.002011, allocations: 67.89 kB / 431.5 MB, free: 19.53 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1085/0.1105, allocations: 53.17 MB / 484.6 MB, free: 14.26 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.XLSXTest): time 0.003195/0.1137, allocations: 1.7 MB / 486.3 MB, free: 12.55 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002897/0.1166, allocations: 1.815 MB / 488.1 MB, free: 10.73 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.314e-05/0.1167, allocations: 8 kB / 488.2 MB, free: 10.72 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.1.0/package.mo:209:3-236:15:writable] Warning: Pure function 'ExternData.XLSXFile' contains a call to impure function 'ExternData.Types.ExternXLSXFile.constructor'. Notification: Performance of NFTyping.typeComponents: time 0.0003718/0.117, allocations: 39.78 kB / 488.2 MB, free: 10.68 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.1.0/Examples/package.mo:123:5-143:22:writable] Warning: Pure function 'ExternData.Examples.XLSXTest.computeColSum' contains a call to impure function 'ExternData.Types.ExternXLSXFile.constructor'. Notification: Performance of NFTyping.typeBindings: time 0.0005141/0.1175, allocations: 183.2 kB / 488.4 MB, free: 10.5 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002379/0.1178, allocations: 87.72 kB / 488.5 MB, free: 10.41 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001433/0.1179, allocations: 79.83 kB / 488.5 MB, free: 10.34 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.701e-05/0.118, allocations: 12.22 kB / 488.5 MB, free: 10.32 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.772e-05/0.1181, allocations: 43.78 kB / 488.6 MB, free: 10.28 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001671/0.1183, allocations: 46.53 kB / 488.6 MB, free: 10.23 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.962e-05/0.1183, allocations: 8 kB / 488.6 MB, free: 10.23 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004092/0.1187, allocations: 275.6 kB / 488.9 MB, free: 9.957 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.496e-05/0.1188, allocations: 15.98 kB / 488.9 MB, free: 9.941 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.681e-05/0.1188, allocations: 43.73 kB / 489 MB, free: 9.898 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004436/0.1193, allocations: 295.1 kB / 489.3 MB, free: 9.609 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.1193, allocations: 0 / 489.3 MB, free: 9.609 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.1193, allocations: 0 / 489.3 MB, free: 9.609 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.969e-06/0.1193, allocations: 0 / 489.3 MB, free: 9.609 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.0006491/0.1199, allocations: 406.9 kB / 489.7 MB, free: 9.176 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.274e-05/0.12, allocations: 16.03 kB / 489.7 MB, free: 9.16 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.688e-05/0.12, allocations: 8.891 kB / 489.7 MB, free: 9.152 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000282/0.1203, allocations: 154.3 kB / 489.8 MB, free: 8.977 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.252e-05/0.1203, allocations: 384 / 489.8 MB, free: 8.977 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.093e-05/0.1203, allocations: 8.125 kB / 489.8 MB, free: 8.969 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000227/0.1205, allocations: 99.31 kB / 489.9 MB, free: 8.859 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.718e-06/0.1206, allocations: 0 / 489.9 MB, free: 8.859 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.259e-05/0.1206, allocations: 0 / 489.9 MB, free: 8.859 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.28e-05/0.1206, allocations: 8 kB / 489.9 MB, free: 8.852 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001463/0.1207, allocations: 55.89 kB / 490 MB, free: 8.797 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004267/0.1212, allocations: 276.8 kB / 490.3 MB, free: 8.48 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002598/0.1214, allocations: 93.22 kB / 490.4 MB, free: 8.371 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001075/0.1215, allocations: 45.75 kB / 490.4 MB, free: 8.32 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.177e-05/0.1215, allocations: 0 / 490.4 MB, free: 8.32 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002288/0.1218, allocations: 138.7 kB / 490.5 MB, free: 8.16 MB / 350.1 MB Notification: Performance of pre-optimization done (n=11): time 1.373e-06/0.1218, allocations: 3.938 kB / 490.5 MB, free: 8.156 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.0005069/0.1223, allocations: 235.4 kB / 490.8 MB, free: 7.914 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.67e-05/0.1223, allocations: 114.8 kB / 490.9 MB, free: 7.777 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001493/0.1225, allocations: 150 kB / 491 MB, free: 7.617 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.146e-05/0.1225, allocations: 29.7 kB / 491.1 MB, free: 7.582 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.306e-05/0.1226, allocations: 88.14 kB / 491.1 MB, free: 7.492 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.064e-05/0.1226, allocations: 35.73 kB / 491.2 MB, free: 7.457 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.072e-05/0.1227, allocations: 21.72 kB / 491.2 MB, free: 7.43 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001441/0.1228, allocations: 326.8 kB / 491.5 MB, free: 7.102 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.973e-05/0.1229, allocations: 35.98 kB / 491.6 MB, free: 7.066 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.833e-05/0.123, allocations: 53.69 kB / 491.6 MB, free: 7.008 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002161/0.1232, allocations: 152.9 kB / 491.8 MB, free: 6.84 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.1232, allocations: 0 / 491.8 MB, free: 6.84 MB / 350.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003235/0.1235, allocations: 187.6 kB / 491.9 MB, free: 6.645 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.896e-05/0.1236, allocations: 37.7 kB / 492 MB, free: 6.602 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.548e-06/0.1236, allocations: 0 / 492 MB, free: 6.602 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.446e-05/0.1236, allocations: 3.984 kB / 492 MB, free: 6.598 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.595e-05/0.1237, allocations: 16 kB / 492 MB, free: 6.582 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.05e-06/0.1237, allocations: 0 / 492 MB, free: 6.582 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.314e-05/0.1237, allocations: 11.89 kB / 492 MB, free: 6.57 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.77e-05/0.1238, allocations: 11.92 kB / 492 MB, free: 6.559 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.0001386/0.1239, allocations: 158.7 kB / 492.2 MB, free: 6.391 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.734e-05/0.1239, allocations: 23.94 kB / 492.2 MB, free: 6.367 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.677e-05/0.124, allocations: 8.719 kB / 492.2 MB, free: 6.355 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.696e-06/0.124, allocations: 4 kB / 492.2 MB, free: 6.352 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.203e-06/0.124, allocations: 4 kB / 492.2 MB, free: 6.348 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.355e-05/0.124, allocations: 0 / 492.2 MB, free: 6.348 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001774/0.1242, allocations: 176.5 kB / 492.4 MB, free: 6.133 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.1242, allocations: 0 / 492.4 MB, free: 6.133 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.943e-05/0.1242, allocations: 15.92 kB / 492.4 MB, free: 6.117 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.1242, allocations: 3.938 kB / 492.4 MB, free: 6.113 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.749e-05/0.1242, allocations: 8 kB / 492.4 MB, free: 6.105 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.1242, allocations: 0 / 492.4 MB, free: 6.105 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.1242, allocations: 4 kB / 492.4 MB, free: 6.102 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003947/0.1246, allocations: 247.5 kB / 492.7 MB, free: 5.832 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.254e-05/0.1247, allocations: 11.94 kB / 492.7 MB, free: 5.82 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.304e-05/0.1247, allocations: 8 kB / 492.7 MB, free: 5.812 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.431e-05/0.1248, allocations: 4 kB / 492.7 MB, free: 5.809 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.342e-05/0.1248, allocations: 7.984 kB / 492.7 MB, free: 5.801 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.061e-05/0.1248, allocations: 7.938 kB / 492.7 MB, free: 5.793 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001011/0.1249, allocations: 123.2 kB / 492.8 MB, free: 5.672 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1249, allocations: 0 / 492.8 MB, free: 5.672 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003386/0.1253, allocations: 95.67 kB / 492.9 MB, free: 5.578 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.00209/0.1274, allocations: 0.5888 MB / 493.5 MB, free: 5.16 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003254/0.1277, allocations: 155.3 kB / 493.7 MB, free: 4.996 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.255e-06/0.1277, allocations: 3.938 kB / 493.7 MB, free: 4.992 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001619/0.1278, allocations: 107.4 kB / 493.8 MB, free: 4.875 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002302/0.1281, allocations: 14.41 kB / 493.8 MB, free: 4.863 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004862/0.1286, allocations: 239.4 kB / 494 MB, free: 4.602 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003274/0.1289, allocations: 0.704 MB / 494.7 MB, free: 3.871 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.143e-05/0.1289, allocations: 11.94 kB / 494.7 MB, free: 3.859 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.102e-05/0.129, allocations: 15.42 kB / 494.7 MB, free: 3.844 MB / 350.1 MB Notification: Performance of SimCode: time 3.3e-07/0.129, allocations: 4 kB / 494.7 MB, free: 3.84 MB / 350.1 MB Notification: Performance of Templates: time 0.006974/0.1359, allocations: 3.004 MB / 497.7 MB, free: 0.8438 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f ExternData_ExternData.Examples.XLSXTest.makefile [Timeout 660] (rm -f ExternData_ExternData.Examples.XLSXTest.pipe ; mkfifo ExternData_ExternData.Examples.XLSXTest.pipe ; head -c 1048576 < ExternData_ExternData.Examples.XLSXTest.pipe >> ../files/ExternData_ExternData.Examples.XLSXTest.sim & ./ExternData_ExternData.Examples.XLSXTest -abortSlowSimulation -alarm=480 -lv LOG_STATS > ExternData_ExternData.Examples.XLSXTest.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.815382892265916] Failed to read output from testmodel.py, exit status != 0: 0.1435903264209628 0.159039076 0.036723977000000005 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7fae916017b0>