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.006514/0.006515, allocations: 101.8 kB / 15.73 MB, free: 5.492 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.001129/0.001129, allocations: 186.8 kB / 16.67 MB, free: 5.422 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.422/1.422, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.4/package.mo): time 0.01393/0.01393, allocations: 2.955 MB / 293.5 MB, free: 11.78 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001901/0.001901, allocations: 59.91 kB / 406.2 MB, free: 28.77 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1154/0.1173, allocations: 50.34 MB / 456.6 MB, free: 10.38 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.XLSTest): time 0.003524/0.1209, allocations: 1.672 MB / 458.3 MB, free: 8.707 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00281/0.1238, allocations: 1.724 MB / 460 MB, free: 6.973 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.206e-05/0.1239, allocations: 3.938 kB / 460 MB, free: 6.969 MB / 334.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.0004375/0.1243, allocations: 43.78 kB / 460 MB, free: 6.926 MB / 334.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.0006192/0.125, allocations: 175.2 kB / 460.2 MB, free: 6.754 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002845/0.1253, allocations: 87.77 kB / 460.3 MB, free: 6.668 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001612/0.1254, allocations: 91.77 kB / 460.4 MB, free: 6.578 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001034/0.1255, allocations: 15.94 kB / 460.4 MB, free: 6.562 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.604e-05/0.1256, allocations: 47.77 kB / 460.4 MB, free: 6.516 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001733/0.1258, allocations: 39.84 kB / 460.5 MB, free: 6.477 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.957e-05/0.1259, allocations: 4 kB / 460.5 MB, free: 6.473 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004068/0.1263, allocations: 271.6 kB / 460.7 MB, free: 6.207 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.93e-05/0.1263, allocations: 23.91 kB / 460.8 MB, free: 6.184 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.682e-05/0.1264, allocations: 43.67 kB / 460.8 MB, free: 6.141 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004996/0.1269, allocations: 303.4 kB / 461.1 MB, free: 5.844 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.217e-06/0.1269, allocations: 3.938 kB / 461.1 MB, free: 5.84 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.532e-06/0.1269, allocations: 0 / 461.1 MB, free: 5.84 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.62e-06/0.127, allocations: 0 / 461.1 MB, free: 5.84 MB / 334.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.0006189/0.1276, allocations: 480.8 kB / 461.6 MB, free: 5.316 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.576e-05/0.1276, allocations: 11.89 kB / 461.6 MB, free: 5.305 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.481e-05/0.1277, allocations: 16.73 kB / 461.6 MB, free: 5.289 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003083/0.128, allocations: 200.2 kB / 461.8 MB, free: 5.055 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.233e-05/0.128, allocations: 12.31 kB / 461.8 MB, free: 5.043 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.102e-05/0.128, allocations: 12.12 kB / 461.8 MB, free: 5.031 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002305/0.1283, allocations: 91.36 kB / 461.9 MB, free: 4.93 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.638e-06/0.1283, allocations: 7.922 kB / 461.9 MB, free: 4.922 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.484e-05/0.1283, allocations: 4 kB / 461.9 MB, free: 4.918 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.669e-06/0.1283, allocations: 0 / 461.9 MB, free: 4.918 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001369/0.1285, allocations: 55.95 kB / 462 MB, free: 4.863 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004051/0.1289, allocations: 309.6 kB / 462.3 MB, free: 4.508 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002403/0.1291, allocations: 97.22 kB / 462.4 MB, free: 4.395 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001019/0.1293, allocations: 57.75 kB / 462.4 MB, free: 4.332 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.342e-05/0.1293, allocations: 4 kB / 462.4 MB, free: 4.328 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001997/0.1295, allocations: 146.6 kB / 462.6 MB, free: 4.16 MB / 334.1 MB Notification: Performance of pre-optimization done (n=11): time 1.492e-06/0.1295, allocations: 0 / 462.6 MB, free: 4.16 MB / 334.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004743/0.13, allocations: 227.2 kB / 462.8 MB, free: 3.926 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.631e-05/0.1301, allocations: 106.8 kB / 462.9 MB, free: 3.797 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001381/0.1302, allocations: 160.6 kB / 463.1 MB, free: 3.633 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.767e-05/0.1302, allocations: 25.7 kB / 463.1 MB, free: 3.602 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.452e-05/0.1303, allocations: 96.05 kB / 463.2 MB, free: 3.504 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.654e-05/0.1303, allocations: 31.78 kB / 463.2 MB, free: 3.473 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.026e-05/0.1304, allocations: 25.7 kB / 463.2 MB, free: 3.441 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001142/0.1305, allocations: 322.8 kB / 463.6 MB, free: 3.117 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.815e-05/0.1306, allocations: 39.97 kB / 463.6 MB, free: 3.078 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.617e-05/0.1307, allocations: 53.7 kB / 463.7 MB, free: 3.02 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001928/0.1309, allocations: 153 kB / 463.8 MB, free: 2.852 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-06/0.1309, allocations: 0 / 463.8 MB, free: 2.852 MB / 334.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003098/0.1312, allocations: 191.1 kB / 464 MB, free: 2.652 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.064e-05/0.1313, allocations: 41.69 kB / 464 MB, free: 2.605 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.1313, allocations: 3.938 kB / 464 MB, free: 2.602 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.572e-05/0.1313, allocations: 0 / 464 MB, free: 2.602 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.502e-05/0.1314, allocations: 12 kB / 464 MB, free: 2.59 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.726e-06/0.1314, allocations: 4 kB / 464 MB, free: 2.586 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.583e-05/0.1315, allocations: 11.92 kB / 464.1 MB, free: 2.574 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.454e-05/0.1315, allocations: 4 kB / 464.1 MB, free: 2.57 MB / 334.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.0001249/0.1316, allocations: 164.1 kB / 464.2 MB, free: 2.395 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.005e-05/0.1317, allocations: 11.91 kB / 464.2 MB, free: 2.383 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.733e-05/0.1317, allocations: 8.719 kB / 464.2 MB, free: 2.371 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.1317, allocations: 0 / 464.2 MB, free: 2.371 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.913e-06/0.1317, allocations: 4 kB / 464.2 MB, free: 2.367 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.498e-06/0.1317, allocations: 11.88 kB / 464.3 MB, free: 2.355 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001651/0.1319, allocations: 205.5 kB / 464.5 MB, free: 2.105 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.1319, allocations: 0 / 464.5 MB, free: 2.105 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.294e-05/0.132, allocations: 8 kB / 464.5 MB, free: 2.098 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.132, allocations: 336 / 464.5 MB, free: 2.098 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.516e-05/0.132, allocations: 4 kB / 464.5 MB, free: 2.094 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.132, allocations: 0 / 464.5 MB, free: 2.094 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.132, allocations: 0 / 464.5 MB, free: 2.094 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000379/0.1324, allocations: 259.4 kB / 464.7 MB, free: 1.812 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.862e-05/0.1325, allocations: 85.02 kB / 464.8 MB, free: 1.711 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.561e-05/0.1325, allocations: 8 kB / 464.8 MB, free: 1.703 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.289e-05/0.1326, allocations: 7.984 kB / 464.8 MB, free: 1.695 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.1e-05/0.1327, allocations: 7.938 kB / 464.8 MB, free: 1.688 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.534e-05/0.1327, allocations: 8 kB / 464.8 MB, free: 1.68 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001052/0.1328, allocations: 122.4 kB / 465 MB, free: 1.562 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1328, allocations: 0 / 465 MB, free: 1.562 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000416/0.1332, allocations: 99.92 kB / 465.1 MB, free: 1.465 MB / 334.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.00116/0.1344, allocations: 464.8 kB / 465.5 MB, free: 1.113 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003817/0.1348, allocations: 191.3 kB / 465.7 MB, free: 0.9141 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.1348, allocations: 0 / 465.7 MB, free: 0.9141 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001768/0.135, allocations: 135.4 kB / 465.8 MB, free: 0.7695 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002591/0.1353, allocations: 19.48 kB / 465.8 MB, free: 0.7539 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005734/0.1358, allocations: 251.2 kB / 466.1 MB, free: 488 kB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003239/0.1362, allocations: 0.7001 MB / 466.8 MB, free: 15.75 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.216e-05/0.1362, allocations: 11.98 kB / 466.8 MB, free: 15.74 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.279e-05/0.1363, allocations: 11.44 kB / 466.8 MB, free: 15.73 MB / 350.1 MB Notification: Performance of SimCode: time 9.62e-07/0.1363, allocations: 0 / 466.8 MB, free: 15.73 MB / 350.1 MB Notification: Performance of Templates: time 0.006459/0.1428, allocations: 3.001 MB / 469.8 MB, free: 12.73 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)