Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ExternData_ExternData.Examples.XLSXTest.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.XLSXTest,fileNamePrefix="ExternData_ExternData_Examples_XLSXTest",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ExternData.Examples.XLSXTest,fileNamePrefix="ExternData_ExternData_Examples_XLSXTest",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.001056/0.001056, 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.001165/0.001165, allocations: 192.8 kB / 16.25 MB, free: 6.637 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.356/1.356, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.4-master/package.mo): time 0.1485/0.1485, allocations: 2.937 MB / 293 MB, free: 3.199 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001575/0.001575, allocations: 59.91 kB / 354.3 MB, free: 4 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09803/0.09963, allocations: 50.34 MB / 404.6 MB, free: 1.613 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.XLSXTest): time 0.003729/0.1034, allocations: 1.734 MB / 406.3 MB, free: 15.87 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002612/0.106, allocations: 1.681 MB / 408 MB, free: 14.18 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.274e-05/0.1062, allocations: 0 / 408 MB, free: 14.18 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003202/0.1065, allocations: 39.84 kB / 408.1 MB, free: 14.14 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005381/0.1071, allocations: 147.5 kB / 408.2 MB, free: 14 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002714/0.1074, allocations: 86.72 kB / 408.3 MB, free: 13.91 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001546/0.1075, allocations: 87.72 kB / 408.4 MB, free: 13.83 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001004/0.1076, allocations: 24.19 kB / 408.4 MB, free: 13.8 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.387e-05/0.1077, allocations: 39.91 kB / 408.4 MB, free: 13.76 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001601/0.1079, allocations: 35.73 kB / 408.5 MB, free: 13.73 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.332e-05/0.1079, allocations: 8 kB / 408.5 MB, free: 13.72 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004022/0.1083, allocations: 255.7 kB / 408.7 MB, free: 13.47 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.965e-05/0.1084, allocations: 23.91 kB / 408.8 MB, free: 13.45 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.655e-05/0.1085, allocations: 43.8 kB / 408.8 MB, free: 13.4 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005335/0.109, allocations: 295.5 kB / 409.1 MB, free: 13.11 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/0.1091, allocations: 8 kB / 409.1 MB, free: 13.11 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.203e-06/0.1091, allocations: 0 / 409.1 MB, free: 13.11 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.157e-06/0.1091, allocations: 0 / 409.1 MB, free: 13.11 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.0007398/0.1098, allocations: 496.6 kB / 409.6 MB, free: 12.57 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.419e-05/0.1099, allocations: 11.89 kB / 409.6 MB, free: 12.55 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.048e-05/0.1099, allocations: 42.73 kB / 409.6 MB, free: 12.5 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.357e-05/0.11, allocations: 12.75 kB / 409.7 MB, free: 12.49 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002491/0.1103, allocations: 220.1 kB / 409.9 MB, free: 12.24 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.005e-06/0.1103, allocations: 4.375 kB / 409.9 MB, free: 12.23 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.75e-05/0.1103, allocations: 7.938 kB / 409.9 MB, free: 12.23 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002037/0.1105, allocations: 95.38 kB / 410 MB, free: 12.12 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.514e-06/0.1105, allocations: 0 / 410 MB, free: 12.12 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.196e-05/0.1105, allocations: 0 / 410 MB, free: 12.12 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.17e-06/0.1106, allocations: 0 / 410 MB, free: 12.12 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001467/0.1107, allocations: 55.91 kB / 410 MB, free: 12.07 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004136/0.1111, allocations: 325.6 kB / 410.3 MB, free: 11.7 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002761/0.1114, allocations: 97.22 kB / 410.4 MB, free: 11.58 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001066/0.1115, allocations: 57.75 kB / 410.5 MB, free: 11.52 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.266e-05/0.1116, allocations: 4 kB / 410.5 MB, free: 11.52 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002838/0.1119, allocations: 138.7 kB / 410.6 MB, free: 11.36 MB / 350.1 MB Notification: Performance of pre-optimization done (n=11): time 3.106e-06/0.1119, allocations: 0 / 410.6 MB, free: 11.36 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004896/0.1124, allocations: 231.3 kB / 410.9 MB, free: 11.12 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.547e-05/0.1124, allocations: 114.7 kB / 411 MB, free: 10.98 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001817/0.1126, allocations: 180.3 kB / 411.1 MB, free: 10.8 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.795e-05/0.1126, allocations: 25.7 kB / 411.2 MB, free: 10.77 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.727e-05/0.1127, allocations: 96.12 kB / 411.3 MB, free: 10.67 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.535e-05/0.1128, allocations: 27.56 kB / 411.3 MB, free: 10.64 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.723e-05/0.1128, allocations: 33.7 kB / 411.3 MB, free: 10.6 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001075/0.1129, allocations: 318.8 kB / 411.6 MB, free: 10.28 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.529e-05/0.113, allocations: 39.98 kB / 411.7 MB, free: 10.24 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.155e-05/0.1131, allocations: 57.69 kB / 411.7 MB, free: 10.18 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001786/0.1133, allocations: 141.1 kB / 411.9 MB, free: 10.02 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.507e-06/0.1133, allocations: 0 / 411.9 MB, free: 10.02 MB / 350.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003036/0.1136, allocations: 191.5 kB / 412.1 MB, free: 9.824 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.618e-05/0.1137, allocations: 37.64 kB / 412.1 MB, free: 9.781 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/0.1137, allocations: 0 / 412.1 MB, free: 9.781 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.343e-05/0.1137, allocations: 48 / 412.1 MB, free: 9.781 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.548e-05/0.1138, allocations: 23.97 kB / 412.1 MB, free: 9.758 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.534e-06/0.1138, allocations: 4.25 kB / 412.1 MB, free: 9.754 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001115/0.1139, allocations: 19.84 kB / 412.1 MB, free: 9.734 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.178e-05/0.1139, allocations: 0 / 412.1 MB, free: 9.734 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.0001222/0.1141, allocations: 155.5 kB / 412.3 MB, free: 9.566 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.575e-05/0.1141, allocations: 15.89 kB / 412.3 MB, free: 9.551 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.332e-05/0.1141, allocations: 8.719 kB / 412.3 MB, free: 9.543 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.927e-06/0.1141, allocations: 7.938 kB / 412.3 MB, free: 9.535 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.084e-06/0.1142, allocations: 7.938 kB / 412.3 MB, free: 9.527 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.1142, allocations: 0 / 412.3 MB, free: 9.527 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001748/0.1143, allocations: 217.5 kB / 412.5 MB, free: 9.266 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.1144, allocations: 0 / 412.5 MB, free: 9.266 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.221e-05/0.1144, allocations: 11.94 kB / 412.6 MB, free: 9.254 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.925e-06/0.1144, allocations: 3.938 kB / 412.6 MB, free: 9.25 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.583e-05/0.1144, allocations: 7.984 kB / 412.6 MB, free: 9.242 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.684e-06/0.1145, allocations: 0 / 412.6 MB, free: 9.242 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.1145, allocations: 3.938 kB / 412.6 MB, free: 9.238 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003551/0.1148, allocations: 243.5 kB / 412.8 MB, free: 8.973 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.321e-05/0.1149, allocations: 97 kB / 412.9 MB, free: 8.859 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.464e-05/0.1149, allocations: 4 kB / 412.9 MB, free: 8.855 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.751e-05/0.115, allocations: 4 kB / 412.9 MB, free: 8.852 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.243e-05/0.115, allocations: 15.92 kB / 412.9 MB, free: 8.836 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.856e-05/0.1151, allocations: 4 kB / 412.9 MB, free: 8.832 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001316/0.1152, allocations: 128.2 kB / 413.1 MB, free: 8.707 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1152, allocations: 4 kB / 413.1 MB, free: 8.703 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003572/0.1156, allocations: 99.91 kB / 413.2 MB, free: 8.605 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.0019/0.1175, allocations: 1.277 MB / 414.4 MB, free: 7.496 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003056/0.1178, allocations: 191.3 kB / 414.6 MB, free: 7.297 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.1178, allocations: 0 / 414.6 MB, free: 7.297 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001607/0.118, allocations: 139.3 kB / 414.8 MB, free: 7.148 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002383/0.1182, allocations: 14.67 kB / 414.8 MB, free: 7.137 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002272/0.1205, allocations: 1.939 MB / 416.7 MB, free: 5.098 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002626/0.1208, allocations: 0.7078 MB / 417.4 MB, free: 4.363 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.328e-05/0.1209, allocations: 16.41 kB / 417.4 MB, free: 4.348 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.539e-05/0.121, allocations: 43.41 kB / 417.5 MB, free: 4.305 MB / 350.1 MB Notification: Performance of SimCode: time 2.41e-07/0.121, allocations: 0 / 417.5 MB, free: 4.305 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9333/1.054, allocations: 4.734 MB / 422.2 MB, free: 15.57 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002025/1.055, allocations: 245.4 kB / 422.5 MB, free: 15.31 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.619/4.673, allocations: 0 / 422.5 MB, free: 15.31 MB / 366.1 MB (rm -f ExternData_ExternData.Examples.XLSXTest.pipe ; mkfifo ExternData_ExternData.Examples.XLSXTest.pipe ; head -c 1048576 < ExternData_ExternData.Examples.XLSXTest.pipe >> ../files/ExternData_ExternData.Examples.XLSXTest.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ExternData_ExternData_Examples_XLSXTest_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ExternData_ExternData_Examples_XLSXTest.fmu > ExternData_ExternData.Examples.XLSXTest.pipe 2>&1)