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.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.001657/0.001657, allocations: 101.5 kB / 19.73 MB, free: 2.23 MB / 14.72 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.002344/0.002344, allocations: 215 kB / 23.04 MB, free: 5.074 MB / 14.72 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 1.486/1.486, allocations: 230.6 MB / 256.8 MB, free: 8.062 MB / 206.1 MB " [Timeout remaining time 178] 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.01599/0.01599, allocations: 3.265 MB / 316.5 MB, free: 15.85 MB / 254.1 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.XLSTest,fileNamePrefix="ExternData_ExternData_Examples_XLSTest",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ExternData.Examples.XLSTest,fileNamePrefix="ExternData_ExternData_Examples_XLSTest",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ExternData requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002447/0.002447, allocations: 64.53 kB / 440.3 MB, free: 12.32 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1004/0.1029, allocations: 54.38 MB / 494.7 MB, free: 5.848 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.XLSTest): time 0.003105/0.106, allocations: 1.702 MB / 496.4 MB, free: 4.133 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002742/0.1087, allocations: 1.831 MB / 498.3 MB, free: 2.293 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.925e-05/0.1088, allocations: 7.938 kB / 498.3 MB, free: 2.285 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.2.0/package.mo:179:3-207:14:writable] Warning: Pure function 'ExternData.XLSFile' contains a call to impure function 'ExternData.Types.ExternXLSFile.constructor'. Notification: Performance of NFTyping.typeComponents: time 0.0003548/0.1092, allocations: 39.78 kB / 498.3 MB, free: 2.246 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004735/0.1096, allocations: 175.3 kB / 498.5 MB, free: 2.074 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002301/0.1099, allocations: 85.64 kB / 498.6 MB, free: 1.992 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001495/0.11, allocations: 95.7 kB / 498.7 MB, free: 1.898 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.901e-05/0.1101, allocations: 11.94 kB / 498.7 MB, free: 1.887 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.641e-05/0.1102, allocations: 39.84 kB / 498.7 MB, free: 1.848 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001677/0.1103, allocations: 47.77 kB / 498.8 MB, free: 1.801 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.715e-05/0.1103, allocations: 4 kB / 498.8 MB, free: 1.797 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003728/0.1107, allocations: 247.7 kB / 499 MB, free: 1.555 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.212e-05/0.1108, allocations: 27.91 kB / 499 MB, free: 1.527 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.58e-05/0.1108, allocations: 43.8 kB / 499.1 MB, free: 1.484 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004157/0.1113, allocations: 287 kB / 499.3 MB, free: 1.203 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.968e-06/0.1113, allocations: 0 / 499.3 MB, free: 1.203 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.1113, allocations: 0 / 499.3 MB, free: 1.203 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.089e-06/0.1113, allocations: 0 / 499.3 MB, free: 1.203 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.000662/0.1119, allocations: 430.8 kB / 499.8 MB, free: 0.7461 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.639e-05/0.112, allocations: 16.02 kB / 499.8 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.667e-05/0.112, allocations: 192 / 499.8 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.291e-05/0.112, allocations: 34.75 kB / 499.8 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.772e-05/0.1121, allocations: 16.84 kB / 499.8 MB, free: 0.6719 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003039/0.1124, allocations: 168.1 kB / 0.4883 GB, free: 496 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.133e-05/0.1124, allocations: 4 kB / 0.4883 GB, free: 492 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.413e-05/0.1124, allocations: 4 kB / 0.4883 GB, free: 488 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002061/0.1126, allocations: 95.38 kB / 0.4884 GB, free: 380 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.225e-06/0.1126, allocations: 0 / 0.4884 GB, free: 380 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.899e-06/0.1126, allocations: 0 / 0.4884 GB, free: 380 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.687e-06/0.1126, allocations: 4 kB / 0.4884 GB, free: 376 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000139/0.1128, allocations: 55.91 kB / 0.4884 GB, free: 320 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004373/0.1132, allocations: 292.8 kB / 0.4887 GB, free: 15.98 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002365/0.1134, allocations: 97.2 kB / 0.4888 GB, free: 15.87 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001066/0.1135, allocations: 45.75 kB / 0.4889 GB, free: 15.82 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.31e-05/0.1136, allocations: 0 / 0.4889 GB, free: 15.82 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002215/0.1138, allocations: 138.7 kB / 0.489 GB, free: 15.66 MB / 366.1 MB Notification: Performance of pre-optimization done (n=11): time 9.41e-07/0.1138, allocations: 0 / 0.489 GB, free: 15.66 MB / 366.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004928/0.1143, allocations: 235.1 kB / 0.4892 GB, free: 15.41 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.311e-05/0.1144, allocations: 114.7 kB / 0.4893 GB, free: 15.28 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001862/0.1145, allocations: 169 kB / 0.4895 GB, free: 15.1 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.46e-05/0.1146, allocations: 33.7 kB / 0.4895 GB, free: 15.06 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.862e-05/0.1146, allocations: 92.14 kB / 0.4896 GB, free: 14.96 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.749e-05/0.1147, allocations: 31.73 kB / 0.4896 GB, free: 14.93 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.794e-05/0.1147, allocations: 21.72 kB / 0.4897 GB, free: 14.91 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001572/0.1149, allocations: 330.8 kB / 0.49 GB, free: 14.57 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.511e-05/0.115, allocations: 35.97 kB / 0.49 GB, free: 14.54 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.245e-05/0.115, allocations: 49.7 kB / 0.49 GB, free: 14.48 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002154/0.1153, allocations: 157 kB / 0.4902 GB, free: 14.31 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.1153, allocations: 0 / 0.4902 GB, free: 14.31 MB / 366.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003279/0.1156, allocations: 195.5 kB / 0.4904 GB, free: 14.11 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.241e-05/0.1156, allocations: 41.69 kB / 0.4904 GB, free: 14.06 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.1156, allocations: 3.938 kB / 0.4904 GB, free: 14.06 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.321e-05/0.1157, allocations: 48 / 0.4904 GB, free: 14.06 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.339e-05/0.1157, allocations: 11.98 kB / 0.4904 GB, free: 14.05 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.887e-06/0.1157, allocations: 7.984 kB / 0.4904 GB, free: 14.04 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.191e-05/0.1158, allocations: 4 kB / 0.4905 GB, free: 14.04 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.675e-05/0.1158, allocations: 11.94 kB / 0.4905 GB, free: 14.02 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 0.0001564/0.116, allocations: 155.5 kB / 0.4906 GB, free: 13.86 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.637e-05/0.116, allocations: 15.91 kB / 0.4906 GB, free: 13.84 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.424e-05/0.116, allocations: 24.64 kB / 0.4906 GB, free: 13.81 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.116, allocations: 0 / 0.4906 GB, free: 13.81 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/0.116, allocations: 4 kB / 0.4907 GB, free: 13.81 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.1161, allocations: 0 / 0.4907 GB, free: 13.81 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001841/0.1162, allocations: 176.7 kB / 0.4908 GB, free: 13.59 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.1162, allocations: 0 / 0.4908 GB, free: 13.59 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.695e-05/0.1163, allocations: 15.94 kB / 0.4908 GB, free: 13.58 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.644e-06/0.1163, allocations: 0 / 0.4908 GB, free: 13.58 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.535e-05/0.1163, allocations: 7.938 kB / 0.4908 GB, free: 13.57 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.1163, allocations: 0 / 0.4908 GB, free: 13.57 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.082e-06/0.1163, allocations: 11.98 kB / 0.4909 GB, free: 13.56 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003907/0.1167, allocations: 247.6 kB / 0.4911 GB, free: 13.29 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.176e-05/0.1167, allocations: 15.94 kB / 0.4911 GB, free: 13.27 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.535e-05/0.1168, allocations: 7.938 kB / 0.4911 GB, free: 13.27 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.195e-05/0.1168, allocations: 8 kB / 0.4911 GB, free: 13.26 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.602e-05/0.1169, allocations: 7.984 kB / 0.4911 GB, free: 13.25 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.675e-05/0.1169, allocations: 11.94 kB / 0.4911 GB, free: 13.24 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001175/0.117, allocations: 131.2 kB / 0.4913 GB, free: 13.11 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.117, allocations: 0 / 0.4913 GB, free: 13.11 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003535/0.1174, allocations: 95.59 kB / 0.4914 GB, free: 13.02 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.001906/0.1193, allocations: 1.122 MB / 0.4925 GB, free: 11.96 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003148/0.1196, allocations: 159.3 kB / 0.4926 GB, free: 11.8 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.1196, allocations: 0 / 0.4926 GB, free: 11.8 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001576/0.1198, allocations: 107.7 kB / 0.4927 GB, free: 11.68 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002437/0.12, allocations: 19.36 kB / 0.4927 GB, free: 11.66 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002428/0.1224, allocations: 1.942 MB / 0.4946 GB, free: 9.621 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003517/0.1228, allocations: 0.7079 MB / 0.4953 GB, free: 8.887 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.037e-05/0.1228, allocations: 16.42 kB / 0.4953 GB, free: 8.871 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.707e-05/0.1229, allocations: 43.41 kB / 0.4954 GB, free: 8.828 MB / 366.1 MB Notification: Performance of SimCode: time 4.11e-07/0.1229, allocations: 0 / 0.4954 GB, free: 8.828 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02792/0.1508, allocations: 4.89 MB / 0.5001 GB, free: 3.992 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.93/11.08, allocations: 8.062 kB / 0.5002 GB, free: 3.984 MB / 366.1 MB " [Timeout remaining time 649] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ExternData_ExternData_Examples_XLSTest_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 ExternData_ExternData_Examples_XLSTest.fmu > ExternData_ExternData.Examples.XLSTest.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.89018969098106] Failed to read output from testmodel.py, exit status != 0: 11.24596075701993 11.440600682 11.326832964 Calling exit ...