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) 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.XLSXTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ExternData_ExternData.Examples.XLSXTest") translateModel(ExternData.Examples.XLSXTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ExternData_ExternData.Examples.XLSXTest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008066/0.008073, allocations: 98.48 kB / 15.73 MB, free: 6.008 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.0012/0.0012, allocations: 192.7 kB / 16.67 MB, free: 5.93 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.395/1.395, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.4/package.mo): time 0.01318/0.01318, allocations: 2.955 MB / 293.5 MB, free: 11.77 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001755/0.001755, allocations: 63.89 kB / 406.3 MB, free: 28.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1338/0.1356, allocations: 50.33 MB / 456.6 MB, free: 10.38 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.XLSXTest): time 0.003958/0.1396, allocations: 1.664 MB / 458.3 MB, free: 8.707 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00345/0.1431, allocations: 1.716 MB / 460 MB, free: 6.98 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.812e-05/0.1432, allocations: 0 / 460 MB, free: 6.98 MB / 334.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.4/package.mo:221:3-248:15:writable] Warning: Pure function 'ExternData.XLSXFile' contains a call to impure function 'ExternData.Types.ExternXLSXFile.constructor'. Notification: Performance of NFTyping.typeComponents: time 0.0004239/0.1436, allocations: 47.77 kB / 460 MB, free: 6.934 MB / 334.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.4/Examples/package.mo:139:5-159: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.0006737/0.1443, allocations: 175.2 kB / 460.2 MB, free: 6.762 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003133/0.1446, allocations: 79.78 kB / 460.3 MB, free: 6.684 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002084/0.1449, allocations: 95.75 kB / 460.4 MB, free: 6.59 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001057/0.145, allocations: 12.22 kB / 460.4 MB, free: 6.574 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.203e-05/0.1451, allocations: 39.8 kB / 460.4 MB, free: 6.535 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002167/0.1453, allocations: 43.83 kB / 460.4 MB, free: 6.492 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.561e-05/0.1454, allocations: 4 kB / 460.5 MB, free: 6.488 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005163/0.1459, allocations: 267.6 kB / 460.7 MB, free: 6.227 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.846e-05/0.146, allocations: 19.92 kB / 460.7 MB, free: 6.207 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 9.412e-05/0.1461, allocations: 43.78 kB / 460.8 MB, free: 6.164 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005728/0.1467, allocations: 295 kB / 461.1 MB, free: 5.875 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.272e-06/0.1467, allocations: 4 kB / 461.1 MB, free: 5.871 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.444e-06/0.1467, allocations: 0 / 461.1 MB, free: 5.871 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.623e-06/0.1467, allocations: 3.938 kB / 461.1 MB, free: 5.867 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.0007794/0.1475, allocations: 484.1 kB / 461.5 MB, free: 5.34 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.115e-05/0.1475, allocations: 15.83 kB / 461.6 MB, free: 5.324 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.135e-05/0.1476, allocations: 16.84 kB / 461.6 MB, free: 5.309 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003338/0.148, allocations: 200.2 kB / 461.8 MB, free: 5.074 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.134e-05/0.148, allocations: 4.375 kB / 461.8 MB, free: 5.07 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.646e-05/0.148, allocations: 16.12 kB / 461.8 MB, free: 5.055 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002596/0.1483, allocations: 95.3 kB / 461.9 MB, free: 4.949 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.468e-06/0.1483, allocations: 0 / 461.9 MB, free: 4.949 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.74e-05/0.1483, allocations: 4 kB / 461.9 MB, free: 4.945 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.059e-06/0.1483, allocations: 0 / 461.9 MB, free: 4.945 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001843/0.1485, allocations: 55.91 kB / 461.9 MB, free: 4.891 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005483/0.1491, allocations: 313.7 kB / 462.3 MB, free: 4.531 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003468/0.1495, allocations: 97.22 kB / 462.3 MB, free: 4.418 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001484/0.1496, allocations: 61.73 kB / 462.4 MB, free: 4.352 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.494e-05/0.1496, allocations: 0 / 462.4 MB, free: 4.352 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002584/0.1499, allocations: 134.8 kB / 462.5 MB, free: 4.195 MB / 334.1 MB Notification: Performance of pre-optimization done (n=11): time 1.593e-06/0.1499, allocations: 0 / 462.5 MB, free: 4.195 MB / 334.1 MB Notification: Performance of matching and sorting (n=11): time 0.0006634/0.1506, allocations: 231.6 kB / 462.8 MB, free: 3.957 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.089e-05/0.1507, allocations: 110.8 kB / 462.9 MB, free: 3.824 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001675/0.1509, allocations: 153.6 kB / 463 MB, free: 3.664 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.393e-05/0.1509, allocations: 29.7 kB / 463.1 MB, free: 3.629 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.413e-05/0.151, allocations: 92.12 kB / 463.1 MB, free: 3.535 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.541e-05/0.151, allocations: 31.69 kB / 463.2 MB, free: 3.504 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.412e-05/0.1511, allocations: 29.7 kB / 463.2 MB, free: 3.469 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000135/0.1513, allocations: 318.8 kB / 463.5 MB, free: 3.148 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001226/0.1514, allocations: 43.97 kB / 463.6 MB, free: 3.105 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001153/0.1515, allocations: 49.7 kB / 463.6 MB, free: 3.051 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002565/0.1518, allocations: 157 kB / 463.8 MB, free: 2.879 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.1518, allocations: 0 / 463.8 MB, free: 2.879 MB / 334.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003916/0.1522, allocations: 191.1 kB / 463.9 MB, free: 2.68 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.134e-05/0.1523, allocations: 41.69 kB / 464 MB, free: 2.633 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.665e-06/0.1523, allocations: 0 / 464 MB, free: 2.633 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.768e-05/0.1523, allocations: 3.938 kB / 464 MB, free: 2.629 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.668e-05/0.1524, allocations: 8 kB / 464 MB, free: 2.621 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.674e-06/0.1524, allocations: 8 kB / 464 MB, free: 2.613 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.151e-05/0.1525, allocations: 7.984 kB / 464 MB, free: 2.605 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.742e-05/0.1525, allocations: 7.938 kB / 464 MB, free: 2.598 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.0001619/0.1527, allocations: 162.6 kB / 464.2 MB, free: 2.426 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.703e-05/0.1528, allocations: 11.95 kB / 464.2 MB, free: 2.414 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.188e-05/0.1528, allocations: 8.719 kB / 464.2 MB, free: 2.402 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.544e-06/0.1528, allocations: 0 / 464.2 MB, free: 2.402 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.1528, allocations: 4 kB / 464.2 MB, free: 2.398 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.1529, allocations: 0 / 464.2 MB, free: 2.398 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002111/0.1531, allocations: 221.5 kB / 464.4 MB, free: 2.133 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/0.1531, allocations: 0 / 464.4 MB, free: 2.133 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.406e-05/0.1532, allocations: 8 kB / 464.4 MB, free: 2.125 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.1532, allocations: 0 / 464.4 MB, free: 2.125 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.153e-05/0.1532, allocations: 4 kB / 464.4 MB, free: 2.121 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.1532, allocations: 3.938 kB / 464.4 MB, free: 2.117 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.1532, allocations: 0 / 464.4 MB, free: 2.117 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004783/0.1537, allocations: 251.5 kB / 464.7 MB, free: 1.844 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.799e-05/0.1538, allocations: 89.06 kB / 464.8 MB, free: 1.738 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.775e-05/0.1538, allocations: 4 kB / 464.8 MB, free: 1.734 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.136e-05/0.1539, allocations: 7.984 kB / 464.8 MB, free: 1.727 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.428e-05/0.154, allocations: 4 kB / 464.8 MB, free: 1.723 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.348e-05/0.154, allocations: 11.94 kB / 464.8 MB, free: 1.711 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001188/0.1541, allocations: 115.2 kB / 464.9 MB, free: 1.598 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.1542, allocations: 0 / 464.9 MB, free: 1.598 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004993/0.1547, allocations: 95.67 kB / 465 MB, free: 1.504 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.002003/0.1567, allocations: 0.5918 MB / 465.6 MB, free: 1.082 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004674/0.1572, allocations: 187.3 kB / 465.8 MB, free: 0.8867 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.1572, allocations: 4 kB / 465.8 MB, free: 0.8828 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002226/0.1574, allocations: 139.3 kB / 465.9 MB, free: 0.7344 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000325/0.1577, allocations: 23.11 kB / 465.9 MB, free: 0.7148 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006239/0.1584, allocations: 231.6 kB / 466.2 MB, free: 468 kB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003571/0.1588, allocations: 0.7002 MB / 466.9 MB, free: 15.73 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.106e-05/0.1588, allocations: 8 kB / 466.9 MB, free: 15.72 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.104e-05/0.1589, allocations: 23.42 kB / 466.9 MB, free: 15.7 MB / 350.1 MB Notification: Performance of SimCode: time 2.81e-07/0.1589, allocations: 0 / 466.9 MB, free: 15.7 MB / 350.1 MB Notification: Performance of Templates: time 0.00839/0.1673, allocations: 2.965 MB / 469.9 MB, free: 12.75 MB / 350.1 MB make -j1 -f ExternData_ExternData.Examples.XLSXTest.makefile (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)