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.1098/0.1098, allocations: 15.56 MB / 34.41 MB, free: 4.496 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.00134/0.00134, allocations: 107.6 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.001666/0.001666, allocations: 219.5 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.539/1.539, allocations: 230.6 MB / 287.9 MB, free: 6.379 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.1607/0.1607, allocations: 23.72 MB / 372.4 MB, free: 2.945 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.003655/0.003655, allocations: 126.5 kB / 0.5059 GB, free: 13.9 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.324/0.3277, allocations: 63.85 MB / 0.5682 GB, free: 14.02 MB / 398.1 MB Notification: Performance of NFInst.instantiate(Physiolibrary.Fluid.Examples.AirWaterSaturation): time 0.0651/0.3928, allocations: 52.71 MB / 0.6197 GB, free: 9.117 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.03215/0.4249, allocations: 24.85 MB / 0.644 GB, free: 172 kB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001048/0.426, allocations: 23.81 kB / 0.644 GB, free: 148 kB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001593/0.4276, allocations: 417.1 kB / 0.6444 GB, free: 15.73 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008541/0.4361, allocations: 2.69 MB / 0.647 GB, free: 13.03 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01016/0.4463, allocations: 3.67 MB / 0.6506 GB, free: 9.34 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.002937/0.4492, allocations: 1.891 MB / 0.6525 GB, free: 7.441 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001275/0.4505, allocations: 0.7361 MB / 0.6532 GB, free: 6.68 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006295/0.4568, allocations: 3.073 MB / 0.6562 GB, free: 3.598 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005324/0.4621, allocations: 1.355 MB / 0.6575 GB, free: 2.332 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000404/0.4625, allocations: 128 kB / 0.6576 GB, free: 2.207 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01098/0.4735, allocations: 3.617 MB / 0.6612 GB, free: 14.58 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009408/0.4744, allocations: 0.5455 MB / 0.6617 GB, free: 14.04 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001024/0.4755, allocations: 0.6422 MB / 0.6623 GB, free: 13.39 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01429/0.4898, allocations: 5.433 MB / 0.6676 GB, free: 7.938 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.508e-06/0.4898, allocations: 4 kB / 0.6676 GB, free: 7.934 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.853e-06/0.4898, allocations: 0 / 0.6676 GB, free: 7.934 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.21e-05/0.4898, allocations: 0 / 0.6676 GB, free: 7.934 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.005121/0.4949, allocations: 2.085 MB / 0.6697 GB, free: 5.805 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.886e-05/0.495, allocations: 12.03 kB / 0.6697 GB, free: 5.793 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002452/0.4952, allocations: 164.9 kB / 0.6698 GB, free: 5.621 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001556/0.4968, allocations: 306.4 kB / 0.6701 GB, free: 5.32 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00172/0.4985, allocations: 0.7071 MB / 0.6708 GB, free: 4.586 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.134e-05/0.4986, allocations: 78 kB / 0.6709 GB, free: 4.512 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002139/0.4988, allocations: 96 kB / 0.671 GB, free: 4.418 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003341/0.5021, allocations: 1.836 MB / 0.6728 GB, free: 2.52 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.575e-05/0.5021, allocations: 3.984 kB / 0.6728 GB, free: 2.516 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001188/0.5023, allocations: 43.94 kB / 0.6728 GB, free: 2.473 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002398/0.5025, allocations: 85.94 kB / 0.6729 GB, free: 2.387 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003818/0.5063, allocations: 2.272 MB / 0.6751 GB, free: 116 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.009592/0.5159, allocations: 5.239 MB / 0.6802 GB, free: 10.76 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002613/0.5185, allocations: 1.196 MB / 0.6814 GB, free: 9.551 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001149/0.5197, allocations: 0.6324 MB / 0.682 GB, free: 8.918 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005948/0.5256, allocations: 2.806 MB / 0.6848 GB, free: 6.09 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.5e-05/0.5257, allocations: 43.56 kB / 0.6848 GB, free: 6.039 MB / 0.4981 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006521/0.5263, allocations: 151.1 kB / 0.6849 GB, free: 5.891 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=100): time 3.266e-06/0.5263, allocations: 0 / 0.6849 GB, free: 5.891 MB / 0.4981 GB Notification: Performance of matching and sorting (n=100): time 0.005608/0.5319, allocations: 2.434 MB / 0.6873 GB, free: 3.445 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.136e-05/0.532, allocations: 64.34 kB / 0.6874 GB, free: 3.371 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001285/0.5333, allocations: 0.7776 MB / 0.6881 GB, free: 2.582 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 9.311e-05/0.5334, allocations: 41.7 kB / 0.6882 GB, free: 2.535 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004537/0.5338, allocations: 0.5081 MB / 0.6887 GB, free: 2.02 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005739/0.5344, allocations: 364.8 kB / 0.689 GB, free: 1.66 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004107/0.5348, allocations: 254.8 kB / 0.6893 GB, free: 1.406 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0003532/0.5352, allocations: 402.7 kB / 0.6896 GB, free: 1.004 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001115/0.5363, allocations: 0.6428 MB / 0.6903 GB, free: 368 kB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001503/0.5378, allocations: 0.954 MB / 0.6912 GB, free: 15.28 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002725/0.5405, allocations: 1.674 MB / 0.6928 GB, free: 13.48 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.997e-06/0.5405, allocations: 4 kB / 0.6928 GB, free: 13.47 MB / 0.5137 GB Notification: Performance of matching and sorting (n=151) (initialization): time 0.003548/0.5441, allocations: 1.896 MB / 0.6947 GB, free: 11.57 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.962e-05/0.5441, allocations: 11.28 kB / 0.6947 GB, free: 11.56 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.813e-05/0.5441, allocations: 8 kB / 0.6947 GB, free: 11.55 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001471/0.5456, allocations: 297.7 kB / 0.695 GB, free: 11.25 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001052/0.5466, allocations: 283.6 kB / 0.6953 GB, free: 10.98 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001459/0.5481, allocations: 1.237 MB / 0.6965 GB, free: 9.688 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008414/0.5489, allocations: 39.98 kB / 0.6965 GB, free: 9.648 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001633/0.5491, allocations: 83.95 kB / 0.6966 GB, free: 9.566 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.0006552/0.5497, allocations: 321.4 kB / 0.6969 GB, free: 9.242 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002286/0.55, allocations: 95.55 kB / 0.697 GB, free: 9.141 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004729/0.5547, allocations: 2.461 MB / 0.6994 GB, free: 6.645 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.003078/0.5578, allocations: 1.519 MB / 0.7009 GB, free: 5.109 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.377e-06/0.5578, allocations: 0 / 0.7009 GB, free: 5.109 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.412e-05/0.5578, allocations: 8.016 kB / 0.7009 GB, free: 5.102 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006365/0.5642, allocations: 2.964 MB / 0.7038 GB, free: 2.082 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.596e-06/0.5642, allocations: 4 kB / 0.7038 GB, free: 2.078 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008239/0.565, allocations: 187.7 kB / 0.704 GB, free: 1.895 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001361/0.5664, allocations: 289.4 kB / 0.7042 GB, free: 1.605 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.034e-05/0.5665, allocations: 35.98 kB / 0.7043 GB, free: 1.57 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001201/0.5677, allocations: 1.206 MB / 0.7055 GB, free: 320 kB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.5677, allocations: 4.062 kB / 0.7055 GB, free: 316 kB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005078/0.5727, allocations: 2.662 MB / 0.7081 GB, free: 13.62 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000769/0.5735, allocations: 223.3 kB / 0.7083 GB, free: 13.4 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000186/0.5737, allocations: 19.94 kB / 0.7083 GB, free: 13.38 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005374/0.5742, allocations: 23.98 kB / 0.7083 GB, free: 13.36 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001904/0.5744, allocations: 84.86 kB / 0.7084 GB, free: 13.27 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001066/0.5745, allocations: 47.98 kB / 0.7084 GB, free: 13.23 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0009558/0.5755, allocations: 0.6161 MB / 0.709 GB, free: 12.61 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/0.5755, allocations: 0 / 0.709 GB, free: 12.61 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.003512/0.579, allocations: 1.272 MB / 0.7103 GB, free: 11.34 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.009852/0.5888, allocations: 5.04 MB / 0.7152 GB, free: 6.27 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.003366/0.5922, allocations: 1.596 MB / 0.7168 GB, free: 4.672 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.988e-06/0.5922, allocations: 0 / 0.7168 GB, free: 4.672 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001335/0.5935, allocations: 0.7568 MB / 0.7175 GB, free: 3.91 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002356/0.5959, allocations: 486.1 kB / 0.718 GB, free: 3.453 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2753/0.8712, allocations: 11.78 MB / 0.7295 GB, free: 140.7 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004638/0.8717, allocations: 0.5296 MB / 0.73 GB, free: 140.6 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.001197/0.8729, allocations: 426.4 kB / 0.7304 GB, free: 140.6 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006679/0.8735, allocations: 0.5505 MB / 0.7309 GB, free: 140.3 MB / 0.5294 GB Notification: Performance of SimCode: time 8.12e-07/0.8735, allocations: 3.141 kB / 0.7309 GB, free: 140.3 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08683/0.9604, allocations: 60.45 MB / 0.79 GB, free: 83.59 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.78/15.74, allocations: 0 / 0.79 GB, free: 83.59 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Physiolibrary_Physiolibrary_Fluid_Examples_AirWaterSaturation_fmu --startTime=0 --stopTime=200 --stepSize=0.08 --timeout=50 --tolerance=1e-06 Physiolibrary_Physiolibrary_Fluid_Examples_AirWaterSaturation.fmu > Physiolibrary_Physiolibrary.Fluid.Examples.AirWaterSaturation.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 18.67123764194548] Failed to read output from testmodel.py, exit status != 0: 15.895854948088527 15.90547518 15.41317023 Calling exit ...