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.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.0009559/0.0009559, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.0008244/0.0008244, allocations: 165.9 kB / 22.45 MB, free: 2.109 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.9209/0.9209, allocations: 177.1 MB / 202.8 MB, free: 5.719 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.01078/0.01078, allocations: 2.252 MB / 261.4 MB, free: 10.98 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.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 2.735e-06/2.735e-06, allocations: 0 / 385.3 MB, free: 12.38 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.42e-05/2.693e-05, allocations: 2.281 kB / 385.3 MB, free: 12.38 MB / 362.7 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.XMLTestXPath): time 0.003623/0.00365, allocations: 1.693 MB / 387 MB, free: 10.68 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.002549/0.006199, allocations: 1.687 MB / 388.7 MB, free: 8.98 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.72e-05/0.006296, allocations: 4 kB / 388.7 MB, free: 8.977 MB / 362.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.2.0/package.mo:269:3-299:15:writable] Warning: Pure function 'ExternData.XML2File' contains a call to impure function 'ExternData.Types.ExternXML2File.constructor'. Notification: Performance of NFTyping.typeComponents: time 0.0005059/0.006802, allocations: 51.7 kB / 388.7 MB, free: 8.926 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004281/0.00723, allocations: 127.4 kB / 388.9 MB, free: 8.801 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002645/0.007494, allocations: 83.73 kB / 388.9 MB, free: 8.719 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001688/0.007663, allocations: 91.69 kB / 389 MB, free: 8.629 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001055/0.007769, allocations: 20.2 kB / 389 MB, free: 8.605 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001106/0.007879, allocations: 55.83 kB / 389.1 MB, free: 8.551 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001483/0.008027, allocations: 31.91 kB / 389.1 MB, free: 8.52 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.216e-05/0.00805, allocations: 4 kB / 389.1 MB, free: 8.516 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000303/0.008353, allocations: 203.5 kB / 389.3 MB, free: 8.316 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 6.907e-05/0.008422, allocations: 23.92 kB / 389.4 MB, free: 8.293 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 6.139e-05/0.008483, allocations: 31.91 kB / 389.4 MB, free: 8.262 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003606/0.008844, allocations: 267.3 kB / 389.7 MB, free: 8 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.665e-06/0.008846, allocations: 0 / 389.7 MB, free: 8 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.323e-06/0.008848, allocations: 0 / 389.7 MB, free: 8 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.641e-06/0.008853, allocations: 0 / 389.7 MB, free: 8 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.0005642/0.009418, allocations: 415 kB / 390.1 MB, free: 7.559 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.413e-05/0.009462, allocations: 12.03 kB / 390.1 MB, free: 7.547 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.98e-05/0.009492, allocations: 38.73 kB / 390.1 MB, free: 7.5 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.094e-05/0.009532, allocations: 20.84 kB / 390.1 MB, free: 7.48 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002364/0.009769, allocations: 152.5 kB / 390.3 MB, free: 7.309 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.008e-05/0.009779, allocations: 4.375 kB / 390.3 MB, free: 7.305 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.218e-05/0.009791, allocations: 4.375 kB / 390.3 MB, free: 7.301 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001947/0.009986, allocations: 129.4 kB / 390.4 MB, free: 7.156 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.665e-06/0.009994, allocations: 0 / 390.4 MB, free: 7.156 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.087e-05/0.01, allocations: 4 kB / 390.4 MB, free: 7.152 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.971e-06/0.01001, allocations: 4 kB / 390.4 MB, free: 7.148 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001012/0.01011, allocations: 85.59 kB / 390.5 MB, free: 7.059 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003152/0.01043, allocations: 276.8 kB / 390.8 MB, free: 6.742 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002104/0.01064, allocations: 118.9 kB / 390.9 MB, free: 6.602 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.25e-05/0.01071, allocations: 83.38 kB / 391 MB, free: 6.508 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.389e-05/0.01072, allocations: 0 / 391 MB, free: 6.508 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001725/0.0109, allocations: 172.4 kB / 391.1 MB, free: 6.309 MB / 362.7 MB Notification: Performance of pre-optimization done (n=11): time 8.22e-07/0.0109, allocations: 0 / 391.1 MB, free: 6.309 MB / 362.7 MB Notification: Performance of matching and sorting (n=11): time 0.0003657/0.01126, allocations: 295 kB / 391.4 MB, free: 5.996 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.743e-05/0.01131, allocations: 118.8 kB / 391.5 MB, free: 5.855 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001062/0.01142, allocations: 161.7 kB / 391.7 MB, free: 5.688 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.244e-05/0.01143, allocations: 25.7 kB / 391.7 MB, free: 5.656 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.031e-05/0.01148, allocations: 100.1 kB / 391.8 MB, free: 5.555 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.314e-05/0.01151, allocations: 27.75 kB / 391.8 MB, free: 5.527 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.78e-05/0.01155, allocations: 33.7 kB / 391.9 MB, free: 5.488 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 7.942e-05/0.01163, allocations: 322.8 kB / 392.2 MB, free: 5.164 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.702e-05/0.0117, allocations: 69.69 kB / 392.3 MB, free: 5.09 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.291e-05/0.01176, allocations: 79.39 kB / 392.3 MB, free: 5 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001224/0.01188, allocations: 161.1 kB / 392.5 MB, free: 4.824 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.01188, allocations: 0 / 392.5 MB, free: 4.824 MB / 362.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001985/0.01208, allocations: 236.8 kB / 392.7 MB, free: 4.574 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.168e-05/0.01211, allocations: 41.69 kB / 392.8 MB, free: 4.527 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.01212, allocations: 3.938 kB / 392.8 MB, free: 4.523 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.074e-05/0.01213, allocations: 0 / 392.8 MB, free: 4.523 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.331e-05/0.01217, allocations: 11.98 kB / 392.8 MB, free: 4.512 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/0.01218, allocations: 4 kB / 392.8 MB, free: 4.508 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.643e-05/0.01223, allocations: 4 kB / 392.8 MB, free: 4.504 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.797e-06/0.01223, allocations: 4 kB / 392.8 MB, free: 4.5 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.902e-05/0.01232, allocations: 167.5 kB / 393 MB, free: 4.32 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.856e-05/0.01234, allocations: 15.84 kB / 393 MB, free: 4.305 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.551e-05/0.01237, allocations: 16.77 kB / 393 MB, free: 4.285 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.936e-06/0.01237, allocations: 4 kB / 393 MB, free: 4.281 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.01237, allocations: 0 / 393 MB, free: 4.281 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.936e-06/0.01238, allocations: 0 / 393 MB, free: 4.281 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001192/0.0125, allocations: 176.6 kB / 393.2 MB, free: 4.066 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.041e-06/0.0125, allocations: 0 / 393.2 MB, free: 4.066 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.949e-05/0.01253, allocations: 12 kB / 393.2 MB, free: 4.055 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.01253, allocations: 0 / 393.2 MB, free: 4.055 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.119e-05/0.01254, allocations: 15.92 kB / 393.2 MB, free: 4.039 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.01254, allocations: 0 / 393.2 MB, free: 4.039 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.01254, allocations: 0 / 393.2 MB, free: 4.039 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002383/0.01278, allocations: 281.5 kB / 393.5 MB, free: 3.73 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.005e-05/0.0128, allocations: 15.95 kB / 393.5 MB, free: 3.715 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.234e-05/0.01282, allocations: 7.984 kB / 393.5 MB, free: 3.707 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.512e-05/0.01286, allocations: 4 kB / 393.5 MB, free: 3.703 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.165e-05/0.01289, allocations: 11.98 kB / 393.5 MB, free: 3.691 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.34e-05/0.0129, allocations: 4 kB / 393.5 MB, free: 3.688 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.376e-05/0.01297, allocations: 124.8 kB / 393.6 MB, free: 3.566 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01297, allocations: 7.938 kB / 393.6 MB, free: 3.559 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002373/0.0132, allocations: 75.8 kB / 393.7 MB, free: 3.484 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.001067/0.01427, allocations: 1.193 MB / 394.9 MB, free: 2.379 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002323/0.0145, allocations: 226.7 kB / 395.1 MB, free: 2.133 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.492e-06/0.0145, allocations: 0 / 395.1 MB, free: 2.133 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 8.745e-05/0.01459, allocations: 137.1 kB / 395.3 MB, free: 1.98 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001698/0.01476, allocations: 23.58 kB / 395.3 MB, free: 1.961 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001571/0.01633, allocations: 2.081 MB / 397.4 MB, free: 15.74 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.018e-05/0.01639, allocations: 89 kB / 397.5 MB, free: 15.64 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 4.799e-05/0.01644, allocations: 20.47 kB / 397.5 MB, free: 15.62 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.768e-05/0.0165, allocations: 44.47 kB / 397.5 MB, free: 15.57 MB / 378.7 MB Notification: Performance of SimCode: time 4.91e-07/0.0165, allocations: 0 / 397.5 MB, free: 15.57 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02035/0.03685, allocations: 5.236 MB / 402.8 MB, free: 10.35 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.954/6.991, allocations: 4 kB / 402.8 MB, free: 10.34 MB / 378.7 MB " [Timeout remaining time 653] (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 & python3 -m fmpy simulate --output-file ExternData_ExternData.Examples.XMLTestXPath_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_XMLTestXPath.fmu > ExternData_ExternData.Examples.XMLTestXPath.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 8.910492925904691] Failed to read output from testmodel.py, exit status != 0: 7.100391854532063 7.111067857 7.100427013 Calling exit ...