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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009055/0.0009055, allocations: 80.88 kB / 19.94 MB, free: 4.547 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008912/0.0008912, allocations: 181 kB / 23.36 MB, free: 1.133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.886/0.886, allocations: 177.1 MB / 203.8 MB, free: 5.48 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.2.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.2.0/package.mo): time 0.0101/0.0101, allocations: 2.271 MB / 262.5 MB, free: 10.66 MB / 250.7 MB " [Timeout remaining time 180] Using package ExternData with version 3.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.2.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ExternData.Examples.XLSTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ExternData_ExternData.Examples.XLSTest") translateModel(ExternData.Examples.XLSTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ExternData_ExternData.Examples.XLSTest") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 280 MB, free: 9.203 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.078e-05/2.236e-05, allocations: 2.312 kB / 280 MB, free: 9.199 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.XLSTest): time 0.003262/0.003285, allocations: 1.717 MB / 281.7 MB, free: 7.465 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001828/0.005112, allocations: 1.843 MB / 283.6 MB, free: 5.613 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.346e-05/0.005176, allocations: 0 / 283.6 MB, free: 5.613 MB / 266.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.2.0/package.mo:179:3-207:14:writable] Warning: Pure function 'ExternData.XLSFile' contains a call to impure function 'ExternData.Types.ExternXLSFile.constructor'. Notification: Performance of NFTyping.typeComponents: time 0.0003417/0.005517, allocations: 55.59 kB / 283.6 MB, free: 5.559 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005692/0.006086, allocations: 175.1 kB / 283.8 MB, free: 5.387 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002667/0.006353, allocations: 91.7 kB / 283.9 MB, free: 5.297 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001223/0.006476, allocations: 87.7 kB / 284 MB, free: 5.211 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.974e-05/0.006565, allocations: 15.98 kB / 284 MB, free: 5.195 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001085/0.006674, allocations: 47.89 kB / 284 MB, free: 5.148 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001129/0.006787, allocations: 31.91 kB / 284 MB, free: 5.117 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.093e-05/0.006808, allocations: 11.94 kB / 284.1 MB, free: 5.105 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003507/0.007158, allocations: 223.6 kB / 284.3 MB, free: 4.887 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.831e-05/0.007217, allocations: 19.92 kB / 284.3 MB, free: 4.867 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.819e-05/0.007265, allocations: 27.91 kB / 284.3 MB, free: 4.84 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000397/0.007662, allocations: 279.2 kB / 284.6 MB, free: 4.566 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.234e-06/0.007664, allocations: 0 / 284.6 MB, free: 4.566 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.007665, allocations: 4 kB / 284.6 MB, free: 4.562 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.601e-06/0.007671, allocations: 0 / 284.6 MB, free: 4.562 MB / 266.7 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.0004896/0.00816, allocations: 377.6 kB / 285 MB, free: 4.164 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.553e-05/0.008196, allocations: 8.031 kB / 285 MB, free: 4.156 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.258e-05/0.008238, allocations: 12.94 kB / 285 MB, free: 4.145 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001759/0.008414, allocations: 140.8 kB / 285.1 MB, free: 3.984 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.375e-05/0.008428, allocations: 8.375 kB / 285.1 MB, free: 3.977 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.594e-05/0.008444, allocations: 4.375 kB / 285.1 MB, free: 3.973 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001628/0.008607, allocations: 121.2 kB / 285.3 MB, free: 3.832 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.488e-06/0.008616, allocations: 3.938 kB / 285.3 MB, free: 3.828 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.997e-06/0.008625, allocations: 0 / 285.3 MB, free: 3.828 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.484e-06/0.008633, allocations: 4 kB / 285.3 MB, free: 3.824 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.134e-05/0.008694, allocations: 56.45 kB / 285.3 MB, free: 3.762 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002601/0.008954, allocations: 176 kB / 285.5 MB, free: 3.57 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001687/0.009123, allocations: 94.78 kB / 285.6 MB, free: 3.453 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.153e-05/0.009184, allocations: 55.55 kB / 285.6 MB, free: 3.387 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.157e-05/0.009196, allocations: 4 kB / 285.6 MB, free: 3.383 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001419/0.009338, allocations: 151.3 kB / 285.8 MB, free: 3.203 MB / 266.7 MB Notification: Performance of pre-optimization done (n=11): time 1.082e-06/0.009339, allocations: 0 / 285.8 MB, free: 3.203 MB / 266.7 MB Notification: Performance of matching and sorting (n=11): time 0.0002237/0.009563, allocations: 185.8 kB / 286 MB, free: 2.996 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.166e-05/0.009614, allocations: 102.8 kB / 286.1 MB, free: 2.871 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001026/0.009717, allocations: 149.2 kB / 286.2 MB, free: 2.715 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.642e-05/0.009733, allocations: 29.7 kB / 286.2 MB, free: 2.68 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.672e-05/0.00977, allocations: 92.06 kB / 286.3 MB, free: 2.586 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.217e-05/0.009802, allocations: 23.8 kB / 286.4 MB, free: 2.562 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.499e-05/0.009847, allocations: 29.69 kB / 286.4 MB, free: 2.527 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 9.657e-05/0.009944, allocations: 322.8 kB / 286.7 MB, free: 2.203 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.995e-05/0.009984, allocations: 44.53 kB / 286.7 MB, free: 2.152 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.305e-05/0.01004, allocations: 63.39 kB / 286.8 MB, free: 2.078 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.557e-05/0.01013, allocations: 115.8 kB / 286.9 MB, free: 1.945 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.01013, allocations: 0 / 286.9 MB, free: 1.945 MB / 266.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001403/0.01028, allocations: 139.8 kB / 287.1 MB, free: 1.789 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.222e-05/0.01031, allocations: 37.69 kB / 287.1 MB, free: 1.746 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.01031, allocations: 0 / 287.1 MB, free: 1.746 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.167e-05/0.01032, allocations: 0 / 287.1 MB, free: 1.746 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.859e-05/0.01038, allocations: 19.92 kB / 287.1 MB, free: 1.727 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.885e-06/0.01039, allocations: 0 / 287.1 MB, free: 1.727 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.84e-05/0.01043, allocations: 11.94 kB / 287.1 MB, free: 1.715 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.154e-05/0.01045, allocations: 8 kB / 287.1 MB, free: 1.707 MB / 266.7 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 9.348e-05/0.01054, allocations: 150.4 kB / 287.3 MB, free: 1.543 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.543e-05/0.01056, allocations: 15.92 kB / 287.3 MB, free: 1.527 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.461e-05/0.01059, allocations: 16.72 kB / 287.3 MB, free: 1.512 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.724e-06/0.01059, allocations: 0 / 287.3 MB, free: 1.512 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.164e-06/0.01059, allocations: 0 / 287.3 MB, free: 1.512 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.0106, allocations: 4 kB / 287.3 MB, free: 1.508 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001009/0.0107, allocations: 93.8 kB / 287.4 MB, free: 1.398 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.0107, allocations: 0 / 287.4 MB, free: 1.398 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.454e-05/0.01073, allocations: 15.94 kB / 287.4 MB, free: 1.383 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.01074, allocations: 0 / 287.4 MB, free: 1.383 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.187e-05/0.01075, allocations: 7.938 kB / 287.4 MB, free: 1.375 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.01075, allocations: 4 kB / 287.4 MB, free: 1.371 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.01075, allocations: 0 / 287.4 MB, free: 1.371 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001668/0.01092, allocations: 179 kB / 287.6 MB, free: 1.16 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.025e-05/0.01094, allocations: 19.94 kB / 287.6 MB, free: 1.141 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.994e-05/0.01097, allocations: 15.94 kB / 287.6 MB, free: 1.125 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.291e-05/0.01101, allocations: 4 kB / 287.6 MB, free: 1.121 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.005e-05/0.01104, allocations: 7.984 kB / 287.7 MB, free: 1.113 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.311e-05/0.01105, allocations: 0 / 287.7 MB, free: 1.113 MB / 266.7 MB Notification: Performance of sorting global known variables: time 3.74e-05/0.01109, allocations: 40.77 kB / 287.7 MB, free: 1.07 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01109, allocations: 0 / 287.7 MB, free: 1.07 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003093/0.0114, allocations: 83.73 kB / 287.8 MB, free: 0.9883 MB / 266.7 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.001531/0.01293, allocations: 0.5814 MB / 288.4 MB, free: 0.5742 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002032/0.01313, allocations: 175.6 kB / 288.5 MB, free: 384 kB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/0.01314, allocations: 0 / 288.5 MB, free: 384 kB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 8.823e-05/0.01322, allocations: 129.9 kB / 288.7 MB, free: 232 kB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001455/0.01337, allocations: 15.98 kB / 288.7 MB, free: 216 kB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09854/0.1119, allocations: 249.1 kB / 288.9 MB, free: 23.15 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.631e-05/0.1119, allocations: 67.12 kB / 289 MB, free: 23.08 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.968e-05/0.112, allocations: 8.062 kB / 289 MB, free: 23.08 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.869e-05/0.1121, allocations: 82.88 kB / 289.1 MB, free: 23.04 MB / 266.7 MB Notification: Performance of SimCode: time 8.42e-07/0.1121, allocations: 0.5312 kB / 289.1 MB, free: 23.04 MB / 266.7 MB Notification: Performance of Templates: time 0.004996/0.1171, allocations: 3.225 MB / 292.3 MB, free: 22.83 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f ExternData_ExternData.Examples.XLSTest.makefile [Timeout 660] (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=240 -lv LOG_STATS > ExternData_ExternData.Examples.XLSTest.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.541001813020557]