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-master/package.mo", uses=false) Using package ExternData with version 3.0.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.4-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.001149/0.001149, allocations: 111.2 kB / 16.42 MB, free: 6.461 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.001084/0.001085, allocations: 190.7 kB / 17.35 MB, free: 5.715 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.324/1.324, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.4-master/package.mo): time 0.01255/0.01255, allocations: 2.951 MB / 294.2 MB, free: 11.79 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001154/0.001154, allocations: 63.91 kB / 406.9 MB, free: 28.77 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06962/0.07078, allocations: 50.32 MB / 457.3 MB, free: 10.39 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.XLSTest): time 0.002586/0.0734, allocations: 1.676 MB / 458.9 MB, free: 8.707 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0022/0.07561, allocations: 1.72 MB / 460.7 MB, free: 6.977 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.243e-05/0.07568, allocations: 0 / 460.7 MB, free: 6.977 MB / 334.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.4-master/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.0002819/0.07597, allocations: 51.77 kB / 460.7 MB, free: 6.926 MB / 334.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.4-master/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.0004359/0.07641, allocations: 171.2 kB / 460.9 MB, free: 6.758 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002083/0.07663, allocations: 83.78 kB / 461 MB, free: 6.676 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001376/0.07678, allocations: 99.69 kB / 461.1 MB, free: 6.578 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.881e-05/0.07686, allocations: 19.92 kB / 461.1 MB, free: 6.559 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.513e-05/0.07694, allocations: 35.86 kB / 461.1 MB, free: 6.523 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001423/0.07709, allocations: 47.77 kB / 461.2 MB, free: 6.477 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.104e-05/0.07712, allocations: 4 kB / 461.2 MB, free: 6.473 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003553/0.07748, allocations: 275.6 kB / 461.4 MB, free: 6.203 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.272e-05/0.07754, allocations: 19.92 kB / 461.5 MB, free: 6.184 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.622e-05/0.0776, allocations: 39.73 kB / 461.5 MB, free: 6.145 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000406/0.07801, allocations: 307.3 kB / 461.8 MB, free: 5.844 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.07803, allocations: 0 / 461.8 MB, free: 5.844 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.07803, allocations: 0 / 461.8 MB, free: 5.844 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.188e-06/0.07804, allocations: 3.938 kB / 461.8 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.0005554/0.0786, allocations: 484.8 kB / 462.3 MB, free: 5.312 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.761e-05/0.07865, allocations: 11.89 kB / 462.3 MB, free: 5.301 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.737e-05/0.0787, allocations: 12.75 kB / 462.3 MB, free: 5.289 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002359/0.07894, allocations: 207.6 kB / 462.5 MB, free: 5.051 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.18e-05/0.07896, allocations: 8.375 kB / 462.5 MB, free: 5.043 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.678e-05/0.07899, allocations: 12.12 kB / 462.5 MB, free: 5.031 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001951/0.07919, allocations: 91.31 kB / 462.6 MB, free: 4.93 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.414e-06/0.0792, allocations: 0 / 462.6 MB, free: 4.93 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.129e-05/0.07922, allocations: 0 / 462.6 MB, free: 4.93 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.777e-06/0.07923, allocations: 4 kB / 462.6 MB, free: 4.926 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001337/0.07937, allocations: 51.97 kB / 462.7 MB, free: 4.875 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003773/0.07976, allocations: 321.5 kB / 463 MB, free: 4.508 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002253/0.07999, allocations: 93.28 kB / 463.1 MB, free: 4.398 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001037/0.08011, allocations: 65.67 kB / 463.1 MB, free: 4.328 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.129e-05/0.08013, allocations: 4 kB / 463.1 MB, free: 4.324 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001942/0.08033, allocations: 138.7 kB / 463.3 MB, free: 4.164 MB / 334.1 MB Notification: Performance of pre-optimization done (n=11): time 1.282e-06/0.08034, allocations: 0 / 463.3 MB, free: 4.164 MB / 334.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004455/0.08079, allocations: 227.2 kB / 463.5 MB, free: 3.93 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.833e-05/0.08085, allocations: 106.8 kB / 463.6 MB, free: 3.801 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001248/0.08099, allocations: 160.3 kB / 463.8 MB, free: 3.637 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.809e-05/0.08102, allocations: 25.7 kB / 463.8 MB, free: 3.605 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.974e-05/0.08107, allocations: 96.05 kB / 463.9 MB, free: 3.508 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.28e-05/0.08111, allocations: 31.78 kB / 463.9 MB, free: 3.477 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.586e-05/0.08116, allocations: 21.72 kB / 463.9 MB, free: 3.449 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000102/0.08127, allocations: 326.8 kB / 464.2 MB, free: 3.121 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.33e-05/0.08136, allocations: 35.98 kB / 464.3 MB, free: 3.086 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.358e-05/0.08146, allocations: 57.62 kB / 464.3 MB, free: 3.023 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001789/0.08165, allocations: 145.1 kB / 464.5 MB, free: 2.863 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.08166, allocations: 0 / 464.5 MB, free: 2.863 MB / 334.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002936/0.08196, allocations: 195.4 kB / 464.7 MB, free: 2.66 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.937e-05/0.08201, allocations: 37.7 kB / 464.7 MB, free: 2.617 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.654e-06/0.08202, allocations: 11.97 kB / 464.7 MB, free: 2.605 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.062e-05/0.08204, allocations: 0 / 464.7 MB, free: 2.605 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.047e-05/0.0821, allocations: 12 kB / 464.7 MB, free: 2.594 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.835e-06/0.08212, allocations: 0 / 464.7 MB, free: 2.594 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.983e-05/0.08219, allocations: 8 kB / 464.7 MB, free: 2.586 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.277e-05/0.08221, allocations: 11.86 kB / 464.8 MB, free: 2.574 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.0001051/0.08232, allocations: 160.1 kB / 464.9 MB, free: 2.402 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.938e-05/0.08236, allocations: 11.89 kB / 464.9 MB, free: 2.391 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.327e-05/0.0824, allocations: 12.72 kB / 464.9 MB, free: 2.375 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.08241, allocations: 0 / 464.9 MB, free: 2.375 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.08241, allocations: 3.938 kB / 464.9 MB, free: 2.371 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.273e-05/0.08246, allocations: 93 kB / 465 MB, free: 2.262 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.048e-05/0.0825, allocations: 11.94 kB / 465 MB, free: 2.25 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.625e-05/0.08257, allocations: 8 kB / 465 MB, free: 2.242 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.482e-05/0.08261, allocations: 7.984 kB / 465.1 MB, free: 2.234 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004069/0.08302, allocations: 417.1 kB / 465.5 MB, free: 1.801 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004029/0.08344, allocations: 467.6 kB / 465.9 MB, free: 1.32 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000117/0.08357, allocations: 79.91 kB / 466 MB, free: 1.242 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.487e-05/0.08367, allocations: 122.4 kB / 466.1 MB, free: 1.125 MB / 334.1 MB Notification: Performance of Backend: time 3.01e-07/0.08368, allocations: 0 / 466.1 MB, free: 1.125 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.00138/0.08507, allocations: 0.567 MB / 466.7 MB, free: 0.668 MB / 334.1 MB Notification: Performance of SimCode: time 0.000565/0.08564, allocations: 0.7141 MB / 467.4 MB, free: 15.89 MB / 350.1 MB Notification: Performance of Templates: time 0.006003/0.09166, allocations: 3.112 MB / 470.5 MB, free: 12.79 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)