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.00719/0.00719, allocations: 99.83 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.001234/0.001234, 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.432/1.432, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.5/package.mo): time 0.01448/0.01448, allocations: 2.944 MB / 293.5 MB, free: 11.78 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001374/0.001374, allocations: 59.89 kB / 405.8 MB, free: 29.26 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09203/0.09342, allocations: 50.34 MB / 456.1 MB, free: 10.88 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.XLSXTest): time 0.003561/0.09703, allocations: 1.669 MB / 457.8 MB, free: 9.203 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002766/0.09984, allocations: 1.713 MB / 459.5 MB, free: 7.48 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001076/0.09997, allocations: 0 / 459.5 MB, free: 7.48 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.0003886/0.1004, allocations: 43.77 kB / 459.5 MB, free: 7.438 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.0006454/0.101, allocations: 175.2 kB / 459.7 MB, free: 7.266 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003073/0.1013, allocations: 83.78 kB / 459.8 MB, free: 7.184 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001867/0.1015, allocations: 95.73 kB / 459.9 MB, free: 7.09 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000109/0.1017, allocations: 12.52 kB / 459.9 MB, free: 7.074 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.936e-05/0.1018, allocations: 43.8 kB / 459.9 MB, free: 7.031 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002129/0.102, allocations: 39.83 kB / 460 MB, free: 6.992 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.362e-05/0.102, allocations: 8 kB / 460 MB, free: 6.984 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005354/0.1026, allocations: 263.6 kB / 460.2 MB, free: 6.727 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.813e-05/0.1027, allocations: 19.92 kB / 460.3 MB, free: 6.707 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.717e-05/0.1028, allocations: 43.73 kB / 460.3 MB, free: 6.664 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006822/0.1034, allocations: 315 kB / 460.6 MB, free: 6.355 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.1035, allocations: 4 kB / 460.6 MB, free: 6.352 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.1035, allocations: 0 / 460.6 MB, free: 6.352 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.552e-06/0.1035, 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.0007645/0.1042, allocations: 0.496 MB / 461.1 MB, free: 5.797 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.564e-05/0.1043, allocations: 15.89 kB / 461.1 MB, free: 5.781 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.918e-05/0.1043, allocations: 34.75 kB / 461.2 MB, free: 5.738 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.624e-05/0.1044, allocations: 16.84 kB / 461.2 MB, free: 5.723 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003366/0.1048, allocations: 216.1 kB / 461.4 MB, free: 5.473 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.431e-05/0.1048, allocations: 12.38 kB / 461.4 MB, free: 5.461 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.465e-05/0.1048, allocations: 7.938 kB / 461.4 MB, free: 5.453 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002427/0.105, allocations: 91.38 kB / 461.5 MB, free: 5.352 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.836e-06/0.1051, allocations: 0 / 461.5 MB, free: 5.352 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.443e-05/0.1051, allocations: 8 kB / 461.5 MB, free: 5.344 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.979e-06/0.1051, allocations: 0 / 461.5 MB, free: 5.344 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001394/0.1052, allocations: 51.91 kB / 461.5 MB, free: 5.293 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004799/0.1057, allocations: 325.8 kB / 461.9 MB, free: 4.922 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000256/0.106, allocations: 101.1 kB / 462 MB, free: 4.805 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001092/0.1061, allocations: 57.83 kB / 462 MB, free: 4.742 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.78e-05/0.1062, allocations: 8 kB / 462 MB, free: 4.734 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002178/0.1064, allocations: 134.8 kB / 462.2 MB, free: 4.578 MB / 334.1 MB Notification: Performance of pre-optimization done (n=11): time 1.513e-06/0.1064, allocations: 0 / 462.2 MB, free: 4.578 MB / 334.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004746/0.1069, allocations: 231.1 kB / 462.4 MB, free: 4.34 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.797e-05/0.107, allocations: 106.8 kB / 462.5 MB, free: 4.211 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001668/0.1071, allocations: 179.6 kB / 462.7 MB, free: 4.027 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.678e-05/0.1072, allocations: 29.7 kB / 462.7 MB, free: 3.992 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.56e-05/0.1072, allocations: 96.12 kB / 462.8 MB, free: 3.895 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.465e-05/0.1073, allocations: 27.75 kB / 462.8 MB, free: 3.867 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.089e-05/0.1073, allocations: 25.7 kB / 462.8 MB, free: 3.836 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001038/0.1074, allocations: 322.8 kB / 463.2 MB, free: 3.512 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.983e-05/0.1075, allocations: 39.98 kB / 463.2 MB, free: 3.473 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.524e-05/0.1076, allocations: 53.69 kB / 463.2 MB, free: 3.414 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002108/0.1078, allocations: 149.1 kB / 463.4 MB, free: 3.25 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.1078, allocations: 0 / 463.4 MB, free: 3.25 MB / 334.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003089/0.1082, allocations: 195.4 kB / 463.6 MB, free: 3.047 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.665e-05/0.1082, allocations: 41.69 kB / 463.6 MB, free: 3 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.604e-06/0.1082, allocations: 0 / 463.6 MB, free: 3 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.503e-05/0.1083, allocations: 3.938 kB / 463.6 MB, free: 2.996 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.993e-05/0.1083, allocations: 15.98 kB / 463.6 MB, free: 2.98 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.642e-06/0.1083, allocations: 7.938 kB / 463.7 MB, free: 2.973 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.544e-05/0.1084, allocations: 4 kB / 463.7 MB, free: 2.969 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.317e-05/0.1085, allocations: 4 kB / 463.7 MB, free: 2.965 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.0001388/0.1086, allocations: 166.5 kB / 463.8 MB, free: 2.789 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.495e-05/0.1086, allocations: 15.91 kB / 463.8 MB, free: 2.773 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.573e-05/0.1087, allocations: 16.7 kB / 463.9 MB, free: 2.754 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.1087, allocations: 0 / 463.9 MB, free: 2.754 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.645e-06/0.1087, allocations: 7.938 kB / 463.9 MB, free: 2.746 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.456e-06/0.1087, allocations: 4 kB / 463.9 MB, free: 2.742 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001735/0.1089, allocations: 201.6 kB / 464.1 MB, free: 2.496 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.1089, allocations: 0 / 464.1 MB, free: 2.496 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.218e-05/0.109, allocations: 8 kB / 464.1 MB, free: 2.488 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.258e-06/0.109, allocations: 7.938 kB / 464.1 MB, free: 2.48 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.671e-05/0.109, allocations: 4 kB / 464.1 MB, free: 2.477 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.036e-06/0.109, allocations: 7.938 kB / 464.1 MB, free: 2.469 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/0.109, allocations: 7.922 kB / 464.1 MB, free: 2.461 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003589/0.1094, allocations: 239.6 kB / 464.3 MB, free: 2.199 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.617e-05/0.1094, allocations: 97 kB / 464.4 MB, free: 2.086 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.242e-05/0.1095, allocations: 4 kB / 464.4 MB, free: 2.082 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.611e-05/0.1095, allocations: 8.062 kB / 464.4 MB, free: 2.074 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.197e-05/0.1096, allocations: 15.92 kB / 464.5 MB, free: 2.059 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.777e-05/0.1096, allocations: 4 kB / 464.5 MB, free: 2.055 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001067/0.1097, allocations: 130.2 kB / 464.6 MB, free: 1.93 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1097, allocations: 4 kB / 464.6 MB, free: 1.926 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003796/0.1101, allocations: 103.7 kB / 464.7 MB, free: 1.824 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.002134/0.1123, allocations: 1.271 MB / 466 MB, free: 0.6992 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003334/0.1126, allocations: 187.3 kB / 466.1 MB, free: 0.5039 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.1126, allocations: 0 / 466.1 MB, free: 0.5039 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001656/0.1128, allocations: 139.4 kB / 466.3 MB, free: 364 kB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002398/0.113, allocations: 15.94 kB / 466.3 MB, free: 348 kB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002422/0.1155, allocations: 1.927 MB / 468.2 MB, free: 14.31 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003452/0.1158, allocations: 0.7043 MB / 468.9 MB, free: 13.58 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.758e-05/0.1159, allocations: 20.36 kB / 468.9 MB, free: 13.56 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.766e-05/0.116, allocations: 43.53 kB / 469 MB, free: 13.52 MB / 350.1 MB Notification: Performance of SimCode: time 5.31e-07/0.116, allocations: 0 / 469 MB, free: 13.52 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02488/0.1409, allocations: 4.955 MB / 473.9 MB, free: 8.5 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.944/8.085, allocations: 15.14 kB / 474 MB, free: 8.488 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 & 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)