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-master/package.mo", uses=false) Using package ExternData with version 3.0.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.4-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: "" <> buildModelFMU(ExternData.Examples.XLSTest,fileNamePrefix="ExternData_ExternData_Examples_XLSTest",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ExternData.Examples.XLSTest,fileNamePrefix="ExternData_ExternData_Examples_XLSTest",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001274/0.001274, 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.001161/0.001161, allocations: 194.7 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.438/1.438, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.4-master/package.mo): time 0.1491/0.1491, allocations: 2.939 MB / 293.3 MB, free: 3.199 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001374/0.001374, allocations: 64.34 kB / 354.8 MB, free: 3.684 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1066/0.108, allocations: 50.34 MB / 405.1 MB, free: 1.293 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.XLSTest): time 0.003605/0.1116, allocations: 1.659 MB / 406.8 MB, free: 15.62 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003015/0.1147, allocations: 1.724 MB / 408.5 MB, free: 13.89 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001389/0.1149, allocations: 0 / 408.5 MB, free: 13.89 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.4-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.000495/0.1154, allocations: 47.78 kB / 408.5 MB, free: 13.84 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.4-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.0007925/0.1162, allocations: 179.1 kB / 408.7 MB, free: 13.67 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003778/0.1166, allocations: 83.78 kB / 408.8 MB, free: 13.59 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002105/0.1168, allocations: 95.69 kB / 408.9 MB, free: 13.49 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001199/0.1169, allocations: 19.97 kB / 408.9 MB, free: 13.47 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.646e-05/0.117, allocations: 35.92 kB / 408.9 MB, free: 13.44 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000198/0.1172, allocations: 51.7 kB / 409 MB, free: 13.39 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.58e-05/0.1173, allocations: 4 kB / 409 MB, free: 13.38 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004821/0.1178, allocations: 267.7 kB / 409.3 MB, free: 13.12 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.909e-05/0.1178, allocations: 23.86 kB / 409.3 MB, free: 13.1 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.986e-05/0.1179, allocations: 47.72 kB / 409.3 MB, free: 13.05 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000608/0.1185, allocations: 315.5 kB / 409.6 MB, free: 12.74 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.1186, allocations: 0 / 409.6 MB, free: 12.74 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.1186, allocations: 0 / 409.6 MB, free: 12.74 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.945e-06/0.1186, allocations: 0 / 409.6 MB, free: 12.74 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.0007666/0.1194, allocations: 0.4889 MB / 410.1 MB, free: 12.2 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.62e-05/0.1194, allocations: 15.89 kB / 410.1 MB, free: 12.18 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.97e-05/0.1195, allocations: 34.75 kB / 410.2 MB, free: 12.14 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.222e-05/0.1195, allocations: 16.75 kB / 410.2 MB, free: 12.12 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002872/0.1198, allocations: 224.4 kB / 410.4 MB, free: 11.87 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.275e-05/0.1199, allocations: 0 / 410.4 MB, free: 11.87 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.788e-05/0.1199, allocations: 4 kB / 410.4 MB, free: 11.86 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002375/0.1201, allocations: 107.2 kB / 410.5 MB, free: 11.75 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.041e-05/0.1201, allocations: 0 / 410.5 MB, free: 11.75 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.276e-05/0.1202, allocations: 0 / 410.5 MB, free: 11.75 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.5e-06/0.1202, allocations: 0 / 410.5 MB, free: 11.75 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001533/0.1203, allocations: 55.95 kB / 410.6 MB, free: 11.69 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005002/0.1208, allocations: 321.7 kB / 410.9 MB, free: 11.32 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002614/0.1211, allocations: 97.28 kB / 411 MB, free: 11.21 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001089/0.1212, allocations: 61.69 kB / 411 MB, free: 11.14 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.977e-05/0.1213, allocations: 3.984 kB / 411.1 MB, free: 11.14 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003157/0.1216, allocations: 134.8 kB / 411.2 MB, free: 10.98 MB / 350.1 MB Notification: Performance of pre-optimization done (n=11): time 1.303e-06/0.1216, allocations: 0 / 411.2 MB, free: 10.98 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.0005399/0.1221, allocations: 235.2 kB / 411.4 MB, free: 10.74 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.919e-05/0.1222, allocations: 114.7 kB / 411.5 MB, free: 10.61 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001986/0.1225, allocations: 173 kB / 411.7 MB, free: 10.42 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.847e-05/0.1225, allocations: 25.7 kB / 411.7 MB, free: 10.39 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.659e-05/0.1225, allocations: 108.1 kB / 411.8 MB, free: 10.28 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.875e-05/0.1226, allocations: 23.62 kB / 411.8 MB, free: 10.26 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.103e-05/0.1227, allocations: 29.7 kB / 411.9 MB, free: 10.22 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001437/0.1228, allocations: 318.8 kB / 412.2 MB, free: 9.902 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.32e-05/0.1229, allocations: 39.98 kB / 412.2 MB, free: 9.863 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.386e-05/0.123, allocations: 57.56 kB / 412.3 MB, free: 9.801 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000201/0.1232, allocations: 153 kB / 412.4 MB, free: 9.633 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.305e-06/0.1232, allocations: 0 / 412.4 MB, free: 9.633 MB / 350.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003296/0.1236, allocations: 187.4 kB / 412.6 MB, free: 9.438 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.73e-05/0.1236, allocations: 41.69 kB / 412.7 MB, free: 9.391 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.593e-06/0.1236, allocations: 0 / 412.7 MB, free: 9.391 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.941e-05/0.1237, allocations: 3.938 kB / 412.7 MB, free: 9.387 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.774e-05/0.1237, allocations: 16.03 kB / 412.7 MB, free: 9.371 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.05e-05/0.1238, allocations: 0 / 412.7 MB, free: 9.371 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.577e-05/0.1238, allocations: 15.86 kB / 412.7 MB, free: 9.355 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.028e-05/0.1239, allocations: 8 kB / 412.7 MB, free: 9.348 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.0001617/0.124, allocations: 159.5 kB / 412.9 MB, free: 9.176 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.377e-05/0.1241, allocations: 15.81 kB / 412.9 MB, free: 9.16 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.704e-05/0.1241, allocations: 16.64 kB / 412.9 MB, free: 9.145 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.689e-06/0.1241, allocations: 4 kB / 412.9 MB, free: 9.141 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/0.1242, allocations: 0 / 412.9 MB, free: 9.141 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.1242, allocations: 0 / 412.9 MB, free: 9.141 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002998/0.1245, allocations: 209.6 kB / 413.1 MB, free: 8.887 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.1245, allocations: 0 / 413.1 MB, free: 8.887 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.771e-05/0.1245, allocations: 16 kB / 413.1 MB, free: 8.871 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/0.1245, allocations: 0 / 413.1 MB, free: 8.871 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.891e-05/0.1246, allocations: 7.938 kB / 413.1 MB, free: 8.863 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.615e-06/0.1246, allocations: 0 / 413.1 MB, free: 8.863 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.1246, allocations: 0 / 413.1 MB, free: 8.863 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000377/0.125, allocations: 251.4 kB / 413.4 MB, free: 8.59 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.762e-05/0.1251, allocations: 96.91 kB / 413.5 MB, free: 8.477 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.966e-05/0.1251, allocations: 11.94 kB / 413.5 MB, free: 8.465 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.998e-05/0.1252, allocations: 7.938 kB / 413.5 MB, free: 8.457 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.054e-05/0.1252, allocations: 12.05 kB / 413.5 MB, free: 8.445 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.285e-05/0.1253, allocations: 8 kB / 413.5 MB, free: 8.438 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001366/0.1254, allocations: 132.2 kB / 413.6 MB, free: 8.309 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1254, allocations: 0 / 413.6 MB, free: 8.309 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003796/0.1258, allocations: 99.91 kB / 413.7 MB, free: 8.211 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.001857/0.1277, allocations: 1.151 MB / 414.9 MB, free: 7.156 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003489/0.128, allocations: 195.2 kB / 415.1 MB, free: 6.953 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.128, allocations: 0 / 415.1 MB, free: 6.953 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001629/0.1282, allocations: 135.4 kB / 415.2 MB, free: 6.809 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002573/0.1285, allocations: 12 kB / 415.2 MB, free: 6.797 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002441/0.1309, allocations: 1.93 MB / 417.1 MB, free: 4.766 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002932/0.1312, allocations: 0.7084 MB / 417.9 MB, free: 4.031 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.293e-05/0.1313, allocations: 16.42 kB / 417.9 MB, free: 4.016 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.417e-05/0.1314, allocations: 43.41 kB / 417.9 MB, free: 3.973 MB / 350.1 MB Notification: Performance of SimCode: time 4.11e-07/0.1314, allocations: 0 / 417.9 MB, free: 3.973 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03394/0.1654, allocations: 4.803 MB / 422.7 MB, free: 15.2 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.613/7.779, allocations: 8 kB / 422.7 MB, free: 15.19 MB / 366.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ExternData_ExternData_Examples_XLSTest_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ExternData_ExternData_Examples_XLSTest.fmu > ExternData_ExternData.Examples.XLSTest.pipe 2>&1)