Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Physiolibrary_Physiolibrary.Fluid.Examples.AirWaterSaturation.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.1331/0.1331, allocations: 15.56 MB / 34.41 MB, free: 4.488 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.001384/0.001384, allocations: 105.9 kB / 41.99 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.001598/0.001598, allocations: 215.3 kB / 49.68 MB, free: 10.02 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.602/1.602, allocations: 230.6 MB / 287.8 MB, free: 6.344 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.2007/0.2007, allocations: 23.72 MB / 372.4 MB, free: 2.953 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.AirWaterSaturation,fileNamePrefix="Physiolibrary_Physiolibrary_Fluid_Examples_AirWaterSaturation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Physiolibrary.Fluid.Examples.AirWaterSaturation,fileNamePrefix="Physiolibrary_Physiolibrary_Fluid_Examples_AirWaterSaturation",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.003576/0.003576, allocations: 124.5 kB / 0.5059 GB, free: 13.91 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3497/0.3533, allocations: 63.86 MB / 0.5682 GB, free: 14.05 MB / 398.1 MB Notification: Performance of NFInst.instantiate(Physiolibrary.Fluid.Examples.AirWaterSaturation): time 0.06764/0.4209, allocations: 52.71 MB / 0.6197 GB, free: 9.148 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.03378/0.4547, allocations: 24.85 MB / 0.644 GB, free: 204 kB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007805/0.4555, allocations: 23.81 kB / 0.644 GB, free: 180 kB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001483/0.457, allocations: 417.3 kB / 0.6444 GB, free: 15.76 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007733/0.4647, allocations: 2.693 MB / 0.647 GB, free: 13.06 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01055/0.4752, allocations: 3.662 MB / 0.6506 GB, free: 9.375 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.002894/0.4781, allocations: 1.895 MB / 0.6525 GB, free: 7.473 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001447/0.4796, allocations: 0.7361 MB / 0.6532 GB, free: 6.711 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006613/0.4862, allocations: 3.077 MB / 0.6562 GB, free: 3.625 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005359/0.4916, allocations: 1.356 MB / 0.6575 GB, free: 2.359 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004193/0.492, allocations: 132 kB / 0.6576 GB, free: 2.23 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009861/0.5018, allocations: 3.61 MB / 0.6611 GB, free: 14.61 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009003/0.5027, allocations: 0.5532 MB / 0.6617 GB, free: 14.06 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001513/0.5042, allocations: 0.646 MB / 0.6623 GB, free: 13.41 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01409/0.5183, allocations: 5.429 MB / 0.6676 GB, free: 7.961 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.5183, allocations: 0 / 0.6676 GB, free: 7.961 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.5183, allocations: 4 kB / 0.6676 GB, free: 7.957 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.632e-05/0.5184, allocations: 0 / 0.6676 GB, free: 7.957 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 278 * Number of variables: 278 Notification: Performance of Generate backend data structure: time 0.005501/0.5239, allocations: 2.085 MB / 0.6697 GB, free: 5.828 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.454e-05/0.524, allocations: 8.031 kB / 0.6697 GB, free: 5.82 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002748/0.5242, allocations: 160.9 kB / 0.6698 GB, free: 5.652 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001363/0.5256, allocations: 310.5 kB / 0.6701 GB, free: 5.348 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001611/0.5272, allocations: 0.711 MB / 0.6708 GB, free: 4.609 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.872e-05/0.5273, allocations: 74 kB / 0.6709 GB, free: 4.539 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002257/0.5275, allocations: 99.98 kB / 0.671 GB, free: 4.441 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003344/0.5309, allocations: 1.836 MB / 0.6728 GB, free: 2.543 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.968e-05/0.5309, allocations: 7.938 kB / 0.6728 GB, free: 2.535 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001388/0.531, allocations: 36 kB / 0.6728 GB, free: 2.5 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002791/0.5313, allocations: 81.94 kB / 0.6729 GB, free: 2.418 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004067/0.5354, allocations: 2.268 MB / 0.6751 GB, free: 152 kB / 494.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01177/0.5472, allocations: 5.243 MB / 0.6802 GB, free: 10.79 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002695/0.5498, allocations: 1.199 MB / 0.6814 GB, free: 9.578 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001101/0.5509, allocations: 0.6362 MB / 0.682 GB, free: 8.941 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005876/0.5568, allocations: 2.806 MB / 0.6848 GB, free: 6.113 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.683e-05/0.5569, allocations: 47.5 kB / 0.6848 GB, free: 6.059 MB / 0.4981 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000707/0.5576, allocations: 143.2 kB / 0.6849 GB, free: 5.918 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=100): time 4.007e-06/0.5576, allocations: 0 / 0.6849 GB, free: 5.918 MB / 0.4981 GB Notification: Performance of matching and sorting (n=100): time 0.005624/0.5632, allocations: 2.434 MB / 0.6873 GB, free: 3.473 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.591e-05/0.5633, allocations: 64.41 kB / 0.6874 GB, free: 3.398 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001304/0.5646, allocations: 0.7815 MB / 0.6881 GB, free: 2.605 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001027/0.5647, allocations: 37.7 kB / 0.6882 GB, free: 2.562 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004396/0.5651, allocations: 0.5042 MB / 0.6887 GB, free: 2.051 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004236/0.5655, allocations: 364.8 kB / 0.689 GB, free: 1.691 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004357/0.566, allocations: 254.8 kB / 0.6893 GB, free: 1.438 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0002816/0.5662, allocations: 406.7 kB / 0.6897 GB, free: 1.031 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001083/0.5673, allocations: 0.6428 MB / 0.6903 GB, free: 396 kB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001413/0.5687, allocations: 0.95 MB / 0.6912 GB, free: 15.31 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002605/0.5713, allocations: 1.682 MB / 0.6928 GB, free: 13.5 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.68e-06/0.5713, allocations: 0 / 0.6928 GB, free: 13.5 MB / 0.5137 GB Notification: Performance of matching and sorting (n=151) (initialization): time 0.003484/0.5748, allocations: 1.893 MB / 0.6947 GB, free: 11.6 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.603e-05/0.5749, allocations: 8 kB / 0.6947 GB, free: 11.59 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.867e-05/0.5749, allocations: 12 kB / 0.6947 GB, free: 11.58 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001464/0.5763, allocations: 293.5 kB / 0.695 GB, free: 11.29 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001058/0.5774, allocations: 283.6 kB / 0.6953 GB, free: 11.01 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001307/0.5787, allocations: 1.241 MB / 0.6965 GB, free: 9.715 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008418/0.5795, allocations: 35.98 kB / 0.6965 GB, free: 9.68 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001679/0.5797, allocations: 87.95 kB / 0.6966 GB, free: 9.594 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * 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 (132): * Single equations (assignments): 127 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,1), (1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0006453/0.5804, allocations: 317.4 kB / 0.6969 GB, free: 9.273 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002287/0.5806, allocations: 95.39 kB / 0.697 GB, free: 9.18 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004665/0.5853, allocations: 2.463 MB / 0.6994 GB, free: 6.68 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002844/0.5881, allocations: 1.519 MB / 0.7009 GB, free: 5.145 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.564e-06/0.5881, allocations: 0 / 0.7009 GB, free: 5.145 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.293e-05/0.5881, allocations: 3.984 kB / 0.7009 GB, free: 5.141 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005941/0.5941, allocations: 2.96 MB / 0.7038 GB, free: 2.125 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.666e-06/0.5941, allocations: 4 kB / 0.7038 GB, free: 2.121 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000809/0.5949, allocations: 187.8 kB / 0.704 GB, free: 1.938 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0013/0.5962, allocations: 289.3 kB / 0.7042 GB, free: 1.648 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.547e-05/0.5963, allocations: 39.98 kB / 0.7043 GB, free: 1.609 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001063/0.5973, allocations: 1.202 MB / 0.7054 GB, free: 364 kB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.5973, allocations: 0 / 0.7054 GB, free: 364 kB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00477/0.6021, allocations: 2.67 MB / 0.7081 GB, free: 13.66 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007486/0.6028, allocations: 219.3 kB / 0.7083 GB, free: 13.44 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002048/0.603, allocations: 19.94 kB / 0.7083 GB, free: 13.42 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005618/0.6036, allocations: 27.98 kB / 0.7083 GB, free: 13.39 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001753/0.6038, allocations: 80.86 kB / 0.7084 GB, free: 13.32 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001044/0.6039, allocations: 43.98 kB / 0.7084 GB, free: 13.27 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0009088/0.6048, allocations: 0.6239 MB / 0.709 GB, free: 12.65 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.11e-07/0.6048, allocations: 0 / 0.709 GB, free: 12.65 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.003165/0.608, allocations: 1.272 MB / 0.7103 GB, free: 11.38 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 5 (upperRespiratoryTract.chemicalSolution.substanceMasses[1],upperRespiratoryTract.chemicalSolution.substanceMasses[2],upperRespiratoryTract.chemicalSolution.substanceMasses[3],upperRespiratoryTract.chemicalSolution.substanceMasses[4],upperRespiratoryTract.enthalpy) * 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 (96): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,1), (1,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.008838/0.6168, allocations: 5.04 MB / 0.7152 GB, free: 6.312 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.002949/0.6197, allocations: 1.597 MB / 0.7168 GB, free: 4.711 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/0.6198, allocations: 3.938 kB / 0.7168 GB, free: 4.707 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001243/0.621, allocations: 0.7491 MB / 0.7175 GB, free: 3.953 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002312/0.6233, allocations: 489.7 kB / 0.718 GB, free: 3.496 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2637/0.887, allocations: 11.78 MB / 0.7295 GB, free: 140.8 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005111/0.8875, allocations: 0.542 MB / 0.73 GB, free: 140.6 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.00126/0.8888, allocations: 418.7 kB / 0.7304 GB, free: 140.6 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006716/0.8895, allocations: 0.5558 MB / 0.7309 GB, free: 140.3 MB / 0.5294 GB Notification: Performance of SimCode: time 1.413e-06/0.8895, allocations: 2.844 kB / 0.7309 GB, free: 140.3 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09088/0.9804, allocations: 60.44 MB / 0.79 GB, free: 83.55 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.12/16.1, allocations: 0 / 0.79 GB, free: 83.55 MB / 0.5294 GB " [Timeout remaining time 644] (rm -f Physiolibrary_Physiolibrary.Fluid.Examples.AirWaterSaturation.pipe ; mkfifo Physiolibrary_Physiolibrary.Fluid.Examples.AirWaterSaturation.pipe ; head -c 1048576 < Physiolibrary_Physiolibrary.Fluid.Examples.AirWaterSaturation.pipe >> ../files/Physiolibrary_Physiolibrary.Fluid.Examples.AirWaterSaturation.sim & python3 -m fmpy simulate --output-file Physiolibrary_Physiolibrary.Fluid.Examples.AirWaterSaturation_res.csv --start-time 0 --stop-time 200 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.08 Physiolibrary_Physiolibrary_Fluid_Examples_AirWaterSaturation.fmu > Physiolibrary_Physiolibrary.Fluid.Examples.AirWaterSaturation.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 19.346028277184814] Failed to read output from testmodel.py, exit status != 0: 16.252400259952992 16.262381454 15.741531045 Calling exit ...