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.001164/0.001164, allocations: 92.2 kB / 20.19 MB, free: 4.355 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.001555/0.001555, allocations: 173 kB / 23.49 MB, free: 1.055 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.929/0.929, allocations: 177.1 MB / 203.8 MB, free: 5.582 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.009839/0.009839, allocations: 2.258 MB / 262.5 MB, free: 10.81 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.082e-06/1.082e-06, allocations: 0 / 332.8 MB, free: 16.75 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.387e-05/1.495e-05, allocations: 4.844 kB / 332.8 MB, free: 16.74 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.XLSTest): time 0.001697/0.001711, allocations: 1.717 MB / 334.5 MB, free: 15.01 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001461/0.003173, allocations: 1.823 MB / 336.3 MB, free: 13.18 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.493e-05/0.003228, allocations: 4 kB / 336.3 MB, free: 13.17 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.0002293/0.003457, allocations: 47.66 kB / 336.4 MB, free: 13.12 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003517/0.003809, allocations: 171.1 kB / 336.6 MB, free: 12.96 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001288/0.003937, allocations: 91.7 kB / 336.6 MB, free: 12.87 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 9.652e-05/0.004034, allocations: 87.7 kB / 336.7 MB, free: 12.78 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.182e-05/0.004106, allocations: 11.98 kB / 336.7 MB, free: 12.77 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.694e-05/0.004173, allocations: 47.91 kB / 336.8 MB, free: 12.72 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.852e-05/0.004251, allocations: 39.89 kB / 336.8 MB, free: 12.68 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.623e-05/0.004267, allocations: 8 kB / 336.8 MB, free: 12.68 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002059/0.004473, allocations: 227.5 kB / 337.1 MB, free: 12.45 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.624e-05/0.004519, allocations: 27.91 kB / 337.1 MB, free: 12.43 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.88e-05/0.004558, allocations: 19.94 kB / 337.1 MB, free: 12.41 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002719/0.00483, allocations: 287.1 kB / 337.4 MB, free: 12.12 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.284e-06/0.004832, allocations: 0 / 337.4 MB, free: 12.12 MB / 266.7 MB Notification: Performance of FrontEnd: time 4.31e-07/0.004833, allocations: 0 / 337.4 MB, free: 12.12 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.248e-06/0.004837, allocations: 0 / 337.4 MB, free: 12.12 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.0003491/0.005186, allocations: 0.4934 MB / 337.9 MB, free: 11.59 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.843e-05/0.005215, allocations: 8.031 kB / 337.9 MB, free: 11.58 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.991e-05/0.005255, allocations: 16.89 kB / 337.9 MB, free: 11.57 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001401/0.005395, allocations: 148.4 kB / 338.1 MB, free: 11.39 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.207e-05/0.005407, allocations: 4.375 kB / 338.1 MB, free: 11.39 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.445e-05/0.005421, allocations: 8.375 kB / 338.1 MB, free: 11.38 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000138/0.005559, allocations: 127.9 kB / 338.2 MB, free: 11.23 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.493e-06/0.005566, allocations: 3.938 kB / 338.2 MB, free: 11.23 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.508e-06/0.005575, allocations: 7.984 kB / 338.2 MB, free: 11.22 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.301e-06/0.005581, allocations: 0 / 338.2 MB, free: 11.22 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.912e-05/0.005631, allocations: 53.67 kB / 338.3 MB, free: 11.16 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000233/0.005864, allocations: 295.5 kB / 338.5 MB, free: 10.84 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001318/0.005995, allocations: 115.8 kB / 338.7 MB, free: 10.69 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.323e-05/0.006039, allocations: 65.2 kB / 338.7 MB, free: 10.61 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.075e-05/0.006049, allocations: 0 / 338.7 MB, free: 10.61 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00011/0.006159, allocations: 171.7 kB / 338.9 MB, free: 10.41 MB / 266.7 MB Notification: Performance of pre-optimization done (n=11): time 9.72e-07/0.00616, allocations: 0 / 338.9 MB, free: 10.41 MB / 266.7 MB Notification: Performance of matching and sorting (n=11): time 0.0002408/0.006401, allocations: 230.8 kB / 339.1 MB, free: 10.16 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.767e-05/0.006429, allocations: 106.8 kB / 339.2 MB, free: 10.03 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.951e-05/0.006508, allocations: 199.1 kB / 339.4 MB, free: 9.82 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 9.127e-06/0.006517, allocations: 29.7 kB / 339.4 MB, free: 9.785 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.148e-05/0.006549, allocations: 142.9 kB / 339.6 MB, free: 9.641 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.527e-05/0.006574, allocations: 31.73 kB / 339.6 MB, free: 9.609 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.213e-05/0.006606, allocations: 27.38 kB / 339.6 MB, free: 9.574 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.098e-05/0.006667, allocations: 0.4923 MB / 340.1 MB, free: 9.07 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.359e-05/0.006701, allocations: 45.69 kB / 340.2 MB, free: 9.02 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.758e-05/0.006738, allocations: 65.06 kB / 340.2 MB, free: 8.941 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.313e-05/0.006812, allocations: 126.6 kB / 340.4 MB, free: 8.797 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.006814, allocations: 3.938 kB / 340.4 MB, free: 8.793 MB / 266.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001359/0.00695, allocations: 177 kB / 340.5 MB, free: 8.602 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.306e-05/0.006973, allocations: 37.69 kB / 340.6 MB, free: 8.559 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.088e-06/0.006977, allocations: 8 kB / 340.6 MB, free: 8.551 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.088e-05/0.006988, allocations: 0 / 340.6 MB, free: 8.551 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.082e-05/0.007039, allocations: 11.98 kB / 340.6 MB, free: 8.539 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.49e-06/0.007044, allocations: 0 / 340.6 MB, free: 8.539 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.694e-05/0.007101, allocations: 15.89 kB / 340.6 MB, free: 8.523 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.066e-05/0.007112, allocations: 0 / 340.6 MB, free: 8.523 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.795e-05/0.00718, allocations: 206.1 kB / 340.8 MB, free: 8.305 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.189e-05/0.007202, allocations: 15.95 kB / 340.8 MB, free: 8.289 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.948e-05/0.007221, allocations: 12.78 kB / 340.8 MB, free: 8.273 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.007223, allocations: 3.938 kB / 340.8 MB, free: 8.27 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.046e-06/0.007226, allocations: 4 kB / 340.8 MB, free: 8.266 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.00723, allocations: 7.984 kB / 340.9 MB, free: 8.258 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.847e-05/0.007298, allocations: 144.5 kB / 341 MB, free: 8.082 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.0073, allocations: 3.938 kB / 341 MB, free: 8.078 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.625e-05/0.007326, allocations: 8 kB / 341 MB, free: 8.07 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.007328, allocations: 4.328 kB / 341 MB, free: 8.066 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.012e-05/0.007338, allocations: 11.98 kB / 341 MB, free: 8.055 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.007339, allocations: 0 / 341 MB, free: 8.055 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.00734, allocations: 0 / 341 MB, free: 8.055 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001638/0.007504, allocations: 251.4 kB / 341.3 MB, free: 7.77 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.246e-05/0.007516, allocations: 11.89 kB / 341.3 MB, free: 7.758 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.148e-05/0.007538, allocations: 12 kB / 341.3 MB, free: 7.746 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.672e-05/0.007575, allocations: 4 kB / 341.3 MB, free: 7.742 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.683e-05/0.007601, allocations: 3.984 kB / 341.3 MB, free: 7.738 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.064e-05/0.007612, allocations: 4 kB / 341.3 MB, free: 7.734 MB / 266.7 MB Notification: Performance of sorting global known variables: time 3.989e-05/0.007652, allocations: 157.8 kB / 341.5 MB, free: 7.582 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007652, allocations: 0 / 341.5 MB, free: 7.582 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001953/0.007847, allocations: 95.61 kB / 341.6 MB, free: 7.488 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.0008793/0.008727, allocations: 0.4915 MB / 342 MB, free: 7.113 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002052/0.008932, allocations: 190.4 kB / 342.2 MB, free: 6.898 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.008934, allocations: 0 / 342.2 MB, free: 6.898 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 8.107e-05/0.009015, allocations: 132.7 kB / 342.4 MB, free: 6.746 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002224/0.009237, allocations: 23.92 kB / 342.4 MB, free: 6.723 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003103/0.009547, allocations: 261.6 kB / 342.6 MB, free: 6.43 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.23e-05/0.00957, allocations: 71.28 kB / 342.7 MB, free: 6.34 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.548e-05/0.009595, allocations: 4 kB / 342.7 MB, free: 6.336 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.721e-05/0.009622, allocations: 20.48 kB / 342.7 MB, free: 6.316 MB / 266.7 MB Notification: Performance of SimCode: time 6.61e-07/0.009623, allocations: 0 / 342.7 MB, free: 6.316 MB / 266.7 MB Notification: Performance of Templates: time 0.003495/0.01312, allocations: 2.942 MB / 345.7 MB, free: 3.398 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.7879895970690995]