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.007059/0.007059, allocations: 102.9 kB / 15.73 MB, free: 6.488 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.001366/0.001366, allocations: 195.2 kB / 16.68 MB, free: 6.375 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.397/1.397, allocations: 222.9 MB / 240.4 MB, free: 4.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.4/package.mo): time 0.1506/0.1506, allocations: 2.934 MB / 293.5 MB, free: 3.18 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001376/0.001377, allocations: 63.89 kB / 406.3 MB, free: 168 kB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3501/0.3515, allocations: 50.33 MB / 456.6 MB, free: 28.24 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.XLSXTest): time 0.003378/0.3549, allocations: 1.681 MB / 458.3 MB, free: 27.08 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002464/0.3574, allocations: 1.703 MB / 460 MB, free: 25.89 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.621e-05/0.3575, allocations: 3.062 kB / 460 MB, free: 25.89 MB / 366.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.0004037/0.358, allocations: 46.41 kB / 460 MB, free: 25.87 MB / 366.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.000626/0.3586, allocations: 172.3 kB / 460.2 MB, free: 25.78 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000283/0.3589, allocations: 98.53 kB / 460.3 MB, free: 25.73 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001811/0.3591, allocations: 78.61 kB / 460.4 MB, free: 25.7 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.475e-05/0.3592, allocations: 17.72 kB / 460.4 MB, free: 25.69 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.873e-05/0.3593, allocations: 45.61 kB / 460.4 MB, free: 25.66 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001816/0.3595, allocations: 42.56 kB / 460.5 MB, free: 25.64 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.959e-05/0.3595, allocations: 6.344 kB / 460.5 MB, free: 25.64 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004477/0.36, allocations: 260.6 kB / 460.7 MB, free: 25.56 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.786e-05/0.36, allocations: 24.53 kB / 460.7 MB, free: 25.55 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 7.097e-05/0.3601, allocations: 42.73 kB / 460.8 MB, free: 25.52 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006145/0.3607, allocations: 290.9 kB / 461.1 MB, free: 25.41 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.3608, allocations: 3.312 kB / 461.1 MB, free: 25.41 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.235e-06/0.3608, allocations: 4 kB / 461.1 MB, free: 25.41 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.686e-06/0.3608, allocations: 0 / 461.1 MB, free: 25.41 MB / 366.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.0007009/0.3615, allocations: 477.6 kB / 461.5 MB, free: 24.95 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.333e-05/0.3615, allocations: 13.77 kB / 461.6 MB, free: 24.95 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.161e-05/0.3616, allocations: 8.188 kB / 461.6 MB, free: 24.95 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002851/0.3619, allocations: 213.1 kB / 461.8 MB, free: 24.72 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.554e-05/0.3619, allocations: 3.438 kB / 461.8 MB, free: 24.72 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.774e-05/0.3619, allocations: 7.406 kB / 461.8 MB, free: 24.72 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002136/0.3622, allocations: 96.44 kB / 461.9 MB, free: 24.65 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.866e-06/0.3622, allocations: 0 / 461.9 MB, free: 24.65 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.79e-05/0.3622, allocations: 0 / 461.9 MB, free: 24.65 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.138e-05/0.3622, allocations: 7.203 kB / 461.9 MB, free: 24.65 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001436/0.3624, allocations: 57.59 kB / 461.9 MB, free: 24.63 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003966/0.3628, allocations: 310.2 kB / 462.2 MB, free: 24.33 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000246/0.363, allocations: 97.23 kB / 462.3 MB, free: 24.26 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001153/0.3632, allocations: 58.45 kB / 462.4 MB, free: 24.23 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.55e-05/0.3632, allocations: 0 / 462.4 MB, free: 24.23 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000198/0.3634, allocations: 145.1 kB / 462.5 MB, free: 24.11 MB / 366.1 MB Notification: Performance of pre-optimization done (n=11): time 1.453e-06/0.3634, allocations: 0 / 462.5 MB, free: 24.11 MB / 366.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004592/0.3639, allocations: 232.5 kB / 462.8 MB, free: 24 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.543e-05/0.3639, allocations: 110.1 kB / 462.9 MB, free: 23.87 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001166/0.3641, allocations: 154.5 kB / 463 MB, free: 23.75 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.316e-05/0.3641, allocations: 29.7 kB / 463.1 MB, free: 23.71 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.79e-05/0.3641, allocations: 94.61 kB / 463.1 MB, free: 23.62 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.046e-05/0.3642, allocations: 26.86 kB / 463.2 MB, free: 23.6 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.415e-05/0.3642, allocations: 26.59 kB / 463.2 MB, free: 23.58 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 5.713e-05/0.3643, allocations: 325.2 kB / 463.5 MB, free: 23.26 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.033e-05/0.3644, allocations: 41.17 kB / 463.6 MB, free: 23.25 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.777e-05/0.3644, allocations: 50.73 kB / 463.6 MB, free: 23.22 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001619/0.3646, allocations: 148 kB / 463.8 MB, free: 23.11 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.3646, allocations: 0 / 463.8 MB, free: 23.11 MB / 366.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002643/0.3649, allocations: 190.4 kB / 463.9 MB, free: 23.01 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.63e-05/0.3649, allocations: 39.58 kB / 464 MB, free: 22.97 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.181e-06/0.365, allocations: 0 / 464 MB, free: 22.97 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.719e-05/0.365, allocations: 3.281 kB / 464 MB, free: 22.97 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.21e-05/0.365, allocations: 13.09 kB / 464 MB, free: 22.97 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.822e-06/0.3651, allocations: 0 / 464 MB, free: 22.97 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.669e-05/0.3651, allocations: 19.09 kB / 464 MB, free: 22.96 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.442e-05/0.3652, allocations: 10.41 kB / 464 MB, free: 22.95 MB / 366.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.000102/0.3653, allocations: 150.3 kB / 464.2 MB, free: 22.8 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.647e-05/0.3653, allocations: 13.88 kB / 464.2 MB, free: 22.8 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.129e-05/0.3653, allocations: 11.88 kB / 464.2 MB, free: 22.79 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.3653, allocations: 3.406 kB / 464.2 MB, free: 22.79 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.501e-06/0.3653, allocations: 0 / 464.2 MB, free: 22.79 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.3654, allocations: 0 / 464.2 MB, free: 22.79 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001415/0.3655, allocations: 204.2 kB / 464.4 MB, free: 22.58 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/0.3655, allocations: 0 / 464.4 MB, free: 22.58 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.84e-05/0.3656, allocations: 20.27 kB / 464.4 MB, free: 22.57 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.3656, allocations: 0 / 464.4 MB, free: 22.57 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.92e-05/0.3656, allocations: 6.969 kB / 464.4 MB, free: 22.57 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.3656, allocations: 3.094 kB / 464.4 MB, free: 22.57 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.3656, allocations: 0 / 464.4 MB, free: 22.57 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003168/0.3659, allocations: 250.2 kB / 464.7 MB, free: 22.41 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.231e-05/0.366, allocations: 88.19 kB / 464.8 MB, free: 22.31 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.165e-05/0.366, allocations: 6.656 kB / 464.8 MB, free: 22.31 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.523e-05/0.3661, allocations: 7.125 kB / 464.8 MB, free: 22.3 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.465e-05/0.3661, allocations: 6.641 kB / 464.8 MB, free: 22.3 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.956e-05/0.3662, allocations: 14.34 kB / 464.8 MB, free: 22.3 MB / 366.1 MB Notification: Performance of sorting global known variables: time 6.639e-05/0.3662, allocations: 113 kB / 464.9 MB, free: 22.21 MB / 366.1 MB Notification: Performance of sort global known variables: time 4.6e-07/0.3662, allocations: 0 / 464.9 MB, free: 22.21 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003766/0.3666, allocations: 95.23 kB / 465 MB, free: 22.18 MB / 366.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.001386/0.368, allocations: 0.5927 MB / 465.6 MB, free: 21.9 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002917/0.3683, allocations: 190 kB / 465.8 MB, free: 21.79 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.3683, allocations: 0 / 465.8 MB, free: 21.79 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001276/0.3685, allocations: 138.9 kB / 465.9 MB, free: 21.69 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002304/0.3687, allocations: 17.2 kB / 465.9 MB, free: 21.68 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004257/0.3691, allocations: 240.9 kB / 466.2 MB, free: 21.51 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00013/0.3693, allocations: 0.7047 MB / 466.9 MB, free: 20.81 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 3.721e-05/0.3693, allocations: 6.031 kB / 466.9 MB, free: 20.81 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.432e-05/0.3694, allocations: 21.08 kB / 466.9 MB, free: 20.8 MB / 366.1 MB Notification: Performance of SimCode: time 1.042e-06/0.3694, allocations: 0 / 466.9 MB, free: 20.8 MB / 366.1 MB Notification: Performance of Templates: time 0.006182/0.3756, allocations: 2.965 MB / 469.9 MB, free: 20.5 MB / 366.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)