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.001845/0.001845, allocations: 82.48 kB / 19.18 MB, free: 2.527 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.00159/0.00159, allocations: 169 kB / 22.46 MB, free: 5.359 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.436/1.436, allocations: 177.1 MB / 202.8 MB, free: 9.188 MB / 190.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.1309/0.1309, allocations: 17.45 MB / 276.6 MB, free: 15.23 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: Performance of FrontEnd - loaded program: time 2.124e-06/2.124e-06, allocations: 0 / 412.1 MB, free: 4.316 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.931e-05/3.143e-05, allocations: 2.281 kB / 412.1 MB, free: 4.312 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.GasSolubility): time 0.01194/0.01197, allocations: 9.076 MB / 421.2 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.2073/0.2193, allocations: 28.95 MB / 450.1 MB, free: 15.26 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001296/0.2206, allocations: 33.38 kB / 450.1 MB, free: 15.26 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001639/0.2222, allocations: 0.6335 MB / 450.8 MB, free: 15.26 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006609/0.2288, allocations: 2.711 MB / 453.5 MB, free: 14.84 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01015/0.239, allocations: 4.497 MB / 458 MB, free: 13.9 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.004263/0.2432, allocations: 3.119 MB / 461.1 MB, free: 13.12 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001833/0.245, allocations: 1.363 MB / 462.5 MB, free: 12.98 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002408/0.2475, allocations: 2.052 MB / 464.5 MB, free: 12.88 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001805/0.2493, allocations: 1.303 MB / 465.8 MB, free: 12.64 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004136/0.2497, allocations: 264.1 kB / 466.1 MB, free: 12.64 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009699/0.2594, allocations: 3.466 MB / 469.5 MB, free: 12.05 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007376/0.2601, allocations: 0.6135 MB / 470.2 MB, free: 11.71 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001689/0.2618, allocations: 0.9728 MB / 471.1 MB, free: 11.35 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01366/0.2755, allocations: 7.246 MB / 478.4 MB, free: 8.008 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.773e-06/0.2755, allocations: 0 / 478.4 MB, free: 8.008 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.2755, allocations: 2.219 kB / 478.4 MB, free: 8.008 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.83e-05/0.2755, allocations: 4 kB / 478.4 MB, free: 8.004 MB / 366.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.005537/0.2811, allocations: 3.204 MB / 481.6 MB, free: 5.836 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.016e-05/0.2811, allocations: 10.84 kB / 481.6 MB, free: 5.836 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002483/0.2836, allocations: 0.5845 MB / 482.2 MB, free: 5.559 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001688/0.2853, allocations: 1.076 MB / 483.3 MB, free: 4.816 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.202e-05/0.2854, allocations: 160.4 kB / 483.4 MB, free: 4.742 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003192/0.2857, allocations: 215.1 kB / 483.6 MB, free: 4.668 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003634/0.2893, allocations: 2.815 MB / 486.4 MB, free: 2.52 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.747e-05/0.2894, allocations: 192 / 486.4 MB, free: 2.52 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002057/0.2896, allocations: 89.64 kB / 486.5 MB, free: 2.434 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.887e-05/0.2896, allocations: 51.94 kB / 486.6 MB, free: 2.383 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005152/0.2947, allocations: 3.794 MB / 490.4 MB, free: 14.58 MB / 382.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.01372/0.3085, allocations: 6.723 MB / 497.1 MB, free: 7.934 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006372/0.3148, allocations: 3.249 MB / 0.4886 GB, free: 4.707 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001782/0.3166, allocations: 0.918 MB / 0.4895 GB, free: 3.789 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01187/0.3285, allocations: 4.681 MB / 0.4941 GB, free: 15.17 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.954e-05/0.3285, allocations: 46.69 kB / 0.4941 GB, free: 15.12 MB / 398.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006986/0.3292, allocations: 170.8 kB / 0.4943 GB, free: 14.95 MB / 398.1 MB Notification: Performance of pre-optimization done (n=138): time 3.797e-06/0.3292, allocations: 4 kB / 0.4943 GB, free: 14.95 MB / 398.1 MB Notification: Performance of matching and sorting (n=170): time 0.03126/0.3605, allocations: 6.181 MB / 0.5003 GB, free: 8.766 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.736e-05/0.3606, allocations: 69.41 kB / 0.5004 GB, free: 8.688 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002241/0.3628, allocations: 1.634 MB / 0.502 GB, free: 7.035 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001966/0.363, allocations: 53.7 kB / 0.502 GB, free: 6.977 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008305/0.3638, allocations: 1.076 MB / 0.5031 GB, free: 5.898 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006043/0.3644, allocations: 0.6161 MB / 0.5037 GB, free: 5.289 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007469/0.3652, allocations: 481.4 kB / 0.5042 GB, free: 4.816 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001311/0.3653, allocations: 301.1 kB / 0.5044 GB, free: 4.52 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001501/0.3668, allocations: 0.8014 MB / 0.5052 GB, free: 3.715 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002236/0.369, allocations: 1.605 MB / 0.5068 GB, free: 1.754 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003815/0.3729, allocations: 2.431 MB / 0.5092 GB, free: 15.07 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.421e-05/0.3729, allocations: 8 kB / 0.5092 GB, free: 15.06 MB / 414.1 MB Notification: Performance of matching and sorting (n=317) (initialization): time 0.009071/0.3819, allocations: 3.138 MB / 0.5122 GB, free: 12.07 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.61e-05/0.382, allocations: 16 kB / 0.5123 GB, free: 12.05 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.076e-05/0.382, allocations: 28 kB / 0.5123 GB, free: 12.02 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004045/0.3861, allocations: 494.2 kB / 0.5128 GB, free: 11.53 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002128/0.3882, allocations: 0.5876 MB / 0.5133 GB, free: 10.98 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01184/0.4, allocations: 7.155 MB / 0.5203 GB, free: 3.48 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001807/0.4018, allocations: 80 kB / 0.5204 GB, free: 3.402 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002451/0.4021, allocations: 140 kB / 0.5205 GB, free: 3.266 MB / 414.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.0009536/0.403, allocations: 423.6 kB / 0.5209 GB, free: 2.883 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004135/0.4034, allocations: 162.9 kB / 0.5211 GB, free: 2.723 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008308/0.4118, allocations: 2.39 MB / 0.5234 GB, free: 336 kB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.597e-05/0.4118, allocations: 16 kB / 0.5234 GB, free: 320 kB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.444e-06/0.4118, allocations: 4 kB / 0.5234 GB, free: 316 kB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.28e-05/0.4118, allocations: 15.89 kB / 0.5235 GB, free: 300 kB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00246/0.4143, allocations: 1.379 MB / 0.5248 GB, free: 14.91 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.005e-06/0.4143, allocations: 4 kB / 0.5248 GB, free: 14.91 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001396/0.4157, allocations: 341.4 kB / 0.5251 GB, free: 14.59 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003993/0.4197, allocations: 457.9 kB / 0.5256 GB, free: 14.13 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001465/0.4198, allocations: 63.97 kB / 0.5256 GB, free: 14.07 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01071/0.4305, allocations: 6.957 MB / 0.5324 GB, free: 6.75 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.449e-06/0.4305, allocations: 4 kB / 0.5324 GB, free: 6.746 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008745/0.4393, allocations: 2.988 MB / 0.5353 GB, free: 3.715 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000429/0.4397, allocations: 152.2 kB / 0.5355 GB, free: 3.566 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002422/0.4399, allocations: 43.98 kB / 0.5355 GB, free: 3.523 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009253/0.4409, allocations: 36 kB / 0.5356 GB, free: 3.488 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003388/0.4412, allocations: 160.5 kB / 0.5357 GB, free: 3.336 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001465/0.4413, allocations: 75.97 kB / 0.5358 GB, free: 3.262 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001416/0.4428, allocations: 1.076 MB / 0.5368 GB, free: 2.184 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4428, allocations: 0 / 0.5368 GB, free: 2.184 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.003953/0.4467, allocations: 1.379 MB / 0.5382 GB, free: 0.8008 MB / 430.1 MB 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.002778/0.4495, allocations: 1.599 MB / 0.5398 GB, free: 15.39 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004163/0.4537, allocations: 2.399 MB / 0.5421 GB, free: 13.04 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.4537, allocations: 0 / 0.5421 GB, free: 13.04 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002033/0.4557, allocations: 1.271 MB / 0.5433 GB, free: 11.76 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001585/0.4573, allocations: 355.8 kB / 0.5437 GB, free: 11.41 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00586/0.4631, allocations: 3.502 MB / 0.5471 GB, free: 7.875 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008944/0.464, allocations: 0.806 MB / 0.5479 GB, free: 7.027 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001445/0.4655, allocations: 424.4 kB / 0.5483 GB, free: 6.613 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006787/0.4662, allocations: 291.8 kB / 0.5486 GB, free: 6.328 MB / 446.1 MB Notification: Performance of SimCode: time 6.51e-07/0.4662, allocations: 0 / 0.5486 GB, free: 6.328 MB / 446.1 MB Notification: Performance of Templates: time 0.07748/0.5436, allocations: 46.73 MB / 0.5942 GB, free: 7.934 MB / 494.1 MB " [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 -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.GasSolubility.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.786508079618216] Failed to read output from testmodel.py, exit status != 0: 0.5527369864284992 0.5671482680000001 0.28837042 Calling exit ...