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.0009202/0.0009202, allocations: 92.22 kB / 19.65 MB, free: 276 kB / 13.93 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.001321/0.001321, allocations: 169 kB / 23.02 MB, free: 1.547 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.9633/0.9633, allocations: 177.1 MB / 203.4 MB, free: 5.625 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.01376/0.01376, allocations: 2.26 MB / 262.2 MB, free: 10.77 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.503e-06/1.503e-06, allocations: 0 / 332.8 MB, free: 16.43 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.211e-05/1.362e-05, allocations: 8.703 kB / 332.8 MB, free: 16.42 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.XLSTest): time 0.00167/0.001683, allocations: 1.717 MB / 334.5 MB, free: 14.69 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004642/0.006325, allocations: 1.831 MB / 336.3 MB, free: 12.85 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.127e-05/0.006406, allocations: 0 / 336.3 MB, free: 12.85 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.0003651/0.006771, allocations: 51.66 kB / 336.4 MB, free: 12.8 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004465/0.007218, allocations: 175.1 kB / 336.6 MB, free: 12.62 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001815/0.007399, allocations: 79.72 kB / 336.6 MB, free: 12.55 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001139/0.007513, allocations: 91.7 kB / 336.7 MB, free: 12.46 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.543e-05/0.007589, allocations: 15.98 kB / 336.7 MB, free: 12.44 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.204e-05/0.007661, allocations: 51.89 kB / 336.8 MB, free: 12.39 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001037/0.007764, allocations: 27.91 kB / 336.8 MB, free: 12.36 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.688e-05/0.007781, allocations: 8 kB / 336.8 MB, free: 12.36 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000243/0.008024, allocations: 231.5 kB / 337.1 MB, free: 12.13 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.062e-05/0.008075, allocations: 23.91 kB / 337.1 MB, free: 12.11 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.085e-05/0.008116, allocations: 19.94 kB / 337.1 MB, free: 12.09 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002845/0.0084, allocations: 279.1 kB / 337.4 MB, free: 11.81 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.008403, allocations: 0 / 337.4 MB, free: 11.81 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.008405, allocations: 0 / 337.4 MB, free: 11.81 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.07e-06/0.00841, allocations: 4 kB / 337.4 MB, free: 11.81 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.000446/0.008856, allocations: 0.5051 MB / 337.9 MB, free: 11.26 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.184e-05/0.008898, allocations: 12.03 kB / 337.9 MB, free: 11.25 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.971e-05/0.008948, allocations: 8.891 kB / 337.9 MB, free: 11.24 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001541/0.009102, allocations: 148.4 kB / 338 MB, free: 11.07 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.001e-05/0.009112, allocations: 4.375 kB / 338.1 MB, free: 11.07 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.53e-05/0.009127, allocations: 4.375 kB / 338.1 MB, free: 11.06 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001561/0.009283, allocations: 131.9 kB / 338.2 MB, free: 10.91 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.068e-05/0.009294, allocations: 3.938 kB / 338.2 MB, free: 10.91 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.708e-06/0.009303, allocations: 0 / 338.2 MB, free: 10.91 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.576e-06/0.009312, allocations: 8 kB / 338.2 MB, free: 10.9 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.916e-05/0.009361, allocations: 57.66 kB / 338.3 MB, free: 10.84 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002532/0.009614, allocations: 291.5 kB / 338.5 MB, free: 10.51 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001522/0.009767, allocations: 115.8 kB / 338.7 MB, free: 10.37 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.234e-05/0.009809, allocations: 65.22 kB / 338.7 MB, free: 10.29 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.726e-05/0.009826, allocations: 8 kB / 338.7 MB, free: 10.28 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001133/0.009939, allocations: 163.7 kB / 338.9 MB, free: 10.09 MB / 266.7 MB Notification: Performance of pre-optimization done (n=11): time 9.52e-07/0.00994, allocations: 0 / 338.9 MB, free: 10.09 MB / 266.7 MB Notification: Performance of matching and sorting (n=11): time 0.0002492/0.01019, allocations: 234.6 kB / 339.1 MB, free: 9.832 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.391e-05/0.01021, allocations: 106.8 kB / 339.2 MB, free: 9.703 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.139e-05/0.01028, allocations: 196.7 kB / 339.4 MB, free: 9.496 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 7.714e-06/0.01029, allocations: 25.7 kB / 339.4 MB, free: 9.465 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.691e-05/0.01032, allocations: 142.9 kB / 339.6 MB, free: 9.32 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.316e-05/0.01034, allocations: 31.73 kB / 339.6 MB, free: 9.289 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.155e-05/0.01037, allocations: 35.38 kB / 339.6 MB, free: 9.246 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.125e-05/0.01042, allocations: 0.4884 MB / 340.1 MB, free: 8.746 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.553e-05/0.01045, allocations: 49.69 kB / 340.2 MB, free: 8.691 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.517e-05/0.01049, allocations: 69.05 kB / 340.2 MB, free: 8.609 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.679e-05/0.01055, allocations: 122.6 kB / 340.4 MB, free: 8.469 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.01056, allocations: 7.938 kB / 340.4 MB, free: 8.461 MB / 266.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001367/0.01069, allocations: 177 kB / 340.5 MB, free: 8.27 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.372e-05/0.01072, allocations: 37.69 kB / 340.6 MB, free: 8.227 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.01072, allocations: 0 / 340.6 MB, free: 8.227 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.569e-05/0.01074, allocations: 4 kB / 340.6 MB, free: 8.223 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.885e-05/0.01078, allocations: 8 kB / 340.6 MB, free: 8.215 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.44e-06/0.01079, allocations: 3.984 kB / 340.6 MB, free: 8.211 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.638e-05/0.01083, allocations: 15.89 kB / 340.6 MB, free: 8.195 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.605e-06/0.01083, allocations: 4 kB / 340.6 MB, free: 8.191 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 5.897e-05/0.01089, allocations: 202.1 kB / 340.8 MB, free: 7.977 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.988e-05/0.01091, allocations: 23.89 kB / 340.8 MB, free: 7.953 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.363e-05/0.01094, allocations: 8.781 kB / 340.8 MB, free: 7.941 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.01094, allocations: 4 kB / 340.8 MB, free: 7.938 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.988e-06/0.01094, allocations: 0 / 340.8 MB, free: 7.938 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.01094, allocations: 0 / 340.8 MB, free: 7.938 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.122e-05/0.01102, allocations: 152.5 kB / 341 MB, free: 7.754 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.01102, allocations: 3.938 kB / 341 MB, free: 7.75 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.497e-05/0.01104, allocations: 8 kB / 341 MB, free: 7.742 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.343e-06/0.01104, allocations: 0 / 341 MB, free: 7.742 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.348e-06/0.01105, allocations: 4 kB / 341 MB, free: 7.738 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.01105, allocations: 7.984 kB / 341 MB, free: 7.73 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.01106, allocations: 4 kB / 341 MB, free: 7.727 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001593/0.01121, allocations: 247.4 kB / 341.3 MB, free: 7.445 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.269e-05/0.01123, allocations: 12.22 kB / 341.3 MB, free: 7.434 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.079e-05/0.01125, allocations: 4 kB / 341.3 MB, free: 7.43 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.857e-05/0.01128, allocations: 4 kB / 341.3 MB, free: 7.426 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.151e-05/0.01131, allocations: 15.97 kB / 341.3 MB, free: 7.41 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.266e-05/0.01132, allocations: 4 kB / 341.3 MB, free: 7.406 MB / 266.7 MB Notification: Performance of sorting global known variables: time 3.908e-05/0.01136, allocations: 150 kB / 341.5 MB, free: 7.262 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01136, allocations: 3.938 kB / 341.5 MB, free: 7.258 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002367/0.0116, allocations: 91.67 kB / 341.5 MB, free: 7.168 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.0008502/0.01245, allocations: 0.4886 MB / 342 MB, free: 6.793 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001767/0.01262, allocations: 190.4 kB / 342.2 MB, free: 6.578 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.01263, allocations: 0 / 342.2 MB, free: 6.578 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 4.909e-05/0.01267, allocations: 136.7 kB / 342.4 MB, free: 6.422 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001735/0.01285, allocations: 31.12 kB / 342.4 MB, free: 6.395 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003117/0.01316, allocations: 269.6 kB / 342.6 MB, free: 6.094 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.311e-05/0.01318, allocations: 64 kB / 342.7 MB, free: 6.012 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.685e-05/0.01321, allocations: 8 kB / 342.7 MB, free: 6.004 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.094e-05/0.01324, allocations: 16.48 kB / 342.7 MB, free: 5.988 MB / 266.7 MB Notification: Performance of SimCode: time 5.31e-07/0.01324, allocations: 0 / 342.7 MB, free: 5.988 MB / 266.7 MB Notification: Performance of Templates: time 0.003881/0.01712, allocations: 2.938 MB / 345.7 MB, free: 3.074 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.935126580297947]