Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_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.001354/0.001354, allocations: 96.42 kB / 19.7 MB, free: 2.133 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.001813/0.001813, allocations: 210.4 kB / 22.99 MB, free: 4.957 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.5/1.5, allocations: 230.6 MB / 256.8 MB, free: 7.77 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/package.mo): time 0.1469/0.1469, allocations: 23.89 MB / 337.1 MB, free: 10.96 MB / 270.1 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.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) Running command: translateModel(Chemical.Obsolete.Examples.GasSolubility,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Obsolete.Examples.GasSolubility") translateModel(Chemical.Obsolete.Examples.GasSolubility,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_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.002092/0.002092, allocations: 67.89 kB / 472.3 MB, free: 7.012 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3419/0.344, allocations: 59.87 MB / 0.5197 GB, free: 9.754 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.GasSolubility): time 0.009195/0.3532, allocations: 9.112 MB / 0.5286 GB, free: 3.719 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0408/0.394, allocations: 28.97 MB / 0.5569 GB, free: 15.76 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003797/0.3978, allocations: 31.97 kB / 0.557 GB, free: 15.75 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002753/0.4006, allocations: 0.627 MB / 0.5576 GB, free: 15.27 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01067/0.4113, allocations: 2.616 MB / 0.5601 GB, free: 13.29 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01608/0.4273, allocations: 4.374 MB / 0.5644 GB, free: 9.953 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.005273/0.4326, allocations: 3.015 MB / 0.5674 GB, free: 8.156 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00227/0.4349, allocations: 1.37 MB / 0.5687 GB, free: 7.133 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00251/0.4374, allocations: 1.494 MB / 0.5701 GB, free: 5.984 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003028/0.4404, allocations: 1.627 MB / 0.5717 GB, free: 4.352 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005363/0.441, allocations: 264 kB / 0.572 GB, free: 4.094 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01146/0.4524, allocations: 3.514 MB / 0.5754 GB, free: 0.5742 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001065/0.4535, allocations: 0.6154 MB / 0.576 GB, free: 15.95 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001815/0.4553, allocations: 1.128 MB / 0.5771 GB, free: 14.82 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01767/0.473, allocations: 6.809 MB / 0.5838 GB, free: 7.988 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.473, allocations: 3.938 kB / 0.5838 GB, free: 7.984 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.473, allocations: 0 / 0.5838 GB, free: 7.984 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.463e-05/0.473, allocations: 0 / 0.5838 GB, free: 7.984 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.007127/0.4802, allocations: 3.227 MB / 0.5869 GB, free: 4.703 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.096e-05/0.4802, allocations: 8.031 kB / 0.5869 GB, free: 4.695 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002835/0.483, allocations: 0.5843 MB / 0.5875 GB, free: 4.109 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002435/0.4855, allocations: 1.073 MB / 0.5886 GB, free: 3.008 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001522/0.4856, allocations: 164.6 kB / 0.5887 GB, free: 2.844 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004318/0.4861, allocations: 216.3 kB / 0.5889 GB, free: 2.633 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006291/0.4923, allocations: 2.822 MB / 0.5917 GB, free: 15.73 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.423e-05/0.4924, allocations: 4 kB / 0.5917 GB, free: 15.72 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000237/0.4926, allocations: 84 kB / 0.5918 GB, free: 15.64 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.706e-05/0.4927, allocations: 48 kB / 0.5918 GB, free: 15.59 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00657/0.4992, allocations: 3.792 MB / 0.5955 GB, free: 11.79 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.01525/0.5145, allocations: 6.721 MB / 0.6021 GB, free: 4.941 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006299/0.5208, allocations: 3.261 MB / 0.6053 GB, free: 1.684 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001711/0.5225, allocations: 0.9153 MB / 0.6061 GB, free: 0.7656 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01218/0.5347, allocations: 4.679 MB / 0.6107 GB, free: 12.05 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.475e-05/0.5347, allocations: 47.81 kB / 0.6108 GB, free: 11.99 MB / 462.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007165/0.5354, allocations: 170.8 kB / 0.6109 GB, free: 11.82 MB / 462.1 MB Notification: Performance of pre-optimization done (n=138): time 3.897e-06/0.5354, allocations: 4 kB / 0.6109 GB, free: 11.82 MB / 462.1 MB Notification: Performance of matching and sorting (n=170): time 0.03514/0.5706, allocations: 6.177 MB / 0.617 GB, free: 5.609 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001309/0.5707, allocations: 69.41 kB / 0.617 GB, free: 5.527 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002438/0.5732, allocations: 1.638 MB / 0.6186 GB, free: 3.871 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002852/0.5734, allocations: 53.7 kB / 0.6187 GB, free: 3.812 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009118/0.5744, allocations: 1.081 MB / 0.6197 GB, free: 2.719 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007339/0.5751, allocations: 0.6237 MB / 0.6203 GB, free: 2.09 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008573/0.5759, allocations: 488.8 kB / 0.6208 GB, free: 1.605 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0002263/0.5762, allocations: 301.1 kB / 0.6211 GB, free: 1.309 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001501/0.5777, allocations: 0.8053 MB / 0.6219 GB, free: 0.5 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002502/0.5802, allocations: 1.612 MB / 0.6235 GB, free: 14.52 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003953/0.5841, allocations: 2.421 MB / 0.6258 GB, free: 11.74 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.96e-05/0.5842, allocations: 8 kB / 0.6258 GB, free: 11.73 MB / 478.1 MB Notification: Performance of matching and sorting (n=317) (initialization): time 0.01001/0.5942, allocations: 3.14 MB / 0.6289 GB, free: 8.57 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.115e-05/0.5942, allocations: 16.16 kB / 0.6289 GB, free: 8.555 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.582e-05/0.5942, allocations: 32 kB / 0.6289 GB, free: 8.523 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004679/0.5989, allocations: 482.9 kB / 0.6294 GB, free: 8.039 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002509/0.6014, allocations: 0.5889 MB / 0.63 GB, free: 7.449 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01288/0.6143, allocations: 7.155 MB / 0.637 GB, free: 15.89 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002079/0.6164, allocations: 88.05 kB / 0.637 GB, free: 15.81 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003156/0.6167, allocations: 140 kB / 0.6372 GB, free: 15.67 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.0009318/0.6176, allocations: 417.5 kB / 0.6376 GB, free: 15.25 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004645/0.6181, allocations: 166.9 kB / 0.6377 GB, free: 15.09 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008591/0.6267, allocations: 2.388 MB / 0.6401 GB, free: 12.69 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.227e-05/0.6267, allocations: 16 kB / 0.6401 GB, free: 12.67 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.319e-05/0.6267, allocations: 12 kB / 0.6401 GB, free: 12.66 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.851e-05/0.6268, allocations: 11.95 kB / 0.6401 GB, free: 12.65 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003124/0.6299, allocations: 1.367 MB / 0.6414 GB, free: 11.21 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-05/0.6299, allocations: 4 kB / 0.6414 GB, free: 11.21 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001488/0.6314, allocations: 347.8 kB / 0.6418 GB, free: 10.87 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004437/0.6358, allocations: 458.9 kB / 0.6422 GB, free: 10.41 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002382/0.6361, allocations: 63.97 kB / 0.6423 GB, free: 10.34 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01113/0.6472, allocations: 6.961 MB / 0.6491 GB, free: 2.98 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.769e-06/0.6472, allocations: 4 kB / 0.6491 GB, free: 2.977 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009466/0.6567, allocations: 2.996 MB / 0.652 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006255/0.6573, allocations: 154.8 kB / 0.6522 GB, free: 15.78 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000281/0.6576, allocations: 39.98 kB / 0.6522 GB, free: 15.74 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000975/0.6586, allocations: 40 kB / 0.6522 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003359/0.6589, allocations: 153.9 kB / 0.6524 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001614/0.6591, allocations: 67.97 kB / 0.6524 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001414/0.6605, allocations: 1.083 MB / 0.6535 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of sort global known variables: time 9.1e-08/0.6605, allocations: 0 / 0.6535 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.004266/0.6647, allocations: 1.387 MB / 0.6549 GB, free: 13 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.00327/0.668, allocations: 1.538 MB / 0.6564 GB, free: 11.45 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.004775/0.6728, allocations: 2.395 MB / 0.6587 GB, free: 9.012 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 7.624e-06/0.6728, allocations: 0 / 0.6587 GB, free: 9.012 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.003918/0.6767, allocations: 1.269 MB / 0.6599 GB, free: 7.691 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003432/0.6801, allocations: 357.8 kB / 0.6603 GB, free: 7.352 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0108/0.6909, allocations: 3.63 MB / 0.6638 GB, free: 3.66 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001619/0.6926, allocations: 0.806 MB / 0.6646 GB, free: 2.816 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.002819/0.6954, allocations: 440.7 kB / 0.665 GB, free: 2.387 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001071/0.6964, allocations: 282.8 kB / 0.6653 GB, free: 2.109 MB / 0.4981 GB Notification: Performance of SimCode: time 1.052e-06/0.6964, allocations: 4 kB / 0.6653 GB, free: 2.105 MB / 0.4981 GB Notification: Performance of Templates: time 0.09574/0.7922, allocations: 50.25 MB / 0.7144 GB, free: 168 kB / 0.545 GB " [Timeout remaining time 659] make -j1 -f Chemical_Chemical.Obsolete.Examples.GasSolubility.makefile [Timeout 660] (rm -f Chemical_Chemical.Obsolete.Examples.GasSolubility.pipe ; mkfifo Chemical_Chemical.Obsolete.Examples.GasSolubility.pipe ; head -c 1048576 < Chemical_Chemical.Obsolete.Examples.GasSolubility.pipe >> ../files/Chemical_Chemical.Obsolete.Examples.GasSolubility.sim & ./Chemical_Chemical.Obsolete.Examples.GasSolubility -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.GasSolubility.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.187354009991395] Failed to read output from testmodel.py, exit status != 0: 0.8027339289983502 0.816602044 0.34029919200000003 Calling exit ...