Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Physiolibrary_Physiolibrary.Fluid.Examples.MeanRespiration.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1/package.mo): time 0.1168/0.1168, allocations: 15.56 MB / 34.41 MB, free: 4.492 MB / 26.18 MB " [Timeout remaining time 180] 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.001374/0.001374, allocations: 101.8 kB / 41.98 MB, free: 6.176 MB / 34.91 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.001803/0.001803, allocations: 220.2 kB / 49.68 MB, free: 10.01 MB / 34.91 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.61/1.61, allocations: 230.6 MB / 287.9 MB, free: 6.496 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0/package.mo): time 0.1697/0.1697, allocations: 23.72 MB / 372.4 MB, free: 3.109 MB / 286.1 MB " [Timeout remaining time 180] Using package Physiolibrary with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.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) Using package Chemical with version 1.4.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1/package.mo) Running command: "" <> buildModelFMU(Physiolibrary.Fluid.Examples.MeanRespiration,fileNamePrefix="Physiolibrary_Physiolibrary_Fluid_Examples_MeanRespiration",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Physiolibrary.Fluid.Examples.MeanRespiration,fileNamePrefix="Physiolibrary_Physiolibrary_Fluid_Examples_MeanRespiration",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Chemical 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: Physiolibrary 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: Physiolibrary requested package Complex of version 4.0.0. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Warning: Requested package Chemical of version 1.4.0, but this package was already loaded with version 1.4.1. There are no conversion annotations and 1.4.0 is older than 1.4.1, so the libraries are probably incompatible. Notification: Performance of FrontEnd - loaded program: time 0.004079/0.004079, allocations: 123.8 kB / 0.5047 GB, free: 15.16 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2994/0.3035, allocations: 63.85 MB / 0.567 GB, free: 14.48 MB / 398.1 MB Notification: Performance of NFInst.instantiate(Physiolibrary.Fluid.Examples.MeanRespiration): time 0.04039/0.3439, allocations: 31.11 MB / 0.5974 GB, free: 15.26 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.02072/0.3646, allocations: 15.68 MB / 0.6127 GB, free: 15.52 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003333/0.365, allocations: 7.938 kB / 0.6127 GB, free: 15.51 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000509/0.3655, allocations: 119.1 kB / 0.6128 GB, free: 15.39 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005057/0.3705, allocations: 1.782 MB / 0.6146 GB, free: 13.61 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003653/0.3742, allocations: 1.332 MB / 0.6159 GB, free: 12.27 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008806/0.3751, allocations: 0.5485 MB / 0.6164 GB, free: 11.71 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009341/0.376, allocations: 0.6665 MB / 0.6171 GB, free: 11.04 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002781/0.3788, allocations: 1.254 MB / 0.6183 GB, free: 9.785 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0011/0.3799, allocations: 0.5883 MB / 0.6189 GB, free: 9.195 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002016/0.3801, allocations: 79.94 kB / 0.6189 GB, free: 9.117 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004929/0.385, allocations: 1.91 MB / 0.6208 GB, free: 7.203 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004393/0.3855, allocations: 263.4 kB / 0.6211 GB, free: 6.945 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006331/0.3861, allocations: 295.1 kB / 0.6213 GB, free: 6.656 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007353/0.3934, allocations: 2.741 MB / 0.624 GB, free: 3.906 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.933e-06/0.3934, allocations: 3.984 kB / 0.624 GB, free: 3.902 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.3934, allocations: 0 / 0.624 GB, free: 3.902 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.852e-05/0.3935, allocations: 0 / 0.624 GB, free: 3.902 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.002798/0.3963, allocations: 0.9387 MB / 0.6249 GB, free: 2.93 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.006e-05/0.3963, allocations: 8.031 kB / 0.6249 GB, free: 2.922 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001398/0.3965, allocations: 58.53 kB / 0.625 GB, free: 2.855 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002105/0.3967, allocations: 39.77 kB / 0.625 GB, free: 2.816 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009315/0.3976, allocations: 376.9 kB / 0.6254 GB, free: 2.418 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.632e-05/0.3976, allocations: 24.44 kB / 0.6254 GB, free: 2.395 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.845e-05/0.3977, allocations: 20 kB / 0.6254 GB, free: 2.375 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001347/0.3991, allocations: 0.7103 MB / 0.6261 GB, free: 1.66 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.711e-05/0.3991, allocations: 0 / 0.6261 GB, free: 1.66 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.848e-05/0.3991, allocations: 7.938 kB / 0.6261 GB, free: 1.652 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.159e-05/0.3992, allocations: 8 kB / 0.6262 GB, free: 1.645 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001806/0.401, allocations: 1.071 MB / 0.6272 GB, free: 0.5664 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003/0.404, allocations: 1.284 MB / 0.6285 GB, free: 15.24 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007457/0.4047, allocations: 342.5 kB / 0.6288 GB, free: 14.89 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005632/0.4053, allocations: 296.7 kB / 0.6291 GB, free: 14.6 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002316/0.4055, allocations: 35.97 kB / 0.6291 GB, free: 14.57 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.578e-05/0.4055, allocations: 38.56 kB / 0.6291 GB, free: 14.52 MB / 462.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001358/0.4069, allocations: 271.6 kB / 0.6294 GB, free: 14.25 MB / 462.1 MB Notification: Performance of pre-optimization done (n=31): time 3.787e-06/0.4069, allocations: 0 / 0.6294 GB, free: 14.25 MB / 462.1 MB Notification: Performance of matching and sorting (n=31): time 0.00936/0.4163, allocations: 2.029 MB / 0.6314 GB, free: 12.21 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.757e-05/0.4163, allocations: 55.34 kB / 0.6314 GB, free: 12.14 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000556/0.4169, allocations: 368.5 kB / 0.6318 GB, free: 11.78 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 6.287e-05/0.4169, allocations: 29.7 kB / 0.6318 GB, free: 11.75 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001558/0.4171, allocations: 156.7 kB / 0.632 GB, free: 11.59 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001474/0.4172, allocations: 111 kB / 0.6321 GB, free: 11.48 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001863/0.4174, allocations: 89.61 kB / 0.6321 GB, free: 11.39 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0002105/0.4176, allocations: 338.8 kB / 0.6325 GB, free: 11.05 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004414/0.4181, allocations: 235.9 kB / 0.6327 GB, free: 10.82 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004444/0.4185, allocations: 235.8 kB / 0.6329 GB, free: 10.59 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009196/0.4194, allocations: 0.5061 MB / 0.6334 GB, free: 10.08 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.4194, allocations: 3.938 kB / 0.6334 GB, free: 10.07 MB / 462.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.002219/0.4217, allocations: 0.9157 MB / 0.6343 GB, free: 9.148 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.065e-05/0.4217, allocations: 6.656 kB / 0.6343 GB, free: 9.145 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.965e-06/0.4217, allocations: 0 / 0.6343 GB, free: 9.145 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.04939/0.4711, allocations: 4.199 MB / 0.6384 GB, free: 4.938 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.926e-05/0.4711, allocations: 15.92 kB / 0.6384 GB, free: 4.922 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003709/0.4748, allocations: 1.512 MB / 0.6399 GB, free: 3.383 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003593/0.4752, allocations: 11.98 kB / 0.6399 GB, free: 3.371 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.66e-05/0.4753, allocations: 23.97 kB / 0.6399 GB, free: 3.348 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(13,17)} Notification: Performance of prepare postOptimizeDAE: time 0.0002644/0.4755, allocations: 161.8 kB / 0.6401 GB, free: 3.18 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001308/0.4757, allocations: 35.77 kB / 0.6401 GB, free: 3.145 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00211/0.4778, allocations: 1.068 MB / 0.6412 GB, free: 2.055 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.515e-05/0.4778, allocations: 7.984 kB / 0.6412 GB, free: 2.047 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.131e-06/0.4778, allocations: 0 / 0.6412 GB, free: 2.047 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.087e-06/0.4778, allocations: 3.984 kB / 0.6412 GB, free: 2.043 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002751/0.4806, allocations: 1.634 MB / 0.6428 GB, free: 368 kB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.171e-06/0.4806, allocations: 0 / 0.6428 GB, free: 368 kB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.914e-05/0.4806, allocations: 7.938 kB / 0.6428 GB, free: 360 kB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002124/0.4827, allocations: 0.7752 MB / 0.6435 GB, free: 15.57 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.548e-05/0.4828, allocations: 11.98 kB / 0.6436 GB, free: 15.56 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002506/0.4853, allocations: 1.55 MB / 0.6451 GB, free: 13.98 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.4853, allocations: 4 kB / 0.6451 GB, free: 13.98 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001506/0.4868, allocations: 0.9462 MB / 0.646 GB, free: 13.02 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002723/0.4871, allocations: 75.7 kB / 0.6461 GB, free: 12.94 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.432e-05/0.4871, allocations: 12 kB / 0.6461 GB, free: 12.93 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002615/0.4874, allocations: 4 kB / 0.6461 GB, free: 12.93 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.453e-05/0.4875, allocations: 27.83 kB / 0.6461 GB, free: 12.9 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.848e-05/0.4875, allocations: 19.98 kB / 0.6461 GB, free: 12.88 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0003262/0.4879, allocations: 267 kB / 0.6464 GB, free: 12.62 MB / 478.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4879, allocations: 0 / 0.6464 GB, free: 12.62 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001571/0.4894, allocations: 0.5991 MB / 0.647 GB, free: 12.02 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(13,23)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004075/0.4935, allocations: 2.495 MB / 0.6494 GB, free: 9.488 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.002446/0.496, allocations: 0.7047 MB / 0.6501 GB, free: 8.781 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.496, allocations: 4 kB / 0.6501 GB, free: 8.777 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001217/0.4972, allocations: 452.2 kB / 0.6505 GB, free: 8.34 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001407/0.4986, allocations: 276.7 kB / 0.6508 GB, free: 8.074 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008937/0.5075, allocations: 5.249 MB / 0.6559 GB, free: 2.746 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002239/0.5077, allocations: 197 kB / 0.6561 GB, free: 2.535 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0002178/0.508, allocations: 47.22 kB / 0.6562 GB, free: 2.484 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001517/0.5081, allocations: 107.4 kB / 0.6563 GB, free: 2.383 MB / 478.1 MB Notification: Performance of SimCode: time 1.062e-06/0.5081, allocations: 0 / 0.6563 GB, free: 2.383 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07094/0.5791, allocations: 31.13 MB / 0.6867 GB, free: 3.543 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.69/14.27, allocations: 0 / 0.6867 GB, free: 3.543 MB / 0.4981 GB " [Timeout remaining time 646] (rm -f Physiolibrary_Physiolibrary.Fluid.Examples.MeanRespiration.pipe ; mkfifo Physiolibrary_Physiolibrary.Fluid.Examples.MeanRespiration.pipe ; head -c 1048576 < Physiolibrary_Physiolibrary.Fluid.Examples.MeanRespiration.pipe >> ../files/Physiolibrary_Physiolibrary.Fluid.Examples.MeanRespiration.sim & python3 -m fmpy simulate --output-file Physiolibrary_Physiolibrary.Fluid.Examples.MeanRespiration_res.csv --start-time 0 --stop-time 1800 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.72 Physiolibrary_Physiolibrary_Fluid_Examples_MeanRespiration.fmu > Physiolibrary_Physiolibrary.Fluid.Examples.MeanRespiration.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 17.519235684070736] Failed to read output from testmodel.py, exit status != 0: 14.40381905483082 14.420273551 14.023343192 Calling exit ...