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.001199/0.001199, allocations: 108 kB / 15.6 MB, free: 132 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.001354/0.001354, allocations: 197.5 kB / 16.53 MB, free: 6.391 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.382/1.382, 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.4-master/package.mo): time 0.1318/0.1318, allocations: 2.931 MB / 293.3 MB, free: 3.242 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001248/0.001248, allocations: 63.83 kB / 354.8 MB, free: 3.656 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08206/0.08332, allocations: 50.34 MB / 405.1 MB, free: 1.273 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.XLSXTest): time 0.00275/0.08611, allocations: 1.662 MB / 406.8 MB, free: 15.6 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002209/0.08833, allocations: 1.713 MB / 408.5 MB, free: 13.88 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.792e-05/0.0884, allocations: 4 kB / 408.5 MB, free: 13.88 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.4-master/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.0002767/0.08869, allocations: 39.77 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: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.000447/0.08915, allocations: 179.2 kB / 408.7 MB, free: 13.66 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002157/0.08937, allocations: 87.77 kB / 408.8 MB, free: 13.57 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001165/0.0895, allocations: 79.84 kB / 408.9 MB, free: 13.5 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.773e-05/0.08959, allocations: 20.2 kB / 408.9 MB, free: 13.47 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.605e-05/0.08967, allocations: 43.78 kB / 408.9 MB, free: 13.43 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001744/0.08985, allocations: 43.78 kB / 409 MB, free: 13.39 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.971e-05/0.08988, allocations: 8 kB / 409 MB, free: 13.38 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003502/0.09023, allocations: 259.7 kB / 409.2 MB, free: 13.12 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.671e-05/0.0903, allocations: 27.91 kB / 409.3 MB, free: 13.1 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.152e-05/0.09037, allocations: 39.8 kB / 409.3 MB, free: 13.06 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003932/0.09077, allocations: 303.5 kB / 409.6 MB, free: 12.76 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.09078, allocations: 4 kB / 409.6 MB, free: 12.76 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.002e-06/0.09079, allocations: 0 / 409.6 MB, free: 12.76 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.979e-06/0.0908, allocations: 0 / 409.6 MB, free: 12.76 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.0005875/0.09139, allocations: 0.4928 MB / 410.1 MB, free: 12.21 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.317e-05/0.09143, allocations: 11.89 kB / 410.1 MB, free: 12.2 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.379e-05/0.09147, allocations: 34.75 kB / 410.1 MB, free: 12.16 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.395e-05/0.09152, allocations: 12.75 kB / 410.1 MB, free: 12.14 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002188/0.09175, allocations: 221 kB / 410.4 MB, free: 11.89 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.121e-06/0.09176, allocations: 384 / 410.4 MB, free: 11.89 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.894e-05/0.09179, allocations: 11.92 kB / 410.4 MB, free: 11.88 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002054/0.092, allocations: 95.38 kB / 410.5 MB, free: 11.77 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.693e-06/0.09202, allocations: 3.938 kB / 410.5 MB, free: 11.77 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.021e-05/0.09203, allocations: 4 kB / 410.5 MB, free: 11.77 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.601e-06/0.09204, allocations: 3.984 kB / 410.5 MB, free: 11.76 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001373/0.09219, allocations: 55.91 kB / 410.5 MB, free: 11.71 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003824/0.09258, allocations: 317.6 kB / 410.8 MB, free: 11.34 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002258/0.09281, allocations: 105.2 kB / 410.9 MB, free: 11.22 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001028/0.09293, allocations: 57.73 kB / 411 MB, free: 11.16 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.624e-06/0.09294, allocations: 0 / 411 MB, free: 11.16 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000242/0.09319, allocations: 146.7 kB / 411.1 MB, free: 10.99 MB / 350.1 MB Notification: Performance of pre-optimization done (n=11): time 1.173e-06/0.0932, allocations: 0 / 411.1 MB, free: 10.99 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004482/0.09366, allocations: 227.4 kB / 411.4 MB, free: 10.76 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.346e-05/0.09373, allocations: 114.7 kB / 411.5 MB, free: 10.62 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001568/0.09389, allocations: 174.8 kB / 411.7 MB, free: 10.44 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.633e-05/0.09392, allocations: 25.7 kB / 411.7 MB, free: 10.41 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.814e-05/0.09397, allocations: 100.1 kB / 411.8 MB, free: 10.31 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.18e-05/0.09401, allocations: 27.56 kB / 411.8 MB, free: 10.28 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.679e-05/0.09406, allocations: 33.7 kB / 411.8 MB, free: 10.24 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001038/0.09417, allocations: 318.8 kB / 412.1 MB, free: 9.922 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.326e-05/0.09426, allocations: 35.98 kB / 412.2 MB, free: 9.887 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.843e-05/0.09436, allocations: 53.69 kB / 412.2 MB, free: 9.828 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001926/0.09456, allocations: 149 kB / 412.4 MB, free: 9.664 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.09457, allocations: 4 kB / 412.4 MB, free: 9.66 MB / 350.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002994/0.09488, allocations: 183.2 kB / 412.6 MB, free: 9.469 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.427e-05/0.09492, allocations: 41.69 kB / 412.6 MB, free: 9.422 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/0.09493, allocations: 0 / 412.6 MB, free: 9.422 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.068e-05/0.09495, allocations: 0 / 412.6 MB, free: 9.422 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.067e-05/0.09501, allocations: 12 kB / 412.6 MB, free: 9.41 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.815e-06/0.09503, allocations: 11.86 kB / 412.6 MB, free: 9.398 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.874e-05/0.09511, allocations: 15.84 kB / 412.6 MB, free: 9.383 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.749e-06/0.09513, allocations: 0 / 412.6 MB, free: 9.383 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.0001151/0.09525, allocations: 163.5 kB / 412.8 MB, free: 9.207 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.416e-05/0.09529, allocations: 11.91 kB / 412.8 MB, free: 9.195 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.815e-05/0.09533, allocations: 12.7 kB / 412.8 MB, free: 9.184 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.09533, allocations: 4.328 kB / 412.8 MB, free: 9.18 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.529e-06/0.09534, allocations: 3.938 kB / 412.8 MB, free: 9.176 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.09535, allocations: 0 / 412.8 MB, free: 9.176 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001626/0.09552, allocations: 213.4 kB / 413 MB, free: 8.918 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.09553, allocations: 0 / 413 MB, free: 8.918 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.751e-05/0.09559, allocations: 19.91 kB / 413.1 MB, free: 8.898 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.0956, allocations: 0 / 413.1 MB, free: 8.898 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.297e-05/0.09562, allocations: 8 kB / 413.1 MB, free: 8.891 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.412e-06/0.09562, allocations: 0 / 413.1 MB, free: 8.891 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.514e-06/0.09563, allocations: 3.938 kB / 413.1 MB, free: 8.887 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003682/0.096, allocations: 235.5 kB / 413.3 MB, free: 8.629 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.785e-05/0.09607, allocations: 97 kB / 413.4 MB, free: 8.516 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.448e-05/0.09612, allocations: 4 kB / 413.4 MB, free: 8.512 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.417e-05/0.0962, allocations: 15.98 kB / 413.4 MB, free: 8.496 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.708e-05/0.09624, allocations: 7.938 kB / 413.4 MB, free: 8.488 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.814e-05/0.09627, allocations: 7.984 kB / 413.4 MB, free: 8.48 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001028/0.09637, allocations: 129.7 kB / 413.6 MB, free: 8.355 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.09638, allocations: 3.938 kB / 413.6 MB, free: 8.352 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003291/0.09671, allocations: 95.92 kB / 413.7 MB, free: 8.258 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.001807/0.09853, allocations: 1.28 MB / 414.9 MB, free: 7.148 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003049/0.09884, allocations: 195.3 kB / 415.1 MB, free: 6.945 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.09886, allocations: 4 kB / 415.1 MB, free: 6.941 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001526/0.09902, allocations: 139.3 kB / 415.3 MB, free: 6.793 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002263/0.09925, allocations: 21.03 kB / 415.3 MB, free: 6.777 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002124/0.1014, allocations: 1.916 MB / 417.2 MB, free: 4.762 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002445/0.1016, allocations: 0.7 MB / 417.9 MB, free: 4.035 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.154e-05/0.1017, allocations: 16.61 kB / 417.9 MB, free: 4.02 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.077e-05/0.1018, allocations: 47.41 kB / 418 MB, free: 3.973 MB / 350.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1018, allocations: 3.938 kB / 418 MB, free: 3.969 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02301/0.1248, allocations: 4.845 MB / 422.8 MB, free: 15.09 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.45/7.575, allocations: 7.922 kB / 422.8 MB, free: 15.08 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 & python3 -m fmpy simulate --output-file ExternData_ExternData.Examples.XLSXTest_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 ExternData_ExternData_Examples_XLSXTest.fmu > ExternData_ExternData.Examples.XLSXTest.pipe 2>&1)