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.007552/0.007552, allocations: 96.7 kB / 15.73 MB, free: 6.051 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.001888/0.001888, allocations: 197.9 kB / 16.67 MB, free: 5.973 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.505/1.505, allocations: 222.9 MB / 240.4 MB, free: 4.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.5/package.mo): time 0.1805/0.1805, allocations: 2.939 MB / 293.5 MB, free: 3.176 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002152/0.002153, allocations: 71.89 kB / 405.8 MB, free: 0.6562 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2724/0.2746, allocations: 50.32 MB / 456.1 MB, free: 27.98 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.XLSXTest): time 0.002478/0.2771, allocations: 1.674 MB / 457.8 MB, free: 26.83 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001844/0.279, allocations: 1.704 MB / 459.5 MB, free: 25.64 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.077e-05/0.2791, allocations: 0 / 459.5 MB, free: 25.64 MB / 366.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.0003047/0.2794, allocations: 45.88 kB / 459.5 MB, free: 25.62 MB / 366.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.0004186/0.2798, allocations: 181.9 kB / 459.7 MB, free: 25.52 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002069/0.28, allocations: 84.23 kB / 459.8 MB, free: 25.48 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001152/0.2802, allocations: 95.64 kB / 459.9 MB, free: 25.44 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.209e-05/0.2802, allocations: 13.44 kB / 459.9 MB, free: 25.43 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.957e-05/0.2803, allocations: 41.16 kB / 459.9 MB, free: 25.41 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001421/0.2805, allocations: 46.36 kB / 460 MB, free: 25.39 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.777e-05/0.2805, allocations: 6.062 kB / 460 MB, free: 25.39 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002933/0.2808, allocations: 266.7 kB / 460.2 MB, free: 25.3 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 5.665e-05/0.2808, allocations: 17.45 kB / 460.3 MB, free: 25.29 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 5.302e-05/0.2809, allocations: 47.45 kB / 460.3 MB, free: 25.26 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003482/0.2813, allocations: 310.8 kB / 460.6 MB, free: 25.14 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.2813, allocations: 0 / 460.6 MB, free: 25.14 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.2813, allocations: 0 / 460.6 MB, free: 25.14 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.076e-05/0.2813, allocations: 3.156 kB / 460.6 MB, free: 25.14 MB / 366.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.0004856/0.2818, allocations: 498.8 kB / 461.1 MB, free: 24.68 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.956e-05/0.2818, allocations: 13.3 kB / 461.1 MB, free: 24.67 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.251e-05/0.2819, allocations: 38.17 kB / 461.2 MB, free: 24.63 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.843e-05/0.2819, allocations: 15 kB / 461.2 MB, free: 24.62 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002224/0.2821, allocations: 221.2 kB / 461.4 MB, free: 24.39 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.209e-05/0.2821, allocations: 6.797 kB / 461.4 MB, free: 24.39 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.096e-05/0.2822, allocations: 7.031 kB / 461.4 MB, free: 24.39 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001609/0.2823, allocations: 92.12 kB / 461.5 MB, free: 24.33 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.296e-06/0.2823, allocations: 0 / 461.5 MB, free: 24.33 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.033e-05/0.2824, allocations: 3.219 kB / 461.5 MB, free: 24.33 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.847e-06/0.2824, allocations: 0 / 461.5 MB, free: 24.33 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001366/0.2825, allocations: 69.8 kB / 461.6 MB, free: 24.3 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002971/0.2828, allocations: 316.8 kB / 461.9 MB, free: 24 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002036/0.283, allocations: 97.66 kB / 462 MB, free: 23.93 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.425e-05/0.2831, allocations: 60.8 kB / 462 MB, free: 23.89 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.345e-05/0.2831, allocations: 3.422 kB / 462 MB, free: 23.89 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001635/0.2833, allocations: 145.7 kB / 462.2 MB, free: 23.77 MB / 366.1 MB Notification: Performance of pre-optimization done (n=11): time 1.272e-06/0.2833, allocations: 0 / 462.2 MB, free: 23.77 MB / 366.1 MB Notification: Performance of matching and sorting (n=11): time 0.000387/0.2837, allocations: 234 kB / 462.4 MB, free: 23.66 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.578e-05/0.2838, allocations: 106.2 kB / 462.5 MB, free: 23.54 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001175/0.2839, allocations: 177.7 kB / 462.7 MB, free: 23.41 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.083e-05/0.2839, allocations: 25.7 kB / 462.7 MB, free: 23.38 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.008e-05/0.2839, allocations: 94.78 kB / 462.8 MB, free: 23.29 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.802e-05/0.284, allocations: 34.08 kB / 462.8 MB, free: 23.26 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.313e-05/0.284, allocations: 23.69 kB / 462.8 MB, free: 23.24 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 4.547e-05/0.2841, allocations: 325.6 kB / 463.2 MB, free: 22.92 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.409e-05/0.2842, allocations: 36.95 kB / 463.2 MB, free: 22.91 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.275e-05/0.2842, allocations: 54.2 kB / 463.3 MB, free: 22.88 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001462/0.2844, allocations: 152.2 kB / 463.4 MB, free: 22.77 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.2844, allocations: 0 / 463.4 MB, free: 22.77 MB / 366.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002446/0.2846, allocations: 197.4 kB / 463.6 MB, free: 22.66 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.594e-05/0.2847, allocations: 35.38 kB / 463.6 MB, free: 22.63 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.488e-06/0.2847, allocations: 7.219 kB / 463.6 MB, free: 22.63 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.434e-05/0.2847, allocations: 0 / 463.6 MB, free: 22.63 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.777e-05/0.2848, allocations: 9.469 kB / 463.6 MB, free: 22.63 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.893e-06/0.2848, allocations: 11.47 kB / 463.7 MB, free: 22.62 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.98e-05/0.2849, allocations: 6.188 kB / 463.7 MB, free: 22.62 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.151e-05/0.2849, allocations: 6.969 kB / 463.7 MB, free: 22.62 MB / 366.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 8.351e-05/0.285, allocations: 159.4 kB / 463.8 MB, free: 22.46 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.94e-05/0.285, allocations: 13.88 kB / 463.8 MB, free: 22.46 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.828e-05/0.285, allocations: 19.14 kB / 463.9 MB, free: 22.44 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.006e-06/0.285, allocations: 3 kB / 463.9 MB, free: 22.44 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.99e-06/0.2851, allocations: 7.875 kB / 463.9 MB, free: 22.43 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.035e-06/0.2851, allocations: 0 / 463.9 MB, free: 22.43 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001204/0.2852, allocations: 211.4 kB / 464.1 MB, free: 22.22 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.2852, allocations: 0 / 464.1 MB, free: 22.22 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.838e-05/0.2853, allocations: 17 kB / 464.1 MB, free: 22.21 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.824e-06/0.2853, allocations: 0 / 464.1 MB, free: 22.21 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.362e-05/0.2853, allocations: 6.203 kB / 464.1 MB, free: 22.21 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.284e-06/0.2853, allocations: 3 kB / 464.1 MB, free: 22.21 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.2853, allocations: 3.938 kB / 464.1 MB, free: 22.21 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002914/0.2856, allocations: 242.6 kB / 464.3 MB, free: 22.06 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.712e-05/0.2856, allocations: 95.36 kB / 464.4 MB, free: 21.96 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.117e-05/0.2857, allocations: 3.156 kB / 464.4 MB, free: 21.96 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.356e-05/0.2857, allocations: 6.281 kB / 464.4 MB, free: 21.96 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.607e-05/0.2858, allocations: 18.39 kB / 464.5 MB, free: 21.95 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.638e-05/0.2858, allocations: 3.156 kB / 464.5 MB, free: 21.95 MB / 366.1 MB Notification: Performance of sorting global known variables: time 8.354e-05/0.2859, allocations: 139.4 kB / 464.6 MB, free: 21.85 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2859, allocations: 0 / 464.6 MB, free: 21.85 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003399/0.2863, allocations: 103.1 kB / 464.7 MB, free: 21.82 MB / 366.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.002261/0.2885, allocations: 1.255 MB / 466 MB, free: 20.96 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002775/0.2888, allocations: 192.5 kB / 466.1 MB, free: 20.84 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.235e-06/0.2888, allocations: 0 / 466.1 MB, free: 20.84 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001164/0.289, allocations: 137.9 kB / 466.3 MB, free: 20.75 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002351/0.2892, allocations: 27.59 kB / 466.3 MB, free: 20.73 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001704/0.2909, allocations: 1.922 MB / 468.2 MB, free: 19.29 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000106/0.291, allocations: 0.7044 MB / 468.9 MB, free: 18.59 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.31e-05/0.2911, allocations: 24.42 kB / 469 MB, free: 18.59 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.108e-05/0.2912, allocations: 39.91 kB / 469 MB, free: 18.56 MB / 366.1 MB Notification: Performance of SimCode: time 2.21e-07/0.2912, allocations: 0 / 469 MB, free: 18.56 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02747/0.3186, allocations: 4.958 MB / 474 MB, free: 17.47 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.226/8.545, allocations: 7.875 kB / 474 MB, free: 17.46 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)