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.005095/0.005095, allocations: 98.64 kB / 15.73 MB, free: 6.449 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.001181/0.001181, allocations: 197.5 kB / 16.68 MB, free: 6.348 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.446/1.446, allocations: 222.9 MB / 240.4 MB, free: 4.367 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.4-master/package.mo): time 0.1813/0.1813, allocations: 2.94 MB / 293.5 MB, free: 3.172 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001223/0.001223, allocations: 67.89 kB / 405.8 MB, free: 0.6836 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2994/0.3006, allocations: 50.33 MB / 456.1 MB, free: 28.05 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.XLSXTest): time 0.002999/0.3037, allocations: 1.67 MB / 457.8 MB, free: 26.89 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00249/0.3062, allocations: 1.7 MB / 459.5 MB, free: 25.71 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001165/0.3063, allocations: 7.219 kB / 459.5 MB, free: 25.71 MB / 366.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.0004487/0.3068, allocations: 47.12 kB / 459.5 MB, free: 25.68 MB / 366.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.0006871/0.3075, allocations: 176.8 kB / 459.7 MB, free: 25.58 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003188/0.3078, allocations: 82.08 kB / 459.8 MB, free: 25.55 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001979/0.308, allocations: 94.44 kB / 459.9 MB, free: 25.51 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001044/0.3081, allocations: 18.34 kB / 459.9 MB, free: 25.5 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.521e-05/0.3082, allocations: 35.16 kB / 459.9 MB, free: 25.48 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001952/0.3084, allocations: 50.05 kB / 460 MB, free: 25.46 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.055e-05/0.3085, allocations: 3.5 kB / 460 MB, free: 25.46 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004177/0.3089, allocations: 262 kB / 460.2 MB, free: 25.37 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.551e-05/0.309, allocations: 24.95 kB / 460.3 MB, free: 25.36 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 7.369e-05/0.309, allocations: 47.83 kB / 460.3 MB, free: 25.33 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005538/0.3096, allocations: 305.3 kB / 460.6 MB, free: 25.22 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.765e-06/0.3096, allocations: 0 / 460.6 MB, free: 25.22 MB / 366.1 MB Notification: Performance of FrontEnd: time 8.71e-07/0.3096, allocations: 0 / 460.6 MB, free: 25.22 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.35e-06/0.3096, allocations: 4 kB / 460.6 MB, free: 25.21 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.000551/0.3102, allocations: 0.4896 MB / 461.1 MB, free: 24.75 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.557e-05/0.3102, allocations: 16.75 kB / 461.1 MB, free: 24.74 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.507e-05/0.3103, allocations: 34.69 kB / 461.1 MB, free: 24.7 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.247e-05/0.3103, allocations: 19.22 kB / 461.2 MB, free: 24.69 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002434/0.3106, allocations: 215.6 kB / 461.4 MB, free: 24.47 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.05e-05/0.3106, allocations: 3.656 kB / 461.4 MB, free: 24.47 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.655e-05/0.3106, allocations: 10.94 kB / 461.4 MB, free: 24.46 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000172/0.3108, allocations: 91.94 kB / 461.5 MB, free: 24.4 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.095e-06/0.3108, allocations: 3.938 kB / 461.5 MB, free: 24.4 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.053e-05/0.3108, allocations: 0 / 461.5 MB, free: 24.4 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.969e-06/0.3108, allocations: 6.547 kB / 461.5 MB, free: 24.4 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001163/0.3109, allocations: 49.27 kB / 461.5 MB, free: 24.39 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000323/0.3113, allocations: 327.2 kB / 461.9 MB, free: 24.07 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002238/0.3115, allocations: 98.69 kB / 462 MB, free: 24 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.294e-05/0.3116, allocations: 61.02 kB / 462 MB, free: 23.97 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.316e-05/0.3116, allocations: 0 / 462 MB, free: 23.97 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001905/0.3118, allocations: 158.6 kB / 462.2 MB, free: 23.84 MB / 366.1 MB Notification: Performance of pre-optimization done (n=11): time 1.242e-06/0.3118, allocations: 0 / 462.2 MB, free: 23.84 MB / 366.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004591/0.3123, allocations: 235.2 kB / 462.4 MB, free: 23.73 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.45e-05/0.3124, allocations: 106.3 kB / 462.5 MB, free: 23.6 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001447/0.3125, allocations: 170.7 kB / 462.7 MB, free: 23.48 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.401e-05/0.3125, allocations: 32.89 kB / 462.7 MB, free: 23.45 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.629e-05/0.3126, allocations: 95.3 kB / 462.8 MB, free: 23.35 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.366e-05/0.3126, allocations: 34.28 kB / 462.8 MB, free: 23.32 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.319e-05/0.3127, allocations: 26.83 kB / 462.9 MB, free: 23.3 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 5.663e-05/0.3127, allocations: 325.6 kB / 463.2 MB, free: 22.98 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.776e-05/0.3128, allocations: 38.08 kB / 463.2 MB, free: 22.97 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.349e-05/0.3129, allocations: 46.98 kB / 463.3 MB, free: 22.95 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001623/0.3131, allocations: 165.8 kB / 463.4 MB, free: 22.83 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.3131, allocations: 0 / 463.4 MB, free: 22.83 MB / 366.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000254/0.3133, allocations: 190 kB / 463.6 MB, free: 22.73 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.786e-05/0.3134, allocations: 39.62 kB / 463.6 MB, free: 22.69 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.3134, allocations: 0 / 463.6 MB, free: 22.69 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.475e-05/0.3134, allocations: 3.188 kB / 463.6 MB, free: 22.69 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.099e-05/0.3135, allocations: 6.375 kB / 463.6 MB, free: 22.69 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.023e-06/0.3135, allocations: 7.156 kB / 463.7 MB, free: 22.69 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.611e-05/0.3136, allocations: 13.77 kB / 463.7 MB, free: 22.68 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.131e-05/0.3136, allocations: 3.25 kB / 463.7 MB, free: 22.68 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.961e-05/0.3137, allocations: 159 kB / 463.8 MB, free: 22.53 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.133e-05/0.3137, allocations: 14.09 kB / 463.8 MB, free: 22.52 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.735e-05/0.3137, allocations: 19.11 kB / 463.9 MB, free: 22.51 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.856e-06/0.3138, allocations: 7.375 kB / 463.9 MB, free: 22.5 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.3138, allocations: 3.938 kB / 463.9 MB, free: 22.5 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.3138, allocations: 0 / 463.9 MB, free: 22.5 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001119/0.3139, allocations: 204.7 kB / 464.1 MB, free: 22.29 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.203e-06/0.3139, allocations: 4 kB / 464.1 MB, free: 22.29 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.857e-05/0.314, allocations: 12.95 kB / 464.1 MB, free: 22.29 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.314, allocations: 0 / 464.1 MB, free: 22.29 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.237e-05/0.314, allocations: 7.094 kB / 464.1 MB, free: 22.29 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-06/0.314, allocations: 0 / 464.1 MB, free: 22.29 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.973e-06/0.314, allocations: 7.188 kB / 464.1 MB, free: 22.28 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002888/0.3143, allocations: 242.4 kB / 464.3 MB, free: 22.13 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.486e-05/0.3143, allocations: 99.47 kB / 464.4 MB, free: 22.02 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.111e-05/0.3144, allocations: 6.969 kB / 464.4 MB, free: 22.02 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.791e-05/0.3144, allocations: 9.469 kB / 464.5 MB, free: 22.02 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.458e-05/0.3145, allocations: 6.875 kB / 464.5 MB, free: 22.02 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.717e-05/0.3145, allocations: 10.28 kB / 464.5 MB, free: 22.01 MB / 366.1 MB Notification: Performance of sorting global known variables: time 7.923e-05/0.3146, allocations: 128 kB / 464.6 MB, free: 21.93 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3146, allocations: 0 / 464.6 MB, free: 21.93 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003478/0.315, allocations: 102.3 kB / 464.7 MB, free: 21.89 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.001743/0.3167, allocations: 1.275 MB / 466 MB, free: 21.04 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002813/0.317, allocations: 189.3 kB / 466.2 MB, free: 20.93 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.317, allocations: 0 / 466.2 MB, free: 20.93 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000122/0.3171, allocations: 137 kB / 466.3 MB, free: 20.83 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002346/0.3174, allocations: 16.83 kB / 466.3 MB, free: 20.83 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001813/0.3192, allocations: 1.927 MB / 468.2 MB, free: 19.38 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001126/0.3193, allocations: 0.7036 MB / 468.9 MB, free: 18.68 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.645e-05/0.3194, allocations: 24.41 kB / 469 MB, free: 18.68 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.33e-05/0.3195, allocations: 38.92 kB / 469 MB, free: 18.66 MB / 366.1 MB Notification: Performance of SimCode: time 2.31e-07/0.3195, allocations: 0 / 469 MB, free: 18.66 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02105/0.3405, allocations: 4.961 MB / 474 MB, free: 17.55 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.922/8.263, allocations: 5.672 kB / 474 MB, free: 17.55 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)