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.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.5-master/package.mo", uses=false) Using package ExternData with version 3.0.5 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.5-master/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.XLSTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ExternData_ExternData.Examples.XLSTest") translateModel(ExternData.Examples.XLSTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ExternData_ExternData.Examples.XLSTest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001124/0.001124, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009226/0.0009225, allocations: 193.7 kB / 16.53 MB, free: 6.391 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.38/1.38, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.5-master/package.mo): time 0.2008/0.2008, allocations: 2.934 MB / 293.3 MB, free: 3.172 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001247/0.001247, allocations: 63.89 kB / 354.7 MB, free: 3.707 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1028/0.104, allocations: 50.34 MB / 405 MB, free: 1.316 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.XLSTest): time 0.00308/0.1071, allocations: 1.659 MB / 406.7 MB, free: 15.65 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002408/0.1096, allocations: 1.724 MB / 408.4 MB, free: 13.91 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.197e-05/0.1097, allocations: 0 / 408.4 MB, free: 13.91 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.5-master/package.mo:191:3-219:14:writable] Warning: Pure function 'ExternData.XLSFile' contains a call to impure function 'ExternData.Types.ExternXLSFile.constructor'. Notification: Performance of NFTyping.typeComponents: time 0.000269/0.1099, allocations: 51.7 kB / 408.4 MB, free: 13.86 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.5-master/Examples/package.mo:101:5-121:22:writable] Warning: Pure function 'ExternData.Examples.XLSTest.computeColSum' contains a call to impure function 'ExternData.Types.ExternXLSFile.constructor'. Notification: Performance of NFTyping.typeBindings: time 0.0005194/0.1105, allocations: 174.1 kB / 408.6 MB, free: 13.7 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002492/0.1107, allocations: 79.78 kB / 408.7 MB, free: 13.62 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001298/0.1109, allocations: 91.7 kB / 408.8 MB, free: 13.53 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.773e-05/0.1109, allocations: 23.97 kB / 408.8 MB, free: 13.5 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.308e-05/0.111, allocations: 35.86 kB / 408.8 MB, free: 13.47 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001261/0.1112, allocations: 47.77 kB / 408.9 MB, free: 13.42 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.976e-05/0.1112, allocations: 4 kB / 408.9 MB, free: 13.42 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004075/0.1116, allocations: 271.6 kB / 409.1 MB, free: 13.15 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.214e-05/0.1117, allocations: 23.92 kB / 409.2 MB, free: 13.13 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.22e-05/0.1117, allocations: 31.8 kB / 409.2 MB, free: 13.1 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004692/0.1122, allocations: 307.5 kB / 409.5 MB, free: 12.8 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.056e-06/0.1122, allocations: 4 kB / 409.5 MB, free: 12.79 MB / 350.1 MB Notification: Performance of FrontEnd: time 6.01e-07/0.1122, allocations: 0 / 409.5 MB, free: 12.79 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.28e-06/0.1122, allocations: 0 / 409.5 MB, free: 12.79 MB / 350.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.0005123/0.1127, allocations: 476.7 kB / 410 MB, free: 12.27 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.414e-05/0.1128, allocations: 15.89 kB / 410 MB, free: 12.26 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.428e-05/0.1128, allocations: 8.844 kB / 410 MB, free: 12.25 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001856/0.113, allocations: 208.1 kB / 410.2 MB, free: 12.01 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.107e-05/0.113, allocations: 4.375 kB / 410.2 MB, free: 12 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.403e-05/0.1131, allocations: 12.12 kB / 410.2 MB, free: 11.99 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001749/0.1132, allocations: 95.36 kB / 410.3 MB, free: 11.89 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.631e-06/0.1133, allocations: 0 / 410.3 MB, free: 11.89 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.193e-05/0.1133, allocations: 4 kB / 410.3 MB, free: 11.88 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.921e-06/0.1133, allocations: 0 / 410.3 MB, free: 11.88 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001338/0.1134, allocations: 59.84 kB / 410.4 MB, free: 11.82 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000341/0.1138, allocations: 321.6 kB / 410.7 MB, free: 11.46 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00021/0.114, allocations: 97.12 kB / 410.8 MB, free: 11.34 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.683e-05/0.1141, allocations: 61.83 kB / 410.8 MB, free: 11.28 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.558e-06/0.1141, allocations: 4 kB / 410.8 MB, free: 11.27 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002502/0.1144, allocations: 138.7 kB / 411 MB, free: 11.11 MB / 350.1 MB Notification: Performance of pre-optimization done (n=11): time 1.553e-06/0.1144, allocations: 0 / 411 MB, free: 11.11 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004093/0.1148, allocations: 223.2 kB / 411.2 MB, free: 10.88 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.033e-05/0.1149, allocations: 110.8 kB / 411.3 MB, free: 10.75 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001228/0.115, allocations: 159.7 kB / 411.5 MB, free: 10.59 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.679e-05/0.115, allocations: 29.69 kB / 411.5 MB, free: 10.55 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.551e-05/0.1151, allocations: 96.05 kB / 411.6 MB, free: 10.45 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.444e-05/0.1151, allocations: 27.64 kB / 411.6 MB, free: 10.43 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.248e-05/0.1152, allocations: 21.72 kB / 411.6 MB, free: 10.4 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.242e-05/0.1153, allocations: 326.8 kB / 412 MB, free: 10.07 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.686e-05/0.1153, allocations: 35.98 kB / 412 MB, free: 10.04 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.592e-05/0.1154, allocations: 53.69 kB / 412 MB, free: 9.977 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001805/0.1156, allocations: 149 kB / 412.2 MB, free: 9.812 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.1156, allocations: 0 / 412.2 MB, free: 9.812 MB / 350.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002786/0.1159, allocations: 187.2 kB / 412.4 MB, free: 9.617 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.597e-05/0.116, allocations: 37.7 kB / 412.4 MB, free: 9.574 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.116, allocations: 3.938 kB / 412.4 MB, free: 9.57 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.058e-05/0.116, allocations: 0 / 412.4 MB, free: 9.57 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.978e-05/0.1161, allocations: 15.98 kB / 412.4 MB, free: 9.555 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.528e-06/0.1161, allocations: 8.25 kB / 412.4 MB, free: 9.547 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.381e-05/0.1161, allocations: 7.938 kB / 412.4 MB, free: 9.539 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.078e-05/0.1162, allocations: 4 kB / 412.4 MB, free: 9.535 MB / 350.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.0001069/0.1163, allocations: 162 kB / 412.6 MB, free: 9.363 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.849e-05/0.1163, allocations: 15.81 kB / 412.6 MB, free: 9.348 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.538e-05/0.1163, allocations: 16.7 kB / 412.6 MB, free: 9.332 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.1163, allocations: 0 / 412.6 MB, free: 9.332 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.446e-06/0.1163, allocations: 0 / 412.6 MB, free: 9.332 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.1164, allocations: 12.2 kB / 412.6 MB, free: 9.32 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001499/0.1165, allocations: 201.5 kB / 412.8 MB, free: 9.074 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.1165, allocations: 0 / 412.8 MB, free: 9.074 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.016e-05/0.1166, allocations: 11.98 kB / 412.9 MB, free: 9.062 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.4e-06/0.1166, allocations: 4 kB / 412.9 MB, free: 9.059 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.011e-05/0.1166, allocations: 3.938 kB / 412.9 MB, free: 9.055 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.937e-06/0.1166, allocations: 7.984 kB / 412.9 MB, free: 9.047 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.1166, allocations: 3.984 kB / 412.9 MB, free: 9.043 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003339/0.117, allocations: 243.5 kB / 413.1 MB, free: 8.777 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.546e-05/0.117, allocations: 93 kB / 413.2 MB, free: 8.668 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.799e-05/0.117, allocations: 8 kB / 413.2 MB, free: 8.66 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.964e-05/0.1171, allocations: 8 kB / 413.2 MB, free: 8.652 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.587e-05/0.1172, allocations: 11.92 kB / 413.2 MB, free: 8.641 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.567e-05/0.1172, allocations: 4 kB / 413.2 MB, free: 8.637 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.171e-05/0.1173, allocations: 121.3 kB / 413.4 MB, free: 8.52 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1173, allocations: 0 / 413.4 MB, free: 8.52 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003276/0.1176, allocations: 95.98 kB / 413.4 MB, free: 8.426 MB / 350.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.000975/0.1186, allocations: 479.7 kB / 413.9 MB, free: 8.074 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002892/0.1189, allocations: 191.3 kB / 414.1 MB, free: 7.875 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.1189, allocations: 0 / 414.1 MB, free: 7.875 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001432/0.1191, allocations: 139.6 kB / 414.2 MB, free: 7.727 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001998/0.1193, allocations: 16.23 kB / 414.3 MB, free: 7.715 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004363/0.1197, allocations: 243.3 kB / 414.5 MB, free: 7.445 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002809/0.12, allocations: 0.7041 MB / 415.2 MB, free: 6.715 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.628e-05/0.1201, allocations: 11.94 kB / 415.2 MB, free: 6.703 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.134e-05/0.1201, allocations: 19.42 kB / 415.2 MB, free: 6.684 MB / 350.1 MB Notification: Performance of SimCode: time 3.7e-07/0.1201, allocations: 0 / 415.2 MB, free: 6.684 MB / 350.1 MB Notification: Performance of Templates: time 0.005896/0.126, allocations: 2.985 MB / 418.2 MB, free: 3.711 MB / 350.1 MB make -j1 -f ExternData_ExternData.Examples.XLSTest.makefile (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=480 -lv LOG_STATS > ExternData_ExternData.Examples.XLSTest.pipe 2>&1)