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.001644/0.001644, allocations: 108 kB / 15.61 MB, free: 152 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.001957/0.001957, allocations: 194.2 kB / 16.53 MB, free: 6.664 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.5/1.5, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.5-master/package.mo): time 0.1916/0.1916, allocations: 2.929 MB / 293.3 MB, free: 3.223 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001935/0.001935, allocations: 68.09 kB / 354.7 MB, free: 3.754 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1084/0.1103, allocations: 50.34 MB / 405 MB, free: 1.367 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.XLSTest): time 0.003491/0.1139, allocations: 1.657 MB / 406.7 MB, free: 15.7 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002722/0.1166, allocations: 1.716 MB / 408.4 MB, free: 13.98 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.848e-05/0.1167, allocations: 4 kB / 408.4 MB, free: 13.97 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.0003762/0.1171, allocations: 47.78 kB / 408.4 MB, free: 13.93 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.0005187/0.1176, allocations: 175.2 kB / 408.6 MB, free: 13.75 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002299/0.1179, allocations: 83.77 kB / 408.7 MB, free: 13.67 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001483/0.118, allocations: 99.69 kB / 408.8 MB, free: 13.57 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.622e-05/0.1181, allocations: 15.98 kB / 408.8 MB, free: 13.56 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.275e-05/0.1182, allocations: 39.91 kB / 408.8 MB, free: 13.52 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001494/0.1184, allocations: 51.7 kB / 408.9 MB, free: 13.47 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.043e-05/0.1184, allocations: 4 kB / 408.9 MB, free: 13.46 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00041/0.1188, allocations: 263.7 kB / 409.1 MB, free: 13.21 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.8e-05/0.1189, allocations: 23.91 kB / 409.2 MB, free: 13.18 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.271e-05/0.119, allocations: 39.8 kB / 409.2 MB, free: 13.14 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004954/0.1195, allocations: 307.5 kB / 409.5 MB, free: 12.84 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.1195, allocations: 0 / 409.5 MB, free: 12.84 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.1195, allocations: 3.938 kB / 409.5 MB, free: 12.84 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.61e-06/0.1195, allocations: 0 / 409.5 MB, free: 12.84 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.0006768/0.1202, allocations: 476.7 kB / 410 MB, free: 12.32 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.968e-05/0.1202, allocations: 11.89 kB / 410 MB, free: 12.31 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.407e-05/0.1203, allocations: 16.84 kB / 410 MB, free: 12.29 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002669/0.1206, allocations: 204.2 kB / 410.2 MB, free: 12.05 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.679e-06/0.1206, allocations: 4.375 kB / 410.2 MB, free: 12.05 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.158e-05/0.1206, allocations: 8.125 kB / 410.2 MB, free: 12.04 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002223/0.1208, allocations: 99.31 kB / 410.3 MB, free: 11.93 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.137e-06/0.1208, allocations: 4 kB / 410.3 MB, free: 11.93 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.323e-05/0.1209, allocations: 0 / 410.3 MB, free: 11.93 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.448e-06/0.1209, allocations: 3.938 kB / 410.3 MB, free: 11.93 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00014/0.121, allocations: 55.95 kB / 410.4 MB, free: 11.87 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000457/0.1215, allocations: 313.5 kB / 410.7 MB, free: 11.51 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002489/0.1218, allocations: 101.3 kB / 410.8 MB, free: 11.39 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001084/0.1219, allocations: 53.73 kB / 410.8 MB, free: 11.34 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.839e-05/0.1219, allocations: 7.938 kB / 410.8 MB, free: 11.33 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000305/0.1222, allocations: 134.8 kB / 411 MB, free: 11.17 MB / 350.1 MB Notification: Performance of pre-optimization done (n=11): time 1.373e-06/0.1222, allocations: 0 / 411 MB, free: 11.17 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004965/0.1227, allocations: 227.5 kB / 411.2 MB, free: 10.94 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.875e-05/0.1228, allocations: 114.8 kB / 411.3 MB, free: 10.8 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001521/0.123, allocations: 147.9 kB / 411.5 MB, free: 10.65 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.731e-05/0.123, allocations: 33.7 kB / 411.5 MB, free: 10.61 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.393e-05/0.1231, allocations: 100 kB / 411.6 MB, free: 10.51 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.748e-05/0.1231, allocations: 27.66 kB / 411.6 MB, free: 10.48 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.91e-05/0.1232, allocations: 25.7 kB / 411.6 MB, free: 10.45 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001485/0.1233, allocations: 322.8 kB / 412 MB, free: 10.12 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.348e-05/0.1234, allocations: 35.98 kB / 412 MB, free: 10.09 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.776e-05/0.1235, allocations: 61.61 kB / 412 MB, free: 10.02 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002106/0.1237, allocations: 153.2 kB / 412.2 MB, free: 9.855 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.1238, allocations: 0 / 412.2 MB, free: 9.855 MB / 350.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003131/0.1241, allocations: 191.1 kB / 412.4 MB, free: 9.656 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.425e-05/0.1241, allocations: 37.69 kB / 412.4 MB, free: 9.613 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.1241, allocations: 0 / 412.4 MB, free: 9.613 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.733e-05/0.1242, allocations: 0 / 412.4 MB, free: 9.613 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.723e-05/0.1242, allocations: 19.92 kB / 412.4 MB, free: 9.594 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.769e-06/0.1242, allocations: 0 / 412.4 MB, free: 9.594 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.771e-05/0.1243, allocations: 11.94 kB / 412.5 MB, free: 9.582 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.371e-05/0.1243, allocations: 4 kB / 412.5 MB, free: 9.578 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.0001755/0.1245, allocations: 159.5 kB / 412.6 MB, free: 9.406 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.075e-05/0.1246, allocations: 15.81 kB / 412.6 MB, free: 9.391 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.739e-05/0.1246, allocations: 8.719 kB / 412.6 MB, free: 9.383 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/0.1246, allocations: 4 kB / 412.6 MB, free: 9.379 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.606e-06/0.1246, allocations: 3.984 kB / 412.6 MB, free: 9.375 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/0.1246, allocations: 3.938 kB / 412.6 MB, free: 9.371 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000186/0.1248, allocations: 205.5 kB / 412.8 MB, free: 9.121 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.1248, allocations: 0 / 412.8 MB, free: 9.121 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.099e-05/0.1249, allocations: 12 kB / 412.9 MB, free: 9.109 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.1249, allocations: 0 / 412.9 MB, free: 9.109 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.093e-05/0.1249, allocations: 11.98 kB / 412.9 MB, free: 9.098 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.1249, allocations: 0 / 412.9 MB, free: 9.098 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.1249, allocations: 4 kB / 412.9 MB, free: 9.094 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003723/0.1253, allocations: 251.5 kB / 413.1 MB, free: 8.82 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.186e-05/0.1254, allocations: 84.95 kB / 413.2 MB, free: 8.719 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.004e-05/0.1254, allocations: 8 kB / 413.2 MB, free: 8.711 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.48e-05/0.1255, allocations: 11.98 kB / 413.2 MB, free: 8.699 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.833e-05/0.1255, allocations: 7.938 kB / 413.2 MB, free: 8.691 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.07e-05/0.1256, allocations: 7.984 kB / 413.2 MB, free: 8.684 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.851e-05/0.1257, allocations: 121.1 kB / 413.4 MB, free: 8.566 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1257, allocations: 0 / 413.4 MB, free: 8.566 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003639/0.126, allocations: 95.97 kB / 413.5 MB, free: 8.473 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.001312/0.1274, allocations: 479.7 kB / 413.9 MB, free: 8.125 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003418/0.1277, allocations: 183.3 kB / 414.1 MB, free: 7.934 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.1277, allocations: 4 kB / 414.1 MB, free: 7.93 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001792/0.1279, allocations: 143.3 kB / 414.2 MB, free: 7.777 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002244/0.1281, allocations: 14.34 kB / 414.3 MB, free: 7.766 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004856/0.1286, allocations: 243.2 kB / 414.5 MB, free: 7.496 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003657/0.129, allocations: 0.7041 MB / 415.2 MB, free: 6.766 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.615e-05/0.1291, allocations: 4 kB / 415.2 MB, free: 6.762 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.79e-05/0.1291, allocations: 19.42 kB / 415.2 MB, free: 6.742 MB / 350.1 MB Notification: Performance of SimCode: time 4.51e-07/0.1291, allocations: 0 / 415.2 MB, free: 6.742 MB / 350.1 MB Notification: Performance of Templates: time 0.007155/0.1363, allocations: 3.004 MB / 418.2 MB, free: 3.754 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)