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.5/package.mo", uses=false) Using package ExternData with version 3.0.5 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.5/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.005474/0.005474, allocations: 99.77 kB / 15.73 MB, free: 6.012 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.001413/0.001413, allocations: 193.5 kB / 16.67 MB, free: 5.93 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.454/1.454, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.5/package.mo): time 0.01281/0.01281, allocations: 2.947 MB / 293.5 MB, free: 11.78 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001835/0.001835, allocations: 66.23 kB / 405.8 MB, free: 29.25 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08959/0.09143, allocations: 50.34 MB / 456.1 MB, free: 10.86 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.XLSXTest): time 0.003583/0.09508, allocations: 1.657 MB / 457.8 MB, free: 9.195 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003575/0.09868, allocations: 1.709 MB / 459.5 MB, free: 7.477 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001277/0.09891, allocations: 0 / 459.5 MB, free: 7.477 MB / 334.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.5/package.mo:221:3-248:15:writable] Warning: Pure function 'ExternData.XLSXFile' contains a call to impure function 'ExternData.Types.ExternXLSXFile.constructor'. Notification: Performance of NFTyping.typeComponents: time 0.0005276/0.09945, allocations: 51.7 kB / 459.5 MB, free: 7.426 MB / 334.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.5/Examples/package.mo:139:5-159:22:writable] Warning: Pure function 'ExternData.Examples.XLSXTest.computeColSum' contains a call to impure function 'ExternData.Types.ExternXLSXFile.constructor'. Notification: Performance of NFTyping.typeBindings: time 0.0006961/0.1002, allocations: 167.3 kB / 459.7 MB, free: 7.262 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003045/0.1005, allocations: 87.78 kB / 459.8 MB, free: 7.176 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002163/0.1007, allocations: 91.7 kB / 459.9 MB, free: 7.086 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001386/0.1008, allocations: 16.5 kB / 459.9 MB, free: 7.066 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001024/0.101, allocations: 35.86 kB / 459.9 MB, free: 7.031 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002736/0.1012, allocations: 43.77 kB / 460 MB, free: 6.988 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.806e-05/0.1013, allocations: 8 kB / 460 MB, free: 6.98 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000537/0.1018, allocations: 255.7 kB / 460.2 MB, free: 6.73 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001305/0.102, allocations: 31.86 kB / 460.3 MB, free: 6.699 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001046/0.1021, allocations: 43.73 kB / 460.3 MB, free: 6.656 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006449/0.1027, allocations: 311 kB / 460.6 MB, free: 6.352 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.853e-06/0.1027, allocations: 0 / 460.6 MB, free: 6.352 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.234e-06/0.1028, allocations: 0 / 460.6 MB, free: 6.352 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.05e-05/0.1028, allocations: 3.938 kB / 460.6 MB, free: 6.348 MB / 334.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.001073/0.1039, allocations: 0.4999 MB / 461.1 MB, free: 5.793 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.961e-05/0.1039, allocations: 15.89 kB / 461.1 MB, free: 5.777 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.019e-05/0.104, allocations: 34.75 kB / 461.2 MB, free: 5.734 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.396e-05/0.1041, allocations: 16.84 kB / 461.2 MB, free: 5.719 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004657/0.1046, allocations: 216.2 kB / 461.4 MB, free: 5.469 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.668e-05/0.1046, allocations: 8.375 kB / 461.4 MB, free: 5.461 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.464e-05/0.1046, allocations: 11.94 kB / 461.4 MB, free: 5.449 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002483/0.1049, allocations: 95.31 kB / 461.5 MB, free: 5.344 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.129e-05/0.1049, allocations: 0 / 461.5 MB, free: 5.344 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.373e-05/0.1049, allocations: 7.984 kB / 461.5 MB, free: 5.336 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.11e-05/0.1049, allocations: 4 kB / 461.5 MB, free: 5.332 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001642/0.1051, allocations: 51.97 kB / 461.6 MB, free: 5.281 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005363/0.1056, allocations: 321.7 kB / 461.9 MB, free: 4.914 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003044/0.106, allocations: 101.3 kB / 462 MB, free: 4.797 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001141/0.1061, allocations: 53.73 kB / 462 MB, free: 4.738 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.701e-05/0.1061, allocations: 4 kB / 462 MB, free: 4.734 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002813/0.1064, allocations: 134.7 kB / 462.2 MB, free: 4.578 MB / 334.1 MB Notification: Performance of pre-optimization done (n=11): time 4.058e-06/0.1064, allocations: 4 kB / 462.2 MB, free: 4.574 MB / 334.1 MB Notification: Performance of matching and sorting (n=11): time 0.0005589/0.107, allocations: 231.3 kB / 462.4 MB, free: 4.336 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001017/0.1071, allocations: 114.8 kB / 462.5 MB, free: 4.199 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002171/0.1073, allocations: 172 kB / 462.7 MB, free: 4.023 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.593e-05/0.1074, allocations: 25.7 kB / 462.7 MB, free: 3.992 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001037/0.1075, allocations: 100.1 kB / 462.8 MB, free: 3.891 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.542e-05/0.1075, allocations: 27.75 kB / 462.8 MB, free: 3.863 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.814e-05/0.1076, allocations: 25.7 kB / 462.8 MB, free: 3.832 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002498/0.1078, allocations: 326.8 kB / 463.2 MB, free: 3.504 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.775e-05/0.1079, allocations: 35.98 kB / 463.2 MB, free: 3.469 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001106/0.1081, allocations: 57.67 kB / 463.3 MB, free: 3.406 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002442/0.1083, allocations: 153 kB / 463.4 MB, free: 3.238 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.1083, allocations: 0 / 463.4 MB, free: 3.238 MB / 334.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003716/0.1087, allocations: 195.1 kB / 463.6 MB, free: 3.035 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.466e-05/0.1088, allocations: 41.69 kB / 463.6 MB, free: 2.988 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.813e-06/0.1088, allocations: 0 / 463.6 MB, free: 2.988 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.696e-05/0.1088, allocations: 0 / 463.6 MB, free: 2.988 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.062e-05/0.1089, allocations: 12 kB / 463.6 MB, free: 2.977 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.194e-05/0.1089, allocations: 7.922 kB / 463.7 MB, free: 2.969 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.721e-05/0.109, allocations: 4 kB / 463.7 MB, free: 2.965 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.564e-05/0.109, allocations: 4 kB / 463.7 MB, free: 2.961 MB / 334.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.0001743/0.1092, allocations: 174.4 kB / 463.8 MB, free: 2.777 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.415e-05/0.1093, allocations: 15.91 kB / 463.8 MB, free: 2.762 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.35e-05/0.1093, allocations: 17.03 kB / 463.9 MB, free: 2.742 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.1093, allocations: 0 / 463.9 MB, free: 2.742 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.965e-06/0.1093, allocations: 7.938 kB / 463.9 MB, free: 2.734 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.138e-05/0.1093, allocations: 3.984 kB / 463.9 MB, free: 2.73 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002174/0.1096, allocations: 197.6 kB / 464.1 MB, free: 2.488 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.226e-06/0.1096, allocations: 3.984 kB / 464.1 MB, free: 2.484 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.646e-05/0.1096, allocations: 11.94 kB / 464.1 MB, free: 2.473 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.1096, allocations: 4 kB / 464.1 MB, free: 2.469 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.368e-05/0.1097, allocations: 0 / 464.1 MB, free: 2.469 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.1097, allocations: 8 kB / 464.1 MB, free: 2.461 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.8e-05/0.1097, allocations: 7.938 kB / 464.1 MB, free: 2.453 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004175/0.1101, allocations: 243.5 kB / 464.3 MB, free: 2.188 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.359e-05/0.1102, allocations: 93 kB / 464.4 MB, free: 2.078 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.096e-05/0.1103, allocations: 11.98 kB / 464.4 MB, free: 2.066 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.761e-05/0.1103, allocations: 8 kB / 464.5 MB, free: 2.059 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.513e-05/0.1104, allocations: 7.938 kB / 464.5 MB, free: 2.051 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.655e-05/0.1104, allocations: 7.984 kB / 464.5 MB, free: 2.043 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000131/0.1106, allocations: 134.1 kB / 464.6 MB, free: 1.914 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1106, allocations: 0 / 464.6 MB, free: 1.914 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003973/0.111, allocations: 95.67 kB / 464.7 MB, free: 1.82 MB / 334.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.002658/0.1137, allocations: 1.266 MB / 466 MB, free: 0.6992 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003881/0.1141, allocations: 191.3 kB / 466.1 MB, free: 0.5 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.1141, allocations: 0 / 466.1 MB, free: 0.5 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001921/0.1143, allocations: 143.3 kB / 466.3 MB, free: 356 kB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002603/0.1145, allocations: 19.92 kB / 466.3 MB, free: 336 kB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002531/0.1171, allocations: 1.919 MB / 468.2 MB, free: 14.31 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003586/0.1174, allocations: 0.7117 MB / 468.9 MB, free: 13.57 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.208e-05/0.1175, allocations: 28.34 kB / 469 MB, free: 13.54 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.96e-05/0.1176, allocations: 35.59 kB / 469 MB, free: 13.51 MB / 350.1 MB Notification: Performance of SimCode: time 2.81e-07/0.1176, allocations: 0 / 469 MB, free: 13.51 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04002/0.1577, allocations: 4.955 MB / 474 MB, free: 8.488 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.313/8.471, allocations: 11.14 kB / 474 MB, free: 8.48 MB / 350.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)