Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_Chemical.Obsolete.Examples.GasSolubility_blood.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.001629/0.001629, allocations: 112.4 kB / 17.13 MB, free: 6.008 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.001723/0.001723, allocations: 211.2 kB / 20.1 MB, free: 3.055 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.538/1.538, allocations: 230.6 MB / 253.5 MB, free: 15.1 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.1504/0.1504, allocations: 23.86 MB / 333.4 MB, free: 1.203 MB / 254.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_blood,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Obsolete.Examples.GasSolubility_blood") translateModel(Chemical.Obsolete.Examples.GasSolubility_blood,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Obsolete.Examples.GasSolubility_blood") [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.002841/0.002841, allocations: 71.89 kB / 467.1 MB, free: 30.54 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1133/0.1161, allocations: 59.83 MB / 0.5146 GB, free: 12.47 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.GasSolubility_blood): time 0.009862/0.126, allocations: 7.025 MB / 0.5215 GB, free: 5.406 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02874/0.1547, allocations: 21.88 MB / 0.5429 GB, free: 15.44 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001337/0.1561, allocations: 23.81 kB / 0.5429 GB, free: 15.41 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001409/0.1575, allocations: 452.7 kB / 0.5433 GB, free: 14.97 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005163/0.1626, allocations: 1.657 MB / 0.5449 GB, free: 13.3 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008118/0.1707, allocations: 2.827 MB / 0.5477 GB, free: 10.46 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003122/0.1739, allocations: 1.83 MB / 0.5495 GB, free: 8.617 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00115/0.175, allocations: 0.7615 MB / 0.5502 GB, free: 7.836 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00113/0.1761, allocations: 0.865 MB / 0.5511 GB, free: 6.969 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001309/0.1775, allocations: 0.9616 MB / 0.552 GB, free: 6.004 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002259/0.1777, allocations: 155.9 kB / 0.5522 GB, free: 5.852 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007356/0.185, allocations: 2.332 MB / 0.5544 GB, free: 3.516 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005526/0.1856, allocations: 374.8 kB / 0.5548 GB, free: 3.148 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001061/0.1866, allocations: 0.7895 MB / 0.5556 GB, free: 2.355 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01053/0.1972, allocations: 4.257 MB / 0.5597 GB, free: 14.08 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.643e-06/0.1972, allocations: 3.938 kB / 0.5597 GB, free: 14.08 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.1972, allocations: 0 / 0.5597 GB, free: 14.08 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.522e-05/0.1972, allocations: 0 / 0.5597 GB, free: 14.08 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: 314 * Number of variables: 314 Notification: Performance of Generate backend data structure: time 0.004256/0.2015, allocations: 2.132 MB / 0.5618 GB, free: 11.89 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.291e-05/0.2015, allocations: 8.031 kB / 0.5618 GB, free: 11.88 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001773/0.2033, allocations: 395.3 kB / 0.5622 GB, free: 11.49 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001317/0.2046, allocations: 0.7568 MB / 0.5629 GB, free: 10.69 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.3e-05/0.2047, allocations: 94.78 kB / 0.563 GB, free: 10.6 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002315/0.2049, allocations: 128.3 kB / 0.5631 GB, free: 10.47 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002992/0.2079, allocations: 1.756 MB / 0.5649 GB, free: 8.676 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.522e-05/0.2079, allocations: 8 kB / 0.5649 GB, free: 8.668 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001469/0.2081, allocations: 48 kB / 0.5649 GB, free: 8.621 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.129e-05/0.2081, allocations: 32 kB / 0.5649 GB, free: 8.59 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004007/0.2121, allocations: 2.481 MB / 0.5674 GB, free: 6.102 MB / 430.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.009239/0.2214, allocations: 5.12 MB / 0.5724 GB, free: 0.7852 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003866/0.2252, allocations: 2.175 MB / 0.5745 GB, free: 14.53 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009047/0.2261, allocations: 0.4912 MB / 0.575 GB, free: 14.04 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008127/0.2343, allocations: 5.328 MB / 0.5802 GB, free: 8.082 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.819e-05/0.2343, allocations: 39.22 kB / 0.5802 GB, free: 8.035 MB / 446.1 MB Notification: Performance of pre-optimization done (n=72): time 2.905e-06/0.2343, allocations: 0 / 0.5802 GB, free: 8.035 MB / 446.1 MB Notification: Performance of matching and sorting (n=89): time 0.01528/0.2496, allocations: 3.384 MB / 0.5835 GB, free: 4.586 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.544e-05/0.2496, allocations: 60.41 kB / 0.5836 GB, free: 4.512 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001777/0.2514, allocations: 1.296 MB / 0.5848 GB, free: 3.191 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 9.076e-05/0.2515, allocations: 41.7 kB / 0.5849 GB, free: 3.145 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005637/0.2521, allocations: 0.7061 MB / 0.5856 GB, free: 2.43 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003372/0.2524, allocations: 341.2 kB / 0.5859 GB, free: 2.094 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004598/0.2529, allocations: 291.3 kB / 0.5862 GB, free: 1.801 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001873/0.2531, allocations: 357.9 kB / 0.5865 GB, free: 1.445 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008787/0.2539, allocations: 0.5154 MB / 0.587 GB, free: 0.9297 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.244/0.498, allocations: 0.9934 MB / 0.588 GB, free: 66.53 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002178/0.5001, allocations: 1.433 MB / 0.5894 GB, free: 65.93 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.334e-05/0.5002, allocations: 4.688 kB / 0.5894 GB, free: 65.93 MB / 446.1 MB Notification: Performance of matching and sorting (n=185) (initialization): time 0.005143/0.5053, allocations: 1.905 MB / 0.5912 GB, free: 65.37 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.937e-05/0.5053, allocations: 12.47 kB / 0.5913 GB, free: 65.37 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.046e-05/0.5054, allocations: 18.75 kB / 0.5913 GB, free: 65.37 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00207/0.5075, allocations: 244.3 kB / 0.5915 GB, free: 65.32 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001269/0.5087, allocations: 356.1 kB / 0.5918 GB, free: 65.29 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005189/0.5139, allocations: 3.868 MB / 0.5956 GB, free: 61.87 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001206/0.5151, allocations: 48.25 kB / 0.5957 GB, free: 61.84 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001597/0.5153, allocations: 81.53 kB / 0.5957 GB, free: 61.83 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 71 * 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 (179): * Single equations (assignments): 177 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0004897/0.5158, allocations: 290.8 kB / 0.596 GB, free: 61.61 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002451/0.516, allocations: 112.2 kB / 0.5961 GB, free: 61.61 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004068/0.5201, allocations: 1.248 MB / 0.5974 GB, free: 61.14 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.294e-05/0.5201, allocations: 9.156 kB / 0.5974 GB, free: 61.14 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.674e-06/0.5201, allocations: 6.969 kB / 0.5974 GB, free: 61.14 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.133e-05/0.5201, allocations: 6.375 kB / 0.5974 GB, free: 61.14 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001544/0.5217, allocations: 1.104 MB / 0.5985 GB, free: 60.56 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.022e-06/0.5217, allocations: 1.125 kB / 0.5985 GB, free: 60.56 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007084/0.5224, allocations: 177.1 kB / 0.5986 GB, free: 60.54 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001956/0.5243, allocations: 231.1 kB / 0.5988 GB, free: 60.5 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.586e-05/0.5244, allocations: 34.23 kB / 0.5989 GB, free: 60.48 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004485/0.5289, allocations: 3.769 MB / 0.6026 GB, free: 57.08 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.579e-06/0.5289, allocations: 9.156 kB / 0.6026 GB, free: 57.08 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004372/0.5333, allocations: 1.592 MB / 0.6041 GB, free: 56.38 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003466/0.5336, allocations: 179.9 kB / 0.6043 GB, free: 56.22 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001424/0.5338, allocations: 18.14 kB / 0.6043 GB, free: 56.21 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005579/0.5343, allocations: 24.69 kB / 0.6043 GB, free: 56.2 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002111/0.5345, allocations: 82.97 kB / 0.6044 GB, free: 56.18 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.314e-05/0.5346, allocations: 39.64 kB / 0.6044 GB, free: 56.17 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001162/0.5358, allocations: 0.9113 MB / 0.6053 GB, free: 55.75 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.5358, allocations: 0 / 0.6053 GB, free: 55.75 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002831/0.5386, allocations: 0.8508 MB / 0.6062 GB, free: 55.68 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 5 (blood_plasma.temperature,CO2_unbound_plasma.logn,O2_unbound_plasma.logn,water.logn,others.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 (93): * Single equations (assignments): 91 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00222/0.5408, allocations: 1.038 MB / 0.6072 GB, free: 55.51 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002757/0.5436, allocations: 1.357 MB / 0.6085 GB, free: 54.88 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.5436, allocations: 0 / 0.6085 GB, free: 54.88 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001067/0.5447, allocations: 0.6397 MB / 0.6091 GB, free: 54.52 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001283/0.5459, allocations: 224.8 kB / 0.6093 GB, free: 54.43 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003557/0.5495, allocations: 2.171 MB / 0.6115 GB, free: 53.25 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005654/0.5501, allocations: 1.082 MB / 0.6125 GB, free: 52.52 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006037/0.5507, allocations: 219.5 kB / 0.6127 GB, free: 52.49 MB / 446.1 MB Notification: Performance of SimCode: time 1.352e-06/0.5507, allocations: 0 / 0.6127 GB, free: 52.49 MB / 446.1 MB Notification: Performance of Templates: time 0.03276/0.5834, allocations: 31.82 MB / 0.6438 GB, free: 27.05 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Chemical_Chemical.Obsolete.Examples.GasSolubility_blood.makefile [Timeout 660] (rm -f Chemical_Chemical.Obsolete.Examples.GasSolubility_blood.pipe ; mkfifo Chemical_Chemical.Obsolete.Examples.GasSolubility_blood.pipe ; head -c 1048576 < Chemical_Chemical.Obsolete.Examples.GasSolubility_blood.pipe >> ../files/Chemical_Chemical.Obsolete.Examples.GasSolubility_blood.sim & ./Chemical_Chemical.Obsolete.Examples.GasSolubility_blood -abortSlowSimulation -alarm=480 -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.GasSolubility_blood.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 10.353178571996978] Failed to read output from testmodel.py, exit status != 0: 0.5926445249933749 0.59975831 0.400225999 Calling exit ...