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.001205/0.001205, 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.001383/0.001383, allocations: 192.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.357/1.357, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.4-master/package.mo): time 0.1253/0.1253, allocations: 2.931 MB / 293.3 MB, free: 3.27 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002223/0.002223, allocations: 72.09 kB / 354.8 MB, free: 3.668 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1085/0.1107, allocations: 50.34 MB / 405.1 MB, free: 1.281 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.XLSTest): time 0.002919/0.1137, allocations: 1.669 MB / 406.8 MB, free: 15.61 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002315/0.116, allocations: 1.728 MB / 408.5 MB, free: 13.87 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.349e-05/0.1161, allocations: 0 / 408.5 MB, free: 13.87 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.0003208/0.1164, allocations: 43.72 kB / 408.5 MB, free: 13.83 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.0004848/0.1169, allocations: 175.2 kB / 408.7 MB, free: 13.66 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002245/0.1172, allocations: 79.8 kB / 408.8 MB, free: 13.58 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001448/0.1173, allocations: 103.7 kB / 408.9 MB, free: 13.48 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.361e-05/0.1174, allocations: 15.97 kB / 408.9 MB, free: 13.46 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.672e-05/0.1175, allocations: 39.86 kB / 408.9 MB, free: 13.42 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000164/0.1177, allocations: 43.77 kB / 409 MB, free: 13.38 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.421e-05/0.1177, allocations: 8 kB / 409 MB, free: 13.37 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003942/0.1181, allocations: 267.6 kB / 409.3 MB, free: 13.11 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.777e-05/0.1182, allocations: 23.92 kB / 409.3 MB, free: 13.09 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.661e-05/0.1183, allocations: 47.72 kB / 409.3 MB, free: 13.04 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004265/0.1187, allocations: 311.5 kB / 409.6 MB, free: 12.73 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.1187, allocations: 0 / 409.6 MB, free: 12.73 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.1187, allocations: 8 kB / 409.6 MB, free: 12.73 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.891e-06/0.1187, allocations: 0 / 409.6 MB, free: 12.73 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.0007133/0.1195, allocations: 496.6 kB / 410.1 MB, free: 12.19 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.668e-05/0.1195, allocations: 11.89 kB / 410.1 MB, free: 12.18 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.794e-05/0.1195, allocations: 38.75 kB / 410.2 MB, free: 12.13 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.528e-05/0.1196, allocations: 12.75 kB / 410.2 MB, free: 12.12 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002514/0.1199, allocations: 228.3 kB / 410.4 MB, free: 11.86 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.256e-05/0.1199, allocations: 4 kB / 410.4 MB, free: 11.85 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.768e-05/0.1199, allocations: 11.94 kB / 410.4 MB, free: 11.84 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002018/0.1201, allocations: 95.31 kB / 410.5 MB, free: 11.73 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.566e-06/0.1201, allocations: 0 / 410.5 MB, free: 11.73 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.335e-05/0.1202, allocations: 0 / 410.5 MB, free: 11.73 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.613e-06/0.1202, allocations: 4 kB / 410.5 MB, free: 11.73 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001393/0.1203, allocations: 55.89 kB / 410.6 MB, free: 11.68 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004107/0.1207, allocations: 321.7 kB / 410.9 MB, free: 11.31 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002617/0.121, allocations: 97.22 kB / 411 MB, free: 11.2 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001098/0.1211, allocations: 57.73 kB / 411 MB, free: 11.13 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.331e-05/0.1212, allocations: 4 kB / 411 MB, free: 11.13 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002564/0.1214, allocations: 130.8 kB / 411.2 MB, free: 10.98 MB / 350.1 MB Notification: Performance of pre-optimization done (n=11): time 1.383e-06/0.1214, allocations: 0 / 411.2 MB, free: 10.98 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004493/0.1219, allocations: 235.2 kB / 411.4 MB, free: 10.73 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.056e-05/0.122, allocations: 118.7 kB / 411.5 MB, free: 10.59 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001706/0.1221, allocations: 181 kB / 411.7 MB, free: 10.4 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.56e-05/0.1222, allocations: 25.7 kB / 411.7 MB, free: 10.37 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.086e-05/0.1222, allocations: 104.1 kB / 411.8 MB, free: 10.27 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.545e-05/0.1223, allocations: 23.62 kB / 411.8 MB, free: 10.24 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.75e-05/0.1223, allocations: 29.7 kB / 411.9 MB, free: 10.21 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001006/0.1224, allocations: 322.8 kB / 412.2 MB, free: 9.883 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001081/0.1226, allocations: 35.98 kB / 412.2 MB, free: 9.848 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001257/0.1227, allocations: 57.69 kB / 412.3 MB, free: 9.785 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001962/0.1229, allocations: 141.1 kB / 412.4 MB, free: 9.629 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.1229, allocations: 3.938 kB / 412.4 MB, free: 9.625 MB / 350.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000295/0.1232, allocations: 191.1 kB / 412.6 MB, free: 9.426 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.618e-05/0.1233, allocations: 37.69 kB / 412.6 MB, free: 9.383 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.987e-06/0.1233, allocations: 0 / 412.6 MB, free: 9.383 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.528e-05/0.1233, allocations: 11.88 kB / 412.7 MB, free: 9.371 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.46e-05/0.1234, allocations: 15.92 kB / 412.7 MB, free: 9.355 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.1e-06/0.1234, allocations: 4 kB / 412.7 MB, free: 9.352 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.124e-05/0.1235, allocations: 16.27 kB / 412.7 MB, free: 9.336 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.211e-05/0.1235, allocations: 4 kB / 412.7 MB, free: 9.332 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.0001223/0.1236, allocations: 151.5 kB / 412.8 MB, free: 9.168 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.984e-05/0.1237, allocations: 23.8 kB / 412.9 MB, free: 9.145 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.328e-05/0.1237, allocations: 20.64 kB / 412.9 MB, free: 9.125 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.1237, allocations: 0 / 412.9 MB, free: 9.125 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.1237, allocations: 0 / 412.9 MB, free: 9.125 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.1237, allocations: 4 kB / 412.9 MB, free: 9.121 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001816/0.1239, allocations: 209.6 kB / 413.1 MB, free: 8.867 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.1239, allocations: 0 / 413.1 MB, free: 8.867 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.278e-05/0.124, allocations: 8 kB / 413.1 MB, free: 8.859 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.124, allocations: 0 / 413.1 MB, free: 8.859 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.761e-05/0.124, allocations: 7.938 kB / 413.1 MB, free: 8.852 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.106e-05/0.124, allocations: 7.922 kB / 413.1 MB, free: 8.844 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.124, allocations: 320 / 413.1 MB, free: 8.844 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003704/0.1244, allocations: 247.5 kB / 413.4 MB, free: 8.574 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.831e-05/0.1245, allocations: 96.91 kB / 413.5 MB, free: 8.461 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.788e-05/0.1245, allocations: 11.94 kB / 413.5 MB, free: 8.449 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.064e-05/0.1246, allocations: 4 kB / 413.5 MB, free: 8.445 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.46e-05/0.1247, allocations: 7.984 kB / 413.5 MB, free: 8.438 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.903e-05/0.1247, allocations: 4 kB / 413.5 MB, free: 8.434 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001231/0.1248, allocations: 136.2 kB / 413.6 MB, free: 8.301 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1248, allocations: 0 / 413.6 MB, free: 8.301 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003542/0.1252, allocations: 103.9 kB / 413.7 MB, free: 8.199 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.001476/0.1267, allocations: 1.153 MB / 414.9 MB, free: 7.141 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003135/0.127, allocations: 191.3 kB / 415.1 MB, free: 6.941 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.358e-06/0.127, allocations: 4 kB / 415.1 MB, free: 6.938 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001462/0.1272, allocations: 131.4 kB / 415.2 MB, free: 6.797 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002314/0.1274, allocations: 23.55 kB / 415.2 MB, free: 6.777 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002225/0.1296, allocations: 1.928 MB / 417.1 MB, free: 4.746 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002536/0.1299, allocations: 0.7084 MB / 417.9 MB, free: 4.012 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.3e-05/0.13, allocations: 12.42 kB / 417.9 MB, free: 4 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.871e-05/0.13, allocations: 39.41 kB / 417.9 MB, free: 3.961 MB / 350.1 MB Notification: Performance of SimCode: time 2.81e-07/0.13, allocations: 4 kB / 417.9 MB, free: 3.957 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02188/0.1519, allocations: 4.805 MB / 422.7 MB, free: 15.19 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.416/7.568, allocations: 3.938 kB / 422.7 MB, free: 15.18 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 & python3 -m fmpy simulate --output-file ExternData_ExternData.Examples.XLSTest_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_XLSTest.fmu > ExternData_ExternData.Examples.XLSTest.pipe 2>&1)