Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ExternData_ExternData.Examples.XMLTestXPath.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.001271/0.001271, allocations: 111 kB / 16.46 MB, free: 6.504 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.001268/0.001268, allocations: 195.8 kB / 19.41 MB, free: 3.668 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.484/1.484, allocations: 225.6 MB / 247.8 MB, free: 13.91 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.01386/0.01386, allocations: 2.989 MB / 305.7 MB, free: 6.781 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.XMLTestXPath,fileNamePrefix="ExternData_ExternData_Examples_XMLTestXPath",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ExternData.Examples.XMLTestXPath,fileNamePrefix="ExternData_ExternData_Examples_XMLTestXPath",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001906/0.001906, allocations: 75.89 kB / 425.4 MB, free: 21.82 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1058/0.1077, allocations: 53.08 MB / 478.5 MB, free: 0.6523 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.XMLTestXPath): time 0.003395/0.1111, allocations: 1.689 MB / 480.2 MB, free: 14.96 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002829/0.1139, allocations: 1.623 MB / 481.8 MB, free: 13.32 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.934e-05/0.114, allocations: 0 / 481.8 MB, free: 13.32 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.5/package.mo:281:3-311:15:writable] Warning: Pure function 'ExternData.XML2File' contains a call to impure function 'ExternData.Types.ExternXML2File.constructor'. Notification: Performance of NFTyping.typeComponents: time 0.0004224/0.1144, allocations: 51.77 kB / 481.8 MB, free: 13.27 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004307/0.1148, allocations: 115.5 kB / 482 MB, free: 13.16 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003232/0.1152, allocations: 98.08 kB / 482.1 MB, free: 13.07 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000179/0.1153, allocations: 83.77 kB / 482.1 MB, free: 12.98 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001098/0.1155, allocations: 16.22 kB / 482.1 MB, free: 12.96 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001111/0.1156, allocations: 47.78 kB / 482.2 MB, free: 12.92 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002029/0.1158, allocations: 39.78 kB / 482.2 MB, free: 12.88 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.205e-05/0.1158, allocations: 8 kB / 482.2 MB, free: 12.87 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003557/0.1161, allocations: 203.7 kB / 482.4 MB, free: 12.67 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.244e-05/0.1162, allocations: 23.92 kB / 482.5 MB, free: 12.65 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.14e-05/0.1163, allocations: 43.73 kB / 482.5 MB, free: 12.61 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004216/0.1167, allocations: 247.2 kB / 482.7 MB, free: 12.36 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.65e-06/0.1167, allocations: 4 kB / 482.8 MB, free: 12.36 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.1167, allocations: 0 / 482.8 MB, free: 12.36 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.454e-06/0.1167, allocations: 4 kB / 482.8 MB, free: 12.36 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.0008027/0.1175, allocations: 480.2 kB / 483.2 MB, free: 11.83 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.28e-05/0.1176, allocations: 15.83 kB / 483.2 MB, free: 11.82 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.184e-05/0.1176, allocations: 38.75 kB / 483.3 MB, free: 11.77 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.751e-05/0.1177, allocations: 12.88 kB / 483.3 MB, free: 11.76 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004029/0.1181, allocations: 208.1 kB / 483.5 MB, free: 11.52 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.199e-05/0.1181, allocations: 384 / 483.5 MB, free: 11.52 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.694e-05/0.1181, allocations: 7.938 kB / 483.5 MB, free: 11.51 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002292/0.1184, allocations: 107.3 kB / 483.6 MB, free: 11.39 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.01e-05/0.1184, allocations: 3.938 kB / 483.6 MB, free: 11.39 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.162e-05/0.1184, allocations: 0 / 483.6 MB, free: 11.39 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.794e-06/0.1184, allocations: 3.984 kB / 483.6 MB, free: 11.38 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001421/0.1185, allocations: 55.91 kB / 483.7 MB, free: 11.33 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005542/0.1191, allocations: 317.7 kB / 484 MB, free: 10.96 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002824/0.1194, allocations: 89.22 kB / 484.1 MB, free: 10.86 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001135/0.1195, allocations: 45.75 kB / 484.1 MB, free: 10.81 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.665e-05/0.1195, allocations: 4 kB / 484.1 MB, free: 10.8 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000242/0.1198, allocations: 142.7 kB / 484.3 MB, free: 10.64 MB / 350.1 MB Notification: Performance of pre-optimization done (n=11): time 1.172e-06/0.1198, allocations: 0 / 484.3 MB, free: 10.64 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.0005115/0.1203, allocations: 227.2 kB / 484.5 MB, free: 10.41 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.084e-05/0.1204, allocations: 102.8 kB / 484.6 MB, free: 10.28 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000182/0.1205, allocations: 164.9 kB / 484.7 MB, free: 10.11 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.241e-05/0.1206, allocations: 33.7 kB / 484.8 MB, free: 10.07 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.688e-05/0.1206, allocations: 96.28 kB / 484.9 MB, free: 9.977 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.183e-05/0.1207, allocations: 35.67 kB / 484.9 MB, free: 9.941 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.362e-05/0.1207, allocations: 25.7 kB / 484.9 MB, free: 9.91 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001844/0.1209, allocations: 326.8 kB / 485.2 MB, free: 9.582 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.86e-05/0.121, allocations: 35.98 kB / 485.3 MB, free: 9.547 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.973e-05/0.1211, allocations: 49.69 kB / 485.3 MB, free: 9.492 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002237/0.1213, allocations: 156.9 kB / 485.5 MB, free: 9.32 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.959e-06/0.1213, allocations: 4 kB / 485.5 MB, free: 9.316 MB / 350.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003309/0.1217, allocations: 187.2 kB / 485.7 MB, free: 9.121 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.486e-05/0.1217, allocations: 33.7 kB / 485.7 MB, free: 9.082 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.091e-06/0.1217, allocations: 4 kB / 485.7 MB, free: 9.078 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.622e-05/0.1217, allocations: 0 / 485.7 MB, free: 9.078 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.443e-05/0.1218, allocations: 11.98 kB / 485.7 MB, free: 9.066 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.331e-06/0.1218, allocations: 3.938 kB / 485.7 MB, free: 9.062 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.281e-05/0.1219, allocations: 23.83 kB / 485.7 MB, free: 9.039 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.279e-05/0.1219, allocations: 4 kB / 485.7 MB, free: 9.035 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.0002004/0.1221, allocations: 159.5 kB / 485.9 MB, free: 8.863 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.617e-05/0.1221, allocations: 11.95 kB / 485.9 MB, free: 8.852 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.412e-05/0.1222, allocations: 16.7 kB / 485.9 MB, free: 8.832 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.384e-06/0.1222, allocations: 0 / 485.9 MB, free: 8.832 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/0.1222, allocations: 0 / 485.9 MB, free: 8.832 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.183e-06/0.1222, allocations: 4.266 kB / 485.9 MB, free: 8.828 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002238/0.1224, allocations: 209.5 kB / 486.1 MB, free: 8.574 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.1224, allocations: 4 kB / 486.1 MB, free: 8.57 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.595e-05/0.1225, allocations: 15.94 kB / 486.2 MB, free: 8.555 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.1225, allocations: 0 / 486.2 MB, free: 8.555 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.82e-05/0.1225, allocations: 8 kB / 486.2 MB, free: 8.547 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.1225, allocations: 0 / 486.2 MB, free: 8.547 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.936e-06/0.1225, allocations: 3.984 kB / 486.2 MB, free: 8.543 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004146/0.1229, allocations: 259.4 kB / 486.4 MB, free: 8.262 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.633e-05/0.123, allocations: 89.05 kB / 486.5 MB, free: 8.156 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.697e-05/0.123, allocations: 8 kB / 486.5 MB, free: 8.148 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.523e-05/0.1231, allocations: 4 kB / 486.5 MB, free: 8.145 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.26e-05/0.1232, allocations: 11.92 kB / 486.5 MB, free: 8.133 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.057e-05/0.1232, allocations: 11.94 kB / 486.5 MB, free: 8.121 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001379/0.1233, allocations: 119.2 kB / 486.7 MB, free: 8.004 MB / 350.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1233, allocations: 0 / 486.7 MB, free: 8.004 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003878/0.1237, allocations: 83.69 kB / 486.7 MB, free: 7.922 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.002196/0.1259, allocations: 1.095 MB / 487.8 MB, free: 6.906 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003569/0.1263, allocations: 163.3 kB / 488 MB, free: 6.734 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.1263, allocations: 0 / 488 MB, free: 6.734 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001673/0.1264, allocations: 107.6 kB / 488.1 MB, free: 6.617 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002897/0.1267, allocations: 23.92 kB / 488.1 MB, free: 6.594 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002881/0.1296, allocations: 1.871 MB / 490 MB, free: 4.617 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004659/0.1301, allocations: 0.7039 MB / 490.7 MB, free: 3.887 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.382e-05/0.1301, allocations: 16.42 kB / 490.7 MB, free: 3.871 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.968e-05/0.1302, allocations: 35.41 kB / 490.8 MB, free: 3.836 MB / 350.1 MB Notification: Performance of SimCode: time 6.51e-07/0.1302, allocations: 4 kB / 490.8 MB, free: 3.832 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03198/0.1622, allocations: 4.394 MB / 495.2 MB, free: 15.41 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.096/8.259, allocations: 8 kB / 495.2 MB, free: 15.41 MB / 366.1 MB " [Timeout remaining time 652] (rm -f ExternData_ExternData.Examples.XMLTestXPath.pipe ; mkfifo ExternData_ExternData.Examples.XMLTestXPath.pipe ; head -c 1048576 < ExternData_ExternData.Examples.XMLTestXPath.pipe >> ../files/ExternData_ExternData.Examples.XMLTestXPath.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ExternData_ExternData_Examples_XMLTestXPath_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 ExternData_ExternData_Examples_XMLTestXPath.fmu > ExternData_ExternData.Examples.XMLTestXPath.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.810750729870051] Failed to read output from testmodel.py, exit status != 0: 8.35957257822156 8.375670704000001 8.25580408 Calling exit ...