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.1159/0.1159, allocations: 15.56 MB / 34.4 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.001364/0.001364, allocations: 105.8 kB / 41.98 MB, free: 6.199 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.00155/0.00155, allocations: 209 kB / 49.67 MB, free: 10.05 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.557/1.557, allocations: 230.6 MB / 287.8 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.1848/0.1848, allocations: 23.73 MB / 372.4 MB, free: 2.934 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.003734/0.003734, allocations: 123.8 kB / 0.5064 GB, free: 13.4 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3177/0.3215, allocations: 63.85 MB / 0.5687 GB, free: 13.99 MB / 398.1 MB Notification: Performance of NFInst.instantiate(Physiolibrary.Fluid.Examples.AirWaterSaturation): time 0.07155/0.393, allocations: 52.71 MB / 0.6202 GB, free: 9.086 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.03739/0.4304, allocations: 24.85 MB / 0.6445 GB, free: 136 kB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009667/0.4314, allocations: 23.81 kB / 0.6445 GB, free: 112 kB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001477/0.4328, allocations: 409.3 kB / 0.6449 GB, free: 15.7 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008342/0.4412, allocations: 2.694 MB / 0.6475 GB, free: 13 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.011/0.4522, allocations: 3.67 MB / 0.6511 GB, free: 9.309 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.003051/0.4552, allocations: 1.891 MB / 0.6529 GB, free: 7.41 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001327/0.4566, allocations: 0.7284 MB / 0.6536 GB, free: 6.656 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006825/0.4634, allocations: 3.088 MB / 0.6567 GB, free: 3.559 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00602/0.4694, allocations: 1.352 MB / 0.658 GB, free: 2.301 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004605/0.4699, allocations: 128 kB / 0.6581 GB, free: 2.176 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01124/0.4811, allocations: 3.617 MB / 0.6616 GB, free: 14.55 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009455/0.4821, allocations: 0.5453 MB / 0.6622 GB, free: 14 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001091/0.4832, allocations: 0.6422 MB / 0.6628 GB, free: 13.36 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01678/0.4999, allocations: 5.433 MB / 0.6681 GB, free: 7.906 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.663e-06/0.4999, allocations: 4 kB / 0.6681 GB, free: 7.902 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.893e-06/0.4999, allocations: 0 / 0.6681 GB, free: 7.902 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.217e-05/0.5, allocations: 0 / 0.6681 GB, free: 7.902 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.005146/0.5051, allocations: 2.085 MB / 0.6701 GB, free: 5.773 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.591e-05/0.5052, allocations: 8.031 kB / 0.6702 GB, free: 5.766 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00134/0.5065, allocations: 306.4 kB / 0.6704 GB, free: 5.465 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001556/0.5081, allocations: 0.711 MB / 0.6711 GB, free: 4.727 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.567e-05/0.5081, allocations: 85.98 kB / 0.6712 GB, free: 4.645 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000209/0.5084, allocations: 96 kB / 0.6713 GB, free: 4.551 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003242/0.5116, allocations: 1.839 MB / 0.6731 GB, free: 2.648 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.845e-05/0.5116, allocations: 3.938 kB / 0.6731 GB, free: 2.645 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001233/0.5117, allocations: 39.98 kB / 0.6732 GB, free: 2.605 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002515/0.512, allocations: 81.94 kB / 0.6732 GB, free: 2.523 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003821/0.5158, allocations: 2.268 MB / 0.6754 GB, free: 260 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.00975/0.5256, allocations: 5.068 MB / 0.6804 GB, free: 11.09 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002667/0.5282, allocations: 1.199 MB / 0.6816 GB, free: 9.871 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001083/0.5293, allocations: 0.6362 MB / 0.6822 GB, free: 9.234 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005714/0.535, allocations: 2.787 MB / 0.6849 GB, free: 6.426 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.818e-05/0.5351, allocations: 51.48 kB / 0.685 GB, free: 6.367 MB / 0.4981 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006284/0.5357, allocations: 131.3 kB / 0.6851 GB, free: 6.238 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=100): time 3.336e-06/0.5357, allocations: 8 kB / 0.6851 GB, free: 6.23 MB / 0.4981 GB Notification: Performance of matching and sorting (n=100): time 0.005738/0.5415, allocations: 2.41 MB / 0.6874 GB, free: 3.809 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.516e-05/0.5415, allocations: 68.41 kB / 0.6875 GB, free: 3.73 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009826/0.5425, allocations: 0.6716 MB / 0.6882 GB, free: 3.047 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 8.356e-05/0.5426, allocations: 41.7 kB / 0.6882 GB, free: 3 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004337/0.543, allocations: 0.512 MB / 0.6887 GB, free: 2.48 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003514/0.5434, allocations: 368.9 kB / 0.6891 GB, free: 2.117 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004165/0.5438, allocations: 246.8 kB / 0.6893 GB, free: 1.871 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0002378/0.544, allocations: 398.7 kB / 0.6897 GB, free: 1.473 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001109/0.5451, allocations: 0.6428 MB / 0.6903 GB, free: 0.8281 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001453/0.5466, allocations: 0.95 MB / 0.6912 GB, free: 15.75 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002644/0.5492, allocations: 1.67 MB / 0.6929 GB, free: 13.95 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.161e-06/0.5492, allocations: 4 kB / 0.6929 GB, free: 13.95 MB / 0.5137 GB Notification: Performance of matching and sorting (n=151) (initialization): time 0.003476/0.5527, allocations: 1.888 MB / 0.6947 GB, free: 12.05 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.486e-05/0.5527, allocations: 8.844 kB / 0.6947 GB, free: 12.04 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.734e-05/0.5528, allocations: 8 kB / 0.6947 GB, free: 12.04 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001514/0.5543, allocations: 305.3 kB / 0.695 GB, free: 11.73 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001084/0.5553, allocations: 283.6 kB / 0.6953 GB, free: 11.45 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001317/0.5567, allocations: 1.23 MB / 0.6965 GB, free: 10.17 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008067/0.5575, allocations: 48.08 kB / 0.6965 GB, free: 10.12 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001876/0.5577, allocations: 83.97 kB / 0.6966 GB, free: 10.04 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.0006573/0.5583, allocations: 329.4 kB / 0.6969 GB, free: 9.711 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00022/0.5585, allocations: 87.42 kB / 0.697 GB, free: 9.625 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004843/0.5634, allocations: 2.441 MB / 0.6994 GB, free: 7.145 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.003037/0.5664, allocations: 1.515 MB / 0.7009 GB, free: 5.613 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.003e-05/0.5664, allocations: 4 kB / 0.7009 GB, free: 5.609 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.657e-05/0.5664, allocations: 7.922 kB / 0.7009 GB, free: 5.602 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006038/0.5725, allocations: 2.839 MB / 0.7037 GB, free: 2.719 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.473e-06/0.5725, allocations: 0 / 0.7037 GB, free: 2.719 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00083/0.5733, allocations: 187.8 kB / 0.7038 GB, free: 2.535 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001414/0.5747, allocations: 289.5 kB / 0.7041 GB, free: 2.246 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.029e-05/0.5748, allocations: 35.97 kB / 0.7041 GB, free: 2.211 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001157/0.576, allocations: 1.202 MB / 0.7053 GB, free: 0.957 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.913e-06/0.576, allocations: 0 / 0.7053 GB, free: 0.957 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005114/0.5811, allocations: 2.662 MB / 0.7079 GB, free: 14.27 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007664/0.5819, allocations: 223.3 kB / 0.7081 GB, free: 14.05 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001819/0.582, allocations: 16 kB / 0.7081 GB, free: 14.04 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005308/0.5826, allocations: 24.17 kB / 0.7082 GB, free: 14.01 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001658/0.5827, allocations: 84.8 kB / 0.7083 GB, free: 13.93 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001189/0.5829, allocations: 51.98 kB / 0.7083 GB, free: 13.88 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.000807/0.5837, allocations: 0.5303 MB / 0.7088 GB, free: 13.35 MB / 0.5294 GB Notification: Performance of sort global known variables: time 9.1e-08/0.5837, allocations: 0 / 0.7088 GB, free: 13.35 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.003416/0.5871, allocations: 1.284 MB / 0.7101 GB, free: 12.06 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.004111/0.5912, allocations: 1.868 MB / 0.7119 GB, free: 10.2 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.003433/0.5946, allocations: 1.604 MB / 0.7135 GB, free: 8.59 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.208e-06/0.5946, allocations: 0 / 0.7135 GB, free: 8.59 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001392/0.596, allocations: 0.7606 MB / 0.7142 GB, free: 7.82 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002159/0.5982, allocations: 410.6 kB / 0.7146 GB, free: 7.438 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005045/0.6032, allocations: 2.758 MB / 0.7173 GB, free: 4.652 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007352/0.604, allocations: 0.5296 MB / 0.7178 GB, free: 4.09 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.00146/0.6054, allocations: 400.7 kB / 0.7182 GB, free: 3.715 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005596/0.606, allocations: 218.8 kB / 0.7184 GB, free: 3.508 MB / 0.5294 GB Notification: Performance of SimCode: time 1.012e-06/0.606, allocations: 3.938 kB / 0.7184 GB, free: 3.504 MB / 0.5294 GB Notification: Performance of Templates: time 0.309/0.915, allocations: 46.79 MB / 0.7641 GB, free: 110.2 MB / 0.5294 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 -lv LOG_STATS > Physiolibrary_Physiolibrary.Fluid.Examples.AirWaterSaturation.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.2047473676502705] Failed to read output from testmodel.py, exit status != 0: 0.923749715089798 0.935289198 0.43190338599999994 Calling exit ...