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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001853/0.001853, allocations: 108.2 kB / 16.46 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002119/0.002119, allocations: 191.8 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.404/1.404, allocations: 225.6 MB / 247.8 MB, free: 13.93 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.5/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.5/package.mo): time 0.01301/0.01301, allocations: 2.978 MB / 305.7 MB, free: 6.789 MB / 238.1 MB " [Timeout remaining time 180] 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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00224/0.00224, allocations: 75.86 kB / 425.4 MB, free: 21.94 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09632/0.09856, allocations: 53.07 MB / 478.5 MB, free: 0.7695 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.XLSXTest): time 0.003386/0.1019, allocations: 1.685 MB / 480.2 MB, free: 15.08 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00293/0.1049, allocations: 1.728 MB / 481.9 MB, free: 13.34 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.294e-05/0.105, allocations: 0 / 481.9 MB, free: 13.34 MB / 350.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.0003696/0.1053, allocations: 47.77 kB / 481.9 MB, free: 13.29 MB / 350.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.0006263/0.106, allocations: 179.2 kB / 482.1 MB, free: 13.12 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002871/0.1062, allocations: 83.78 kB / 482.2 MB, free: 13.04 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001803/0.1064, allocations: 83.81 kB / 482.3 MB, free: 12.95 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.531e-05/0.1065, allocations: 12.17 kB / 482.3 MB, free: 12.94 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.732e-05/0.1066, allocations: 35.86 kB / 482.3 MB, free: 12.9 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001929/0.1068, allocations: 47.77 kB / 482.4 MB, free: 12.86 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.18e-05/0.1068, allocations: 4 kB / 482.4 MB, free: 12.85 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000449/0.1073, allocations: 263.6 kB / 482.6 MB, free: 12.59 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.06e-05/0.1073, allocations: 27.92 kB / 482.7 MB, free: 12.57 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.358e-05/0.1074, allocations: 43.78 kB / 482.7 MB, free: 12.52 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005778/0.108, allocations: 311 kB / 483 MB, free: 12.22 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.108, allocations: 0 / 483 MB, free: 12.22 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.108, allocations: 0 / 483 MB, free: 12.22 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.339e-05/0.108, allocations: 0 / 483 MB, free: 12.22 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.0008162/0.1088, allocations: 0.4921 MB / 483.5 MB, free: 11.67 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.49e-05/0.1089, allocations: 11.89 kB / 483.5 MB, free: 11.66 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.506e-05/0.1089, allocations: 38.73 kB / 483.5 MB, free: 11.61 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.62e-05/0.109, allocations: 16.84 kB / 483.6 MB, free: 11.6 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003805/0.1094, allocations: 220.1 kB / 483.8 MB, free: 11.34 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.396e-05/0.1094, allocations: 4.375 kB / 483.8 MB, free: 11.34 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.542e-05/0.1094, allocations: 7.938 kB / 483.8 MB, free: 11.33 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002244/0.1096, allocations: 91.38 kB / 483.9 MB, free: 11.23 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.336e-05/0.1096, allocations: 0 / 483.9 MB, free: 11.23 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.318e-05/0.1097, allocations: 0 / 483.9 MB, free: 11.23 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.186e-06/0.1097, allocations: 4 kB / 483.9 MB, free: 11.23 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001571/0.1098, allocations: 55.91 kB / 483.9 MB, free: 11.17 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005273/0.1103, allocations: 329.7 kB / 484.3 MB, free: 10.8 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00028/0.1106, allocations: 93.2 kB / 484.3 MB, free: 10.69 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001133/0.1107, allocations: 49.75 kB / 484.4 MB, free: 10.63 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.35e-05/0.1108, allocations: 0 / 484.4 MB, free: 10.63 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002418/0.111, allocations: 134.8 kB / 484.5 MB, free: 10.48 MB / 350.1 MB Notification: Performance of pre-optimization done (n=11): time 1.483e-06/0.111, allocations: 3.938 kB / 484.5 MB, free: 10.47 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.0005583/0.1116, allocations: 239.2 kB / 484.8 MB, free: 10.23 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001349/0.1117, allocations: 110.8 kB / 484.9 MB, free: 10.09 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000297/0.112, allocations: 172 kB / 485 MB, free: 9.918 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.332e-05/0.112, allocations: 25.7 kB / 485.1 MB, free: 9.887 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.359e-05/0.1121, allocations: 100.1 kB / 485.2 MB, free: 9.785 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.399e-05/0.1121, allocations: 31.81 kB / 485.2 MB, free: 9.754 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.453e-05/0.1122, allocations: 25.7 kB / 485.2 MB, free: 9.723 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001676/0.1124, allocations: 326.8 kB / 485.5 MB, free: 9.395 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.465e-05/0.1125, allocations: 39.98 kB / 485.6 MB, free: 9.355 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.741e-05/0.1125, allocations: 49.69 kB / 485.6 MB, free: 9.301 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002188/0.1128, allocations: 149 kB / 485.8 MB, free: 9.137 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.285e-06/0.1128, allocations: 0 / 485.8 MB, free: 9.137 MB / 350.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003336/0.1131, allocations: 191.2 kB / 486 MB, free: 8.938 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.997e-05/0.1132, allocations: 41.64 kB / 486 MB, free: 8.891 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-06/0.1132, allocations: 4 kB / 486 MB, free: 8.887 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.551e-05/0.1132, allocations: 0 / 486 MB, free: 8.887 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.429e-05/0.1132, allocations: 11.98 kB / 486 MB, free: 8.875 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.877e-06/0.1132, allocations: 7.938 kB / 486 MB, free: 8.867 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.032e-05/0.1133, allocations: 11.88 kB / 486 MB, free: 8.855 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.194e-05/0.1133, allocations: 4 kB / 486 MB, free: 8.852 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.0001529/0.1135, allocations: 155.5 kB / 486.2 MB, free: 8.684 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.799e-05/0.1135, allocations: 19.89 kB / 486.2 MB, free: 8.664 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.306e-05/0.1136, allocations: 16.72 kB / 486.2 MB, free: 8.645 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.1136, allocations: 0 / 486.2 MB, free: 8.645 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.885e-06/0.1136, allocations: 7.938 kB / 486.2 MB, free: 8.637 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.1136, allocations: 0 / 486.2 MB, free: 8.637 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002059/0.1138, allocations: 209.5 kB / 486.4 MB, free: 8.383 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.1138, allocations: 0 / 486.4 MB, free: 8.383 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.1e-05/0.1138, allocations: 8 kB / 486.4 MB, free: 8.375 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.931e-06/0.1138, allocations: 7.938 kB / 486.5 MB, free: 8.367 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.821e-05/0.1139, allocations: 7.984 kB / 486.5 MB, free: 8.359 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.438e-06/0.1139, allocations: 4 kB / 486.5 MB, free: 8.355 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.065e-06/0.1139, allocations: 3.938 kB / 486.5 MB, free: 8.352 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003942/0.1143, allocations: 239.6 kB / 486.7 MB, free: 8.09 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.006e-05/0.1143, allocations: 101 kB / 486.8 MB, free: 7.973 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.09e-05/0.1144, allocations: 0 / 486.8 MB, free: 7.973 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.693e-05/0.1144, allocations: 8 kB / 486.8 MB, free: 7.965 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.596e-05/0.1145, allocations: 20.19 kB / 486.8 MB, free: 7.945 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.886e-05/0.1145, allocations: 8 kB / 486.8 MB, free: 7.938 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001226/0.1146, allocations: 125.9 kB / 487 MB, free: 7.816 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1146, allocations: 0 / 487 MB, free: 7.816 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003953/0.115, allocations: 103.7 kB / 487.1 MB, free: 7.715 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.002842/0.1179, allocations: 1.279 MB / 488.3 MB, free: 6.59 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003421/0.1182, allocations: 159.3 kB / 488.5 MB, free: 6.422 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.1182, allocations: 0 / 488.5 MB, free: 6.422 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001595/0.1184, allocations: 107.4 kB / 488.6 MB, free: 6.305 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002561/0.1186, allocations: 20 kB / 488.6 MB, free: 6.285 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002702/0.1213, allocations: 1.914 MB / 490.5 MB, free: 4.266 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000377/0.1217, allocations: 0.7078 MB / 491.2 MB, free: 3.531 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.598e-05/0.1218, allocations: 16.42 kB / 491.3 MB, free: 3.516 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.262e-05/0.1219, allocations: 43.41 kB / 491.3 MB, free: 3.473 MB / 350.1 MB Notification: Performance of SimCode: time 5.51e-07/0.1219, allocations: 0 / 491.3 MB, free: 3.473 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03408/0.1559, allocations: 5.004 MB / 496.3 MB, free: 14.41 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.303/8.459, allocations: 9.812 kB / 496.3 MB, free: 14.4 MB / 366.1 MB " [Timeout remaining time 651] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ExternData_ExternData_Examples_XLSXTest_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 ExternData_ExternData_Examples_XLSXTest.fmu > ExternData_ExternData.Examples.XLSXTest.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.864661655854434] Failed to read output from testmodel.py, exit status != 0: 8.545166271273047 8.568842118 8.457420298 Calling exit ...