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.4/package.mo", uses=false) Using package ExternData with version 3.0.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.4/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.001761/0.001761, allocations: 115.3 kB / 15.34 MB, free: 0.5156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001793/0.001793, allocations: 191.7 kB / 16.25 MB, free: 6.625 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.359/1.359, allocations: 222.9 MB / 239.9 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.4/package.mo): time 0.1972/0.1972, allocations: 2.937 MB / 293 MB, free: 3.195 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001209/0.001209, allocations: 67.84 kB / 354.2 MB, free: 4.082 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1002/0.1014, allocations: 50.33 MB / 404.5 MB, free: 1.703 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.XLSTest): time 0.002812/0.1043, allocations: 1.73 MB / 406.2 MB, free: 15.96 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002161/0.1064, allocations: 1.689 MB / 407.9 MB, free: 14.27 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.161e-05/0.1065, allocations: 4 kB / 407.9 MB, free: 14.26 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003109/0.1068, allocations: 39.84 kB / 408 MB, free: 14.22 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004041/0.1073, allocations: 147.5 kB / 408.1 MB, free: 14.08 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002/0.1075, allocations: 83.73 kB / 408.2 MB, free: 14 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001251/0.1076, allocations: 91.83 kB / 408.3 MB, free: 13.91 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.312e-05/0.1077, allocations: 15.92 kB / 408.3 MB, free: 13.89 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.799e-05/0.1078, allocations: 39.84 kB / 408.3 MB, free: 13.86 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001352/0.1079, allocations: 43.78 kB / 408.4 MB, free: 13.81 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.704e-05/0.1079, allocations: 4 kB / 408.4 MB, free: 13.81 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003196/0.1083, allocations: 263.6 kB / 408.6 MB, free: 13.55 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.307e-05/0.1083, allocations: 27.91 kB / 408.7 MB, free: 13.52 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.354e-05/0.1084, allocations: 39.8 kB / 408.7 MB, free: 13.48 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003605/0.1087, allocations: 295.6 kB / 409 MB, free: 13.2 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.586e-06/0.1088, allocations: 0 / 409 MB, free: 13.2 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.1088, allocations: 0 / 409 MB, free: 13.2 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.21e-06/0.1088, allocations: 0 / 409 MB, free: 13.2 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.0005599/0.1093, allocations: 472.7 kB / 409.5 MB, free: 12.68 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.631e-05/0.1094, allocations: 15.88 kB / 409.5 MB, free: 12.66 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.504e-05/0.1094, allocations: 16.84 kB / 409.5 MB, free: 12.65 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002017/0.1096, allocations: 204.2 kB / 409.7 MB, free: 12.41 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.485e-05/0.1097, allocations: 12.36 kB / 409.7 MB, free: 12.4 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.858e-05/0.1097, allocations: 8.125 kB / 409.7 MB, free: 12.39 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001894/0.1099, allocations: 95.31 kB / 409.8 MB, free: 12.29 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.973e-06/0.1099, allocations: 0 / 409.8 MB, free: 12.29 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.285e-05/0.1099, allocations: 4 kB / 409.8 MB, free: 12.28 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.051e-06/0.1099, allocations: 0 / 409.8 MB, free: 12.28 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001255/0.1101, allocations: 51.97 kB / 409.9 MB, free: 12.23 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003584/0.1104, allocations: 325.4 kB / 410.2 MB, free: 11.86 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002212/0.1107, allocations: 93.28 kB / 410.3 MB, free: 11.75 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.074e-05/0.1108, allocations: 61.69 kB / 410.3 MB, free: 11.68 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.196e-05/0.1108, allocations: 0 / 410.3 MB, free: 11.68 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002281/0.111, allocations: 138.7 kB / 410.5 MB, free: 11.52 MB / 350.1 MB Notification: Performance of pre-optimization done (n=11): time 9.22e-07/0.111, allocations: 0 / 410.5 MB, free: 11.52 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004105/0.1114, allocations: 235.3 kB / 410.7 MB, free: 11.28 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.215e-05/0.1115, allocations: 114.8 kB / 410.8 MB, free: 11.14 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001219/0.1116, allocations: 152 kB / 411 MB, free: 10.99 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.79e-05/0.1117, allocations: 29.7 kB / 411 MB, free: 10.95 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.487e-05/0.1117, allocations: 96.05 kB / 411.1 MB, free: 10.86 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.703e-05/0.1117, allocations: 27.64 kB / 411.1 MB, free: 10.83 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.645e-05/0.1118, allocations: 21.72 kB / 411.1 MB, free: 10.8 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001085/0.1119, allocations: 326.8 kB / 411.4 MB, free: 10.47 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.746e-05/0.112, allocations: 39.91 kB / 411.5 MB, free: 10.43 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.897e-05/0.1121, allocations: 57.7 kB / 411.5 MB, free: 10.37 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001631/0.1123, allocations: 145 kB / 411.7 MB, free: 10.21 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.694e-06/0.1123, allocations: 0 / 411.7 MB, free: 10.21 MB / 350.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002611/0.1125, allocations: 191.2 kB / 411.9 MB, free: 10.01 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.217e-05/0.1126, allocations: 33.69 kB / 411.9 MB, free: 9.973 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.078e-06/0.1126, allocations: 4 kB / 411.9 MB, free: 9.969 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.296e-05/0.1126, allocations: 4 kB / 411.9 MB, free: 9.965 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.72e-05/0.1127, allocations: 11.94 kB / 411.9 MB, free: 9.953 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.793e-06/0.1127, allocations: 0 / 411.9 MB, free: 9.953 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.435e-05/0.1127, allocations: 23.86 kB / 411.9 MB, free: 9.93 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.15e-05/0.1128, allocations: 4 kB / 411.9 MB, free: 9.926 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.0001086/0.1129, allocations: 151.5 kB / 412.1 MB, free: 9.762 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.632e-05/0.1129, allocations: 11.81 kB / 412.1 MB, free: 9.75 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.733e-05/0.1129, allocations: 12.72 kB / 412.1 MB, free: 9.738 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.883e-06/0.1129, allocations: 336 / 412.1 MB, free: 9.738 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.113, allocations: 4 kB / 412.1 MB, free: 9.734 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.017e-06/0.113, allocations: 11.88 kB / 412.1 MB, free: 9.723 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001413/0.1131, allocations: 209.5 kB / 412.3 MB, free: 9.469 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.1131, allocations: 4 kB / 412.3 MB, free: 9.465 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.668e-05/0.1132, allocations: 8 kB / 412.4 MB, free: 9.457 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.1132, allocations: 0 / 412.4 MB, free: 9.457 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.678e-05/0.1132, allocations: 8 kB / 412.4 MB, free: 9.449 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.845e-06/0.1132, allocations: 4 kB / 412.4 MB, free: 9.445 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.1132, allocations: 0 / 412.4 MB, free: 9.445 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003212/0.1135, allocations: 251.4 kB / 412.6 MB, free: 9.172 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.691e-05/0.1136, allocations: 85.02 kB / 412.7 MB, free: 9.07 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.016e-05/0.1136, allocations: 4 kB / 412.7 MB, free: 9.066 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.795e-05/0.1137, allocations: 15.92 kB / 412.7 MB, free: 9.051 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.219e-05/0.1137, allocations: 7.938 kB / 412.7 MB, free: 9.043 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.656e-05/0.1138, allocations: 4 kB / 412.7 MB, free: 9.039 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.657e-05/0.1138, allocations: 129.4 kB / 412.9 MB, free: 8.914 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1138, allocations: 0 / 412.9 MB, free: 8.914 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003056/0.1142, allocations: 87.98 kB / 412.9 MB, free: 8.828 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.0009497/0.1151, allocations: 464.8 kB / 413.4 MB, free: 8.477 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002853/0.1154, allocations: 191.4 kB / 413.6 MB, free: 8.277 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.1154, allocations: 3.938 kB / 413.6 MB, free: 8.273 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000136/0.1156, allocations: 143.4 kB / 413.7 MB, free: 8.121 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002194/0.1158, allocations: 19.92 kB / 413.7 MB, free: 8.102 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004438/0.1162, allocations: 271.2 kB / 414 MB, free: 7.805 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002171/0.1165, allocations: 0.7041 MB / 414.7 MB, free: 7.074 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.689e-05/0.1165, allocations: 7.984 kB / 414.7 MB, free: 7.066 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.19e-05/0.1166, allocations: 15.44 kB / 414.7 MB, free: 7.051 MB / 350.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1166, allocations: 0 / 414.7 MB, free: 7.051 MB / 350.1 MB Notification: Performance of Templates: time 0.005625/0.1222, allocations: 2.938 MB / 417.7 MB, free: 4.125 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)