Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_Chemical.Obsolete.Examples.GasSolubility.conf.json 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.001321/0.001321, allocations: 104.3 kB / 19.7 MB, free: 2.129 MB / 14.72 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.001459/0.001459, allocations: 214.9 kB / 22.99 MB, free: 4.938 MB / 14.72 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.384/1.384, allocations: 230.6 MB / 256.8 MB, free: 7.812 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/package.mo): time 0.1263/0.1263, allocations: 23.92 MB / 337.1 MB, free: 10.94 MB / 270.1 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/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) Running command: translateModel(Chemical.Obsolete.Examples.GasSolubility,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Obsolete.Examples.GasSolubility") translateModel(Chemical.Obsolete.Examples.GasSolubility,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Obsolete.Examples.GasSolubility") [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: Performance of FrontEnd - loaded program: time 0.001943/0.001943, allocations: 67.89 kB / 472.4 MB, free: 6.965 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2793/0.2812, allocations: 59.87 MB / 0.5198 GB, free: 9.824 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.GasSolubility): time 0.008576/0.2898, allocations: 9.111 MB / 0.5287 GB, free: 3.793 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03498/0.3248, allocations: 28.97 MB / 0.557 GB, free: 15.84 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001798/0.3266, allocations: 35.16 kB / 0.557 GB, free: 15.82 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001797/0.3284, allocations: 0.6277 MB / 0.5577 GB, free: 15.34 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007231/0.3356, allocations: 2.619 MB / 0.5602 GB, free: 13.36 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01195/0.3475, allocations: 4.37 MB / 0.5645 GB, free: 10.03 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.004026/0.3516, allocations: 3.021 MB / 0.5674 GB, free: 8.227 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001681/0.3532, allocations: 1.362 MB / 0.5688 GB, free: 7.211 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001809/0.3551, allocations: 1.487 MB / 0.5702 GB, free: 5.902 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002106/0.3572, allocations: 1.643 MB / 0.5718 GB, free: 4.254 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003966/0.3576, allocations: 268 kB / 0.5721 GB, free: 3.992 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009677/0.3672, allocations: 3.518 MB / 0.5755 GB, free: 480 kB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005977/0.3678, allocations: 0.5959 MB / 0.5761 GB, free: 15.87 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001284/0.3691, allocations: 1.128 MB / 0.5772 GB, free: 14.74 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01278/0.3819, allocations: 6.817 MB / 0.5839 GB, free: 7.895 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.87e-06/0.3819, allocations: 0 / 0.5839 GB, free: 7.895 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.3819, allocations: 0 / 0.5839 GB, free: 7.895 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.158e-05/0.3819, allocations: 0 / 0.5839 GB, free: 7.895 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 539 * Number of variables: 539 Notification: Performance of Generate backend data structure: time 0.00592/0.3879, allocations: 3.219 MB / 0.587 GB, free: 4.621 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.331e-05/0.3879, allocations: 8.031 kB / 0.587 GB, free: 4.613 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002512/0.3904, allocations: 0.588 MB / 0.5876 GB, free: 4.023 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002043/0.3924, allocations: 1.077 MB / 0.5886 GB, free: 2.918 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001361/0.3926, allocations: 168.6 kB / 0.5888 GB, free: 2.75 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003921/0.393, allocations: 224.3 kB / 0.589 GB, free: 2.531 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004492/0.3975, allocations: 2.814 MB / 0.5918 GB, free: 15.63 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.079e-05/0.3975, allocations: 0 / 0.5918 GB, free: 15.63 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002185/0.3977, allocations: 84 kB / 0.5918 GB, free: 15.55 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.398e-05/0.3978, allocations: 52 kB / 0.5919 GB, free: 15.5 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005654/0.4034, allocations: 3.792 MB / 0.5956 GB, free: 11.69 MB / 446.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.01265/0.4161, allocations: 6.714 MB / 0.6021 GB, free: 4.855 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005757/0.4218, allocations: 3.264 MB / 0.6053 GB, free: 1.594 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001432/0.4233, allocations: 0.9153 MB / 0.6062 GB, free: 0.6758 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01074/0.434, allocations: 4.684 MB / 0.6108 GB, free: 11.96 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.844e-05/0.434, allocations: 47.88 kB / 0.6108 GB, free: 11.9 MB / 462.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005656/0.4346, allocations: 166.8 kB / 0.611 GB, free: 11.73 MB / 462.1 MB Notification: Performance of pre-optimization done (n=138): time 3.196e-06/0.4346, allocations: 0 / 0.611 GB, free: 11.73 MB / 462.1 MB Notification: Performance of matching and sorting (n=170): time 0.03164/0.4663, allocations: 6.177 MB / 0.617 GB, free: 5.527 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.937e-05/0.4663, allocations: 73.41 kB / 0.6171 GB, free: 5.441 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001914/0.4682, allocations: 1.634 MB / 0.6187 GB, free: 3.789 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001176/0.4683, allocations: 61.7 kB / 0.6188 GB, free: 3.723 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007872/0.4691, allocations: 1.089 MB / 0.6198 GB, free: 2.621 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005216/0.4697, allocations: 0.6159 MB / 0.6204 GB, free: 2 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006875/0.4703, allocations: 480.8 kB / 0.6209 GB, free: 1.523 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001189/0.4705, allocations: 301.1 kB / 0.6212 GB, free: 1.227 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001327/0.4718, allocations: 0.8014 MB / 0.622 GB, free: 432 kB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002059/0.4738, allocations: 1.608 MB / 0.6235 GB, free: 14.45 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003381/0.4772, allocations: 2.424 MB / 0.6259 GB, free: 11.66 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.404e-05/0.4772, allocations: 8 kB / 0.6259 GB, free: 11.65 MB / 478.1 MB Notification: Performance of matching and sorting (n=317) (initialization): time 0.008926/0.4862, allocations: 3.148 MB / 0.629 GB, free: 8.484 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.523e-05/0.4862, allocations: 19.94 kB / 0.629 GB, free: 8.465 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.286e-05/0.4862, allocations: 32 kB / 0.629 GB, free: 8.434 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004431/0.4907, allocations: 490.9 kB / 0.6295 GB, free: 7.945 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002223/0.4929, allocations: 0.5889 MB / 0.6301 GB, free: 7.355 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01151/0.5044, allocations: 7.162 MB / 0.6371 GB, free: 15.79 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001789/0.5062, allocations: 80 kB / 0.6371 GB, free: 15.71 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002609/0.5065, allocations: 144 kB / 0.6373 GB, free: 15.57 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 117 * 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 (305): * Single equations (assignments): 301 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,3), (1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0008069/0.5073, allocations: 409.5 kB / 0.6377 GB, free: 15.16 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003785/0.5076, allocations: 170.9 kB / 0.6378 GB, free: 15 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008258/0.5159, allocations: 2.392 MB / 0.6402 GB, free: 12.59 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.062e-05/0.5159, allocations: 19.98 kB / 0.6402 GB, free: 12.57 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.061e-05/0.5159, allocations: 7.938 kB / 0.6402 GB, free: 12.56 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.676e-05/0.516, allocations: 7.969 kB / 0.6402 GB, free: 12.55 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002513/0.5185, allocations: 1.367 MB / 0.6415 GB, free: 11.12 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.176e-06/0.5185, allocations: 4 kB / 0.6415 GB, free: 11.11 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00139/0.5199, allocations: 347.8 kB / 0.6419 GB, free: 10.77 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004237/0.5241, allocations: 458.9 kB / 0.6423 GB, free: 10.31 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000201/0.5243, allocations: 63.97 kB / 0.6424 GB, free: 10.25 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0105/0.5348, allocations: 6.964 MB / 0.6492 GB, free: 2.883 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.16e-06/0.5348, allocations: 4 kB / 0.6492 GB, free: 2.879 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009126/0.5439, allocations: 2.992 MB / 0.6521 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004955/0.5444, allocations: 162.8 kB / 0.6522 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002867/0.5447, allocations: 36 kB / 0.6523 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009874/0.5457, allocations: 40 kB / 0.6523 GB, free: 15.6 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003236/0.546, allocations: 149.7 kB / 0.6525 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001524/0.5462, allocations: 75.97 kB / 0.6525 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.00133/0.5475, allocations: 1.087 MB / 0.6536 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of sort global known variables: time 9.1e-08/0.5475, allocations: 0 / 0.6536 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.004042/0.5516, allocations: 1.371 MB / 0.6549 GB, free: 12.91 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 9 (blood_plasma.temperature,red_cells.temperature,CO2_unbound_plasma.logn,O2_unbound_plasma.logn,CO2_unbound_erythrocyte.logn,O2_unbound_erythrocyte_NIST.logn,water_plasma.logn,water.logn,water_plasma1.logn) * 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 (183): * Single equations (assignments): 179 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,3), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003015/0.5546, allocations: 1.542 MB / 0.6564 GB, free: 11.36 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.004308/0.5589, allocations: 2.392 MB / 0.6588 GB, free: 8.922 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/0.5589, allocations: 4.062 kB / 0.6588 GB, free: 8.918 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.002051/0.5609, allocations: 1.271 MB / 0.66 GB, free: 7.594 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001752/0.5627, allocations: 355.2 kB / 0.6604 GB, free: 7.254 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005868/0.5686, allocations: 3.634 MB / 0.6639 GB, free: 3.562 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008577/0.5694, allocations: 0.806 MB / 0.6647 GB, free: 2.719 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001511/0.5709, allocations: 428.9 kB / 0.6651 GB, free: 2.301 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000639/0.5716, allocations: 290.7 kB / 0.6654 GB, free: 2.016 MB / 0.4981 GB Notification: Performance of SimCode: time 8.62e-07/0.5716, allocations: 0 / 0.6654 GB, free: 2.016 MB / 0.4981 GB Notification: Performance of Templates: time 0.07522/0.6468, allocations: 50.26 MB / 0.7145 GB, free: 72 kB / 0.545 GB " [Timeout remaining time 659] make -j1 -f Chemical_master_Chemical.Obsolete.Examples.GasSolubility.makefile [Timeout 660] (rm -f Chemical_master_Chemical.Obsolete.Examples.GasSolubility.pipe ; mkfifo Chemical_master_Chemical.Obsolete.Examples.GasSolubility.pipe ; head -c 1048576 < Chemical_master_Chemical.Obsolete.Examples.GasSolubility.pipe >> ../files/Chemical_master_Chemical.Obsolete.Examples.GasSolubility.sim & ./Chemical_master_Chemical.Obsolete.Examples.GasSolubility -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.GasSolubility.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.6154248240054585] Failed to read output from testmodel.py, exit status != 0: 0.6557160849915817 0.669457693 0.284498122 Calling exit ...