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.001505/0.001505, allocations: 73.97 kB / 20.65 MB, free: 3.844 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.001766/0.001766, allocations: 169 kB / 24.06 MB, free: 452 kB / 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.9923/0.9923, allocations: 177.1 MB / 204.5 MB, free: 5.469 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.009617/0.009617, allocations: 2.255 MB / 263.3 MB, free: 10.6 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.934e-06/1.934e-06, allocations: 0 / 334 MB, free: 16.15 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.915e-05/2.108e-05, allocations: 2.312 kB / 334 MB, free: 16.14 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.XLSTest): time 0.002718/0.002739, allocations: 1.716 MB / 335.7 MB, free: 14.41 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00217/0.00491, allocations: 1.819 MB / 337.6 MB, free: 12.59 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.615e-05/0.004986, allocations: 0 / 337.6 MB, free: 12.59 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.0003451/0.005331, allocations: 51.66 kB / 337.6 MB, free: 12.54 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005839/0.005915, allocations: 171.1 kB / 337.8 MB, free: 12.37 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002937/0.006208, allocations: 91.7 kB / 337.9 MB, free: 12.28 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001759/0.006384, allocations: 91.7 kB / 338 MB, free: 12.19 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.962e-05/0.006484, allocations: 4 kB / 338 MB, free: 12.18 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001164/0.0066, allocations: 55.88 kB / 338 MB, free: 12.13 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001206/0.006721, allocations: 31.92 kB / 338 MB, free: 12.1 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.062e-05/0.006741, allocations: 7.938 kB / 338.1 MB, free: 12.09 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003608/0.007102, allocations: 231.6 kB / 338.3 MB, free: 11.86 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.908e-05/0.007161, allocations: 23.92 kB / 338.3 MB, free: 11.84 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 5.035e-05/0.007212, allocations: 27.91 kB / 338.3 MB, free: 11.81 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004261/0.007638, allocations: 283.1 kB / 338.6 MB, free: 11.54 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.457e-06/0.007641, allocations: 0 / 338.6 MB, free: 11.54 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.012e-06/0.007642, allocations: 0 / 338.6 MB, free: 11.54 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.578e-06/0.007647, allocations: 0 / 338.6 MB, free: 11.54 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.0005017/0.008149, allocations: 0.4973 MB / 339.1 MB, free: 11 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.867e-05/0.008187, allocations: 8.031 kB / 339.1 MB, free: 10.99 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.392e-05/0.008241, allocations: 12.89 kB / 339.1 MB, free: 10.98 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001799/0.008421, allocations: 152.4 kB / 339.3 MB, free: 10.8 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.406e-05/0.008435, allocations: 4.375 kB / 339.3 MB, free: 10.8 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.242e-05/0.008448, allocations: 4.375 kB / 339.3 MB, free: 10.79 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001711/0.008619, allocations: 123.9 kB / 339.4 MB, free: 10.65 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.034e-05/0.008629, allocations: 3.938 kB / 339.4 MB, free: 10.64 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.154e-05/0.008641, allocations: 4 kB / 339.4 MB, free: 10.64 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.911e-06/0.008647, allocations: 0 / 339.4 MB, free: 10.64 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.419e-05/0.008711, allocations: 49.69 kB / 339.5 MB, free: 10.59 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002963/0.009007, allocations: 276.2 kB / 339.7 MB, free: 10.29 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001749/0.009182, allocations: 115.9 kB / 339.8 MB, free: 10.14 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.989e-05/0.009232, allocations: 61.11 kB / 339.9 MB, free: 10.07 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.597e-05/0.009248, allocations: 3.938 kB / 339.9 MB, free: 10.06 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001456/0.009393, allocations: 155.8 kB / 340.1 MB, free: 9.875 MB / 266.7 MB Notification: Performance of pre-optimization done (n=11): time 1.382e-06/0.009395, allocations: 0 / 340.1 MB, free: 9.875 MB / 266.7 MB Notification: Performance of matching and sorting (n=11): time 0.0002265/0.009621, allocations: 226.6 kB / 340.3 MB, free: 9.629 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.54e-05/0.009647, allocations: 114.7 kB / 340.4 MB, free: 9.492 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.468e-05/0.009711, allocations: 197 kB / 340.6 MB, free: 9.285 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 8.365e-06/0.00972, allocations: 25.7 kB / 340.6 MB, free: 9.254 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.991e-05/0.00975, allocations: 146.8 kB / 340.8 MB, free: 9.105 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.466e-05/0.009774, allocations: 27.75 kB / 340.8 MB, free: 9.078 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.373e-05/0.009808, allocations: 35.34 kB / 340.8 MB, free: 9.035 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.931e-05/0.009857, allocations: 0.4923 MB / 341.3 MB, free: 8.531 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.394e-05/0.009881, allocations: 41.69 kB / 341.3 MB, free: 8.484 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.105e-05/0.009912, allocations: 69.05 kB / 341.4 MB, free: 8.402 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.129e-05/0.009974, allocations: 114.6 kB / 341.5 MB, free: 8.27 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.009976, allocations: 0 / 341.5 MB, free: 8.27 MB / 266.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001266/0.0101, allocations: 180.9 kB / 341.7 MB, free: 8.074 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.785e-05/0.01013, allocations: 37.69 kB / 341.7 MB, free: 8.031 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.01013, allocations: 0 / 341.7 MB, free: 8.031 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.697e-06/0.01014, allocations: 4 kB / 341.7 MB, free: 8.027 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.343e-05/0.0102, allocations: 8 kB / 341.8 MB, free: 8.02 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.687e-06/0.0102, allocations: 4 kB / 341.8 MB, free: 8.016 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.977e-05/0.01024, allocations: 19.88 kB / 341.8 MB, free: 7.996 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.585e-06/0.01025, allocations: 4 kB / 341.8 MB, free: 7.992 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 6.668e-05/0.01031, allocations: 198.2 kB / 342 MB, free: 7.781 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.032e-05/0.01033, allocations: 15.89 kB / 342 MB, free: 7.766 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.13e-05/0.01036, allocations: 12.78 kB / 342 MB, free: 7.75 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.524e-06/0.01036, allocations: 0 / 342 MB, free: 7.75 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.01036, allocations: 4 kB / 342 MB, free: 7.746 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.01037, allocations: 4 kB / 342 MB, free: 7.742 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.202e-05/0.01044, allocations: 125.2 kB / 342.1 MB, free: 7.594 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.01044, allocations: 0 / 342.1 MB, free: 7.594 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.377e-05/0.01046, allocations: 12 kB / 342.1 MB, free: 7.582 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.01046, allocations: 0 / 342.1 MB, free: 7.582 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.538e-06/0.01047, allocations: 19.86 kB / 342.2 MB, free: 7.562 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.62e-07/0.01047, allocations: 0 / 342.2 MB, free: 7.562 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.01047, allocations: 0 / 342.2 MB, free: 7.562 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001519/0.01063, allocations: 239.4 kB / 342.4 MB, free: 7.289 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.393e-05/0.01064, allocations: 11.95 kB / 342.4 MB, free: 7.277 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.909e-05/0.01066, allocations: 7.938 kB / 342.4 MB, free: 7.27 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.824e-05/0.01069, allocations: 11.98 kB / 342.4 MB, free: 7.258 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.759e-05/0.01072, allocations: 4 kB / 342.4 MB, free: 7.254 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.305e-05/0.01073, allocations: 4.328 kB / 342.4 MB, free: 7.25 MB / 266.7 MB Notification: Performance of sorting global known variables: time 3.25e-05/0.01076, allocations: 143.2 kB / 342.6 MB, free: 7.109 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01076, allocations: 0 / 342.6 MB, free: 7.109 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002311/0.01099, allocations: 91.67 kB / 342.7 MB, free: 7.02 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.0008648/0.01186, allocations: 0.4988 MB / 343.2 MB, free: 6.637 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001337/0.01199, allocations: 186.4 kB / 343.3 MB, free: 6.426 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.01199, allocations: 0 / 343.3 MB, free: 6.426 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 4.478e-05/0.01204, allocations: 132.7 kB / 343.5 MB, free: 6.273 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001701/0.01221, allocations: 16 kB / 343.5 MB, free: 6.258 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002902/0.0125, allocations: 265.5 kB / 343.7 MB, free: 5.961 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.519e-05/0.01252, allocations: 67.34 kB / 343.8 MB, free: 5.875 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.99e-05/0.01255, allocations: 8 kB / 343.8 MB, free: 5.867 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.023e-05/0.01263, allocations: 106.2 kB / 343.9 MB, free: 5.762 MB / 266.7 MB Notification: Performance of SimCode: time 7.41e-07/0.01263, allocations: 0 / 343.9 MB, free: 5.762 MB / 266.7 MB Notification: Performance of Templates: time 0.004585/0.01722, allocations: 3.282 MB / 347.2 MB, free: 2.508 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.910877406131476]