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.09073/0.09073, allocations: 11.15 MB / 30.84 MB, free: 6.121 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.001301/0.001301, allocations: 84.38 kB / 38.4 MB, free: 7.914 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.001607/0.001607, allocations: 168.5 kB / 46.06 MB, free: 244 kB / 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.4/1.4, allocations: 177.2 MB / 230.8 MB, free: 8.035 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.1401/0.1401, allocations: 17.63 MB / 309.3 MB, free: 12.82 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: translateModel(Physiolibrary.Fluid.Examples.AirWaterSaturation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Physiolibrary_Physiolibrary.Fluid.Examples.AirWaterSaturation") translateModel(Physiolibrary.Fluid.Examples.AirWaterSaturation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Physiolibrary_Physiolibrary.Fluid.Examples.AirWaterSaturation") [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.003675/0.003675, allocations: 119.8 kB / 455.4 MB, free: 15.04 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.119/0.1226, allocations: 63.83 MB / 0.507 GB, free: 15.08 MB / 478.1 MB Notification: Performance of NFInst.instantiate(Physiolibrary.Fluid.Examples.AirWaterSaturation): time 0.3058/0.4284, allocations: 52.69 MB / 0.5585 GB, free: 63.54 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.02453/0.453, allocations: 24.86 MB / 0.5828 GB, free: 62.18 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008375/0.4538, allocations: 23.19 kB / 0.5828 GB, free: 62.18 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001297/0.4551, allocations: 415.1 kB / 0.5832 GB, free: 62.11 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.007261/0.4624, allocations: 2.695 MB / 0.5858 GB, free: 60.81 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.01267/0.475, allocations: 3.669 MB / 0.5894 GB, free: 59.18 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.003419/0.4785, allocations: 1.887 MB / 0.5912 GB, free: 58.74 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001463/0.4799, allocations: 0.728 MB / 0.5919 GB, free: 58.64 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007401/0.4873, allocations: 3.083 MB / 0.595 GB, free: 57.88 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006029/0.4934, allocations: 1.353 MB / 0.5963 GB, free: 57.5 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0004854/0.4938, allocations: 129.5 kB / 0.5964 GB, free: 57.5 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01049/0.5043, allocations: 3.624 MB / 0.5999 GB, free: 56.5 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0008205/0.5052, allocations: 0.5493 MB / 0.6005 GB, free: 56.27 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0009645/0.5061, allocations: 0.6427 MB / 0.6011 GB, free: 55.97 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.01284/0.519, allocations: 5.427 MB / 0.6064 GB, free: 53.86 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.519, allocations: 6.688 kB / 0.6064 GB, free: 53.85 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.373e-06/0.519, allocations: 0 / 0.6064 GB, free: 53.85 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.701e-05/0.519, allocations: 3.938 kB / 0.6064 GB, free: 53.85 MB / 0.4981 GB 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.003731/0.5227, allocations: 2.087 MB / 0.6084 GB, free: 52.6 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.174e-05/0.5227, allocations: 16.55 kB / 0.6085 GB, free: 52.59 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001178/0.5239, allocations: 300.5 kB / 0.6088 GB, free: 52.49 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001178/0.5251, allocations: 0.7123 MB / 0.6094 GB, free: 52.07 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.381e-05/0.5252, allocations: 76.41 kB / 0.6095 GB, free: 52.04 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001557/0.5253, allocations: 97.16 kB / 0.6096 GB, free: 52.01 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002313/0.5276, allocations: 1.83 MB / 0.6114 GB, free: 51.25 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.069e-05/0.5277, allocations: 9.938 kB / 0.6114 GB, free: 51.25 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001095/0.5278, allocations: 38.36 kB / 0.6114 GB, free: 51.22 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002214/0.528, allocations: 81.11 kB / 0.6115 GB, free: 51.21 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002823/0.5308, allocations: 2.271 MB / 0.6137 GB, free: 50.45 MB / 0.4981 GB 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.006984/0.5378, allocations: 5.072 MB / 0.6187 GB, free: 45.62 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0021/0.5399, allocations: 1.206 MB / 0.6199 GB, free: 44.41 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007671/0.5407, allocations: 0.6331 MB / 0.6205 GB, free: 43.78 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004094/0.5448, allocations: 2.792 MB / 0.6232 GB, free: 40.96 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.884e-05/0.5448, allocations: 43.56 kB / 0.6233 GB, free: 40.91 MB / 0.4981 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005723/0.5453, allocations: 135.3 kB / 0.6234 GB, free: 40.78 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=100): time 2.665e-06/0.5453, allocations: 0 / 0.6234 GB, free: 40.78 MB / 0.4981 GB Notification: Performance of matching and sorting (n=100): time 0.00437/0.5497, allocations: 2.422 MB / 0.6258 GB, free: 38.35 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.508e-05/0.5497, allocations: 64.41 kB / 0.6258 GB, free: 38.27 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006259/0.5504, allocations: 0.6717 MB / 0.6265 GB, free: 37.59 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 6.125e-05/0.5504, allocations: 37.7 kB / 0.6265 GB, free: 37.55 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002054/0.5506, allocations: 0.5081 MB / 0.627 GB, free: 37.03 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001802/0.5508, allocations: 364.9 kB / 0.6273 GB, free: 36.67 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003091/0.5511, allocations: 254.8 kB / 0.6276 GB, free: 36.41 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 8.994e-05/0.5512, allocations: 394.7 kB / 0.628 GB, free: 36.02 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007601/0.552, allocations: 0.6506 MB / 0.6286 GB, free: 35.37 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000896/0.5529, allocations: 0.9462 MB / 0.6295 GB, free: 34.29 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001753/0.5546, allocations: 1.678 MB / 0.6312 GB, free: 32.49 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.961e-06/0.5546, allocations: 4 kB / 0.6312 GB, free: 32.48 MB / 0.4981 GB Notification: Performance of matching and sorting (n=151) (initialization): time 0.002472/0.5571, allocations: 1.892 MB / 0.633 GB, free: 30.58 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.073e-05/0.5571, allocations: 8 kB / 0.633 GB, free: 30.57 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.218e-05/0.5571, allocations: 8 kB / 0.633 GB, free: 30.56 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0013/0.5584, allocations: 300.5 kB / 0.6333 GB, free: 30.27 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009183/0.5594, allocations: 283.6 kB / 0.6336 GB, free: 29.99 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007979/0.5602, allocations: 1.242 MB / 0.6348 GB, free: 28.7 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007382/0.5609, allocations: 35.98 kB / 0.6348 GB, free: 28.66 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001289/0.561, allocations: 87.95 kB / 0.6349 GB, free: 28.57 MB / 0.4981 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.000458/0.5615, allocations: 329.3 kB / 0.6352 GB, free: 28.24 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001684/0.5616, allocations: 87.44 kB / 0.6353 GB, free: 28.16 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003395/0.565, allocations: 2.441 MB / 0.6377 GB, free: 25.69 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002143/0.5672, allocations: 1.511 MB / 0.6392 GB, free: 24.16 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.602e-06/0.5672, allocations: 0 / 0.6392 GB, free: 24.16 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.111e-05/0.5672, allocations: 3.984 kB / 0.6392 GB, free: 24.16 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004375/0.5716, allocations: 2.868 MB / 0.642 GB, free: 21.25 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.551e-06/0.5716, allocations: 4.031 kB / 0.642 GB, free: 21.25 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007159/0.5723, allocations: 183.8 kB / 0.6422 GB, free: 21.07 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001206/0.5735, allocations: 293.4 kB / 0.6424 GB, free: 20.77 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.819e-05/0.5736, allocations: 31.98 kB / 0.6425 GB, free: 20.74 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000615/0.5742, allocations: 1.202 MB / 0.6436 GB, free: 19.49 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.123e-06/0.5742, allocations: 4.188 kB / 0.6437 GB, free: 19.48 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003604/0.5778, allocations: 2.647 MB / 0.6462 GB, free: 16.81 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005192/0.5783, allocations: 215.8 kB / 0.6464 GB, free: 16.6 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002177/0.5785, allocations: 23.95 kB / 0.6465 GB, free: 16.58 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000611/0.5792, allocations: 23.98 kB / 0.6465 GB, free: 16.55 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001464/0.5793, allocations: 92.67 kB / 0.6466 GB, free: 16.46 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.707e-05/0.5794, allocations: 47.98 kB / 0.6466 GB, free: 16.42 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0005957/0.58, allocations: 0.5303 MB / 0.6471 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.58, allocations: 0 / 0.6471 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002959/0.5829, allocations: 1.28 MB / 0.6484 GB, free: 14.61 MB / 0.4981 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.003859/0.5868, allocations: 1.868 MB / 0.6502 GB, free: 12.78 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.002353/0.5892, allocations: 1.597 MB / 0.6518 GB, free: 11.18 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/0.5892, allocations: 4 kB / 0.6518 GB, free: 11.18 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0009454/0.5901, allocations: 0.7648 MB / 0.6525 GB, free: 10.4 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001844/0.5919, allocations: 404 kB / 0.6529 GB, free: 10.04 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003547/0.5955, allocations: 2.747 MB / 0.6556 GB, free: 7.281 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004926/0.596, allocations: 0.5344 MB / 0.6561 GB, free: 6.715 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001088/0.5971, allocations: 397.4 kB / 0.6565 GB, free: 6.352 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004684/0.5975, allocations: 215.6 kB / 0.6567 GB, free: 6.145 MB / 0.4981 GB Notification: Performance of SimCode: time 6.71e-07/0.5975, allocations: 0 / 0.6567 GB, free: 6.145 MB / 0.4981 GB Notification: Performance of Templates: time 0.06928/0.6668, allocations: 44.91 MB / 0.7006 GB, free: 9.539 MB / 0.545 GB " [Timeout remaining time 659] make -j1 -f Physiolibrary_Physiolibrary.Fluid.Examples.AirWaterSaturation.makefile [Timeout 660] (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 & ./Physiolibrary_Physiolibrary.Fluid.Examples.AirWaterSaturation -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > Physiolibrary_Physiolibrary.Fluid.Examples.AirWaterSaturation.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.882668585982174] Failed to read output from testmodel.py, exit status != 0: 0.6760814489098266 0.690835702 0.16851676899999996 Calling exit ...