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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.000788/0.000788, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.000847/0.000847, allocations: 165.9 kB / 22.46 MB, free: 2.105 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8882/0.8882, allocations: 177.1 MB / 202.8 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.2.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.2.0/package.mo): time 0.008858/0.008858, allocations: 2.262 MB / 261.4 MB, free: 11 MB / 250.7 MB " [Timeout remaining time 180] Using package ExternData with version 3.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.2.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.934e-06/1.934e-06, allocations: 0 / 385.3 MB, free: 12.42 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.682e-05/1.876e-05, allocations: 5.094 kB / 385.3 MB, free: 12.41 MB / 362.7 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.XLSXTest): time 0.002349/0.002368, allocations: 1.667 MB / 387 MB, free: 10.73 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.001666/0.004034, allocations: 1.761 MB / 388.7 MB, free: 8.965 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.984e-05/0.004094, allocations: 3.938 kB / 388.7 MB, free: 8.961 MB / 362.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.2.0/package.mo:209:3-236:15:writable] Warning: Pure function 'ExternData.XLSXFile' contains a call to impure function 'ExternData.Types.ExternXLSXFile.constructor'. Notification: Performance of NFTyping.typeComponents: time 0.0002983/0.004392, allocations: 39.77 kB / 388.8 MB, free: 8.922 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004138/0.004806, allocations: 175.1 kB / 388.9 MB, free: 8.75 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00018/0.004986, allocations: 91.7 kB / 389 MB, free: 8.66 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001141/0.0051, allocations: 83.72 kB / 389.1 MB, free: 8.578 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.874e-05/0.005179, allocations: 16.2 kB / 389.1 MB, free: 8.559 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.761e-05/0.005257, allocations: 51.83 kB / 389.2 MB, free: 8.508 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.141e-05/0.005348, allocations: 35.89 kB / 389.2 MB, free: 8.473 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.636e-05/0.005364, allocations: 8 kB / 389.2 MB, free: 8.465 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000257/0.005621, allocations: 227.5 kB / 389.4 MB, free: 8.242 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.571e-05/0.005677, allocations: 23.92 kB / 389.5 MB, free: 8.219 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.532e-05/0.005722, allocations: 27.92 kB / 389.5 MB, free: 8.191 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003207/0.006043, allocations: 311.1 kB / 389.8 MB, free: 7.887 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.014e-06/0.006045, allocations: 0 / 389.8 MB, free: 7.887 MB / 362.7 MB Notification: Performance of FrontEnd: time 6.71e-07/0.006046, allocations: 0 / 389.8 MB, free: 7.887 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.627e-06/0.006049, allocations: 0 / 389.8 MB, free: 7.887 MB / 362.7 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.000506/0.006555, allocations: 430.9 kB / 390.2 MB, free: 7.43 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.778e-05/0.006593, allocations: 12.03 kB / 390.2 MB, free: 7.418 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.691e-05/0.00662, allocations: 34.75 kB / 390.3 MB, free: 7.375 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.694e-05/0.006657, allocations: 16.89 kB / 390.3 MB, free: 7.359 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001888/0.006846, allocations: 164.3 kB / 390.4 MB, free: 7.176 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.778e-06/0.006856, allocations: 8.312 kB / 390.4 MB, free: 7.168 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.153e-05/0.006867, allocations: 4.375 kB / 390.5 MB, free: 7.164 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001715/0.007039, allocations: 133.3 kB / 390.6 MB, free: 7.016 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.083e-06/0.007046, allocations: 0 / 390.6 MB, free: 7.016 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.025e-05/0.007056, allocations: 7.938 kB / 390.6 MB, free: 7.008 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.388e-06/0.00706, allocations: 0 / 390.6 MB, free: 7.008 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.567e-05/0.007156, allocations: 81.67 kB / 390.7 MB, free: 6.922 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000305/0.007461, allocations: 288.7 kB / 391 MB, free: 6.594 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001862/0.007647, allocations: 114.9 kB / 391.1 MB, free: 6.457 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.825e-05/0.007715, allocations: 83.44 kB / 391.1 MB, free: 6.363 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.196e-05/0.007727, allocations: 0 / 391.1 MB, free: 6.363 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001537/0.007881, allocations: 168.6 kB / 391.3 MB, free: 6.168 MB / 362.7 MB Notification: Performance of pre-optimization done (n=11): time 9.61e-07/0.007882, allocations: 0 / 391.3 MB, free: 6.168 MB / 362.7 MB Notification: Performance of matching and sorting (n=11): time 0.0003336/0.008216, allocations: 298.6 kB / 391.6 MB, free: 5.852 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.617e-05/0.008262, allocations: 114.8 kB / 391.7 MB, free: 5.715 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001099/0.008372, allocations: 165 kB / 391.9 MB, free: 5.547 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.222e-05/0.008384, allocations: 29.7 kB / 391.9 MB, free: 5.512 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.786e-05/0.008432, allocations: 111.9 kB / 392 MB, free: 5.398 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.611e-05/0.008458, allocations: 23.81 kB / 392 MB, free: 5.375 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.254e-05/0.00849, allocations: 25.7 kB / 392.1 MB, free: 5.344 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 7.8e-05/0.008568, allocations: 326.8 kB / 392.4 MB, free: 5.016 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.112e-05/0.008629, allocations: 69.62 kB / 392.4 MB, free: 4.941 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.248e-05/0.008692, allocations: 87.39 kB / 392.5 MB, free: 4.844 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001207/0.008813, allocations: 157.2 kB / 392.7 MB, free: 4.672 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.215e-06/0.008815, allocations: 4 kB / 392.7 MB, free: 4.668 MB / 362.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002017/0.009017, allocations: 236.8 kB / 392.9 MB, free: 4.418 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.67e-05/0.009043, allocations: 33.7 kB / 393 MB, free: 4.379 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.088e-06/0.009047, allocations: 0 / 393 MB, free: 4.379 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.104e-05/0.009058, allocations: 3.938 kB / 393 MB, free: 4.375 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.478e-05/0.009103, allocations: 23.92 kB / 393 MB, free: 4.352 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.601e-06/0.009109, allocations: 0 / 393 MB, free: 4.352 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.904e-05/0.009158, allocations: 15.89 kB / 393 MB, free: 4.336 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.027e-05/0.009168, allocations: 11.92 kB / 393 MB, free: 4.324 MB / 362.7 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.878e-05/0.009257, allocations: 163 kB / 393.2 MB, free: 4.152 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.873e-05/0.009276, allocations: 11.95 kB / 393.2 MB, free: 4.141 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.212e-05/0.009298, allocations: 12.78 kB / 393.2 MB, free: 4.125 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.0093, allocations: 0 / 393.2 MB, free: 4.125 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.009304, allocations: 0 / 393.2 MB, free: 4.125 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/0.009308, allocations: 0 / 393.2 MB, free: 4.125 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001208/0.009429, allocations: 164.7 kB / 393.4 MB, free: 3.922 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.92e-07/0.00943, allocations: 0 / 393.4 MB, free: 3.922 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.869e-05/0.009459, allocations: 11.98 kB / 393.4 MB, free: 3.91 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.554e-06/0.009461, allocations: 4 kB / 393.4 MB, free: 3.906 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.044e-05/0.009472, allocations: 8 kB / 393.4 MB, free: 3.898 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.415e-06/0.009474, allocations: 8 kB / 393.4 MB, free: 3.891 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.009475, allocations: 0 / 393.4 MB, free: 3.891 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002437/0.009719, allocations: 285.4 kB / 393.7 MB, free: 3.578 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.837e-05/0.009737, allocations: 15.88 kB / 393.7 MB, free: 3.562 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.013e-05/0.009757, allocations: 8 kB / 393.7 MB, free: 3.555 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.563e-05/0.009793, allocations: 8 kB / 393.7 MB, free: 3.547 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.907e-05/0.009822, allocations: 7.984 kB / 393.7 MB, free: 3.539 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.3e-05/0.009835, allocations: 4 kB / 393.7 MB, free: 3.535 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.137e-05/0.009906, allocations: 131.2 kB / 393.8 MB, free: 3.406 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.009906, allocations: 4 kB / 393.8 MB, free: 3.402 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002424/0.01015, allocations: 91.66 kB / 393.9 MB, free: 3.312 MB / 362.7 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.001295/0.01144, allocations: 1.331 MB / 395.3 MB, free: 2.129 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002349/0.01168, allocations: 226.7 kB / 395.5 MB, free: 1.883 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.01168, allocations: 4 kB / 395.5 MB, free: 1.879 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 8.658e-05/0.01177, allocations: 133.1 kB / 395.6 MB, free: 1.73 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001706/0.01194, allocations: 27.92 kB / 395.6 MB, free: 1.703 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001658/0.0136, allocations: 2.097 MB / 397.7 MB, free: 15.47 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.363e-05/0.01365, allocations: 85.12 kB / 397.8 MB, free: 15.37 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 4.361e-05/0.01369, allocations: 16.47 kB / 397.8 MB, free: 15.35 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.58e-05/0.01375, allocations: 44.48 kB / 397.9 MB, free: 15.31 MB / 378.7 MB Notification: Performance of SimCode: time 5.21e-07/0.01375, allocations: 4 kB / 397.9 MB, free: 15.3 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02491/0.03866, allocations: 5.64 MB / 403.5 MB, free: 9.664 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.172/7.21, allocations: 3.234 kB / 403.5 MB, free: 9.664 MB / 378.7 MB " [Timeout remaining time 653] (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) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 8.995469287969172] Failed to read output from testmodel.py, exit status != 0: 7.30429473426193 7.314247899 7.306514561 Calling exit ...