Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_Chemical.Examples.GasSolubility.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo", uses=false) Using package Chemical with version 1.4.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Chemical.Examples.GasSolubility,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.GasSolubility") translateModel(Chemical.Examples.GasSolubility,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.GasSolubility") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001091/0.001091, allocations: 113.4 kB / 16.37 MB, free: 5.996 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001087/0.001087, allocations: 192.6 kB / 17.31 MB, free: 5.609 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.336/1.336, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo): time 0.08467/0.08467, allocations: 15.3 MB / 306.5 MB, free: 15.45 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001259/0.001259, allocations: 64.73 kB / 371.7 MB, free: 50.72 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08521/0.08649, allocations: 53.62 MB / 425.4 MB, free: 13.33 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Chemical.Examples.GasSolubility): time 0.008455/0.09497, allocations: 10.29 MB / 435.7 MB, free: 2.996 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.03838/0.1334, allocations: 32.89 MB / 468.5 MB, free: 1.969 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001703/0.1351, allocations: 23.88 kB / 468.6 MB, free: 1.945 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00209/0.1372, allocations: 0.7018 MB / 469.3 MB, free: 1.238 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007372/0.1447, allocations: 2.607 MB / 471.9 MB, free: 14.61 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01015/0.1549, allocations: 4.29 MB / 476.2 MB, free: 10.3 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003976/0.1589, allocations: 3.011 MB / 479.2 MB, free: 7.277 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002263/0.1611, allocations: 1.655 MB / 480.8 MB, free: 5.574 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002086/0.1632, allocations: 1.45 MB / 482.3 MB, free: 4.121 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002434/0.1657, allocations: 1.616 MB / 483.9 MB, free: 2.5 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004918/0.1662, allocations: 264 kB / 484.2 MB, free: 2.242 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01017/0.1764, allocations: 3.616 MB / 487.8 MB, free: 14.62 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008324/0.1773, allocations: 0.5998 MB / 488.4 MB, free: 14.02 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001586/0.1788, allocations: 1.33 MB / 489.7 MB, free: 12.68 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01468/0.1935, allocations: 6.598 MB / 496.3 MB, free: 6.062 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.055e-06/0.1936, allocations: 4 kB / 496.3 MB, free: 6.059 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.1936, allocations: 0 / 496.3 MB, free: 6.059 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.123e-05/0.1936, allocations: 0 / 496.3 MB, free: 6.059 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.006135/0.1998, allocations: 3.236 MB / 499.5 MB, free: 2.758 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.703e-05/0.1998, allocations: 12.03 kB / 499.6 MB, free: 2.746 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002494/0.2023, allocations: 0.5711 MB / 0.4884 GB, free: 2.172 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002129/0.2045, allocations: 1.126 MB / 0.4895 GB, free: 1.004 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000153/0.2046, allocations: 160.6 kB / 0.4897 GB, free: 0.8438 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003675/0.205, allocations: 216.3 kB / 0.4899 GB, free: 0.6328 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004335/0.2094, allocations: 2.794 MB / 0.4926 GB, free: 13.75 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.821e-05/0.2094, allocations: 0 / 0.4926 GB, free: 13.75 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001988/0.2096, allocations: 88 kB / 0.4927 GB, free: 13.67 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.969e-05/0.2097, allocations: 52 kB / 0.4927 GB, free: 13.62 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005603/0.2153, allocations: 3.78 MB / 0.4964 GB, free: 9.82 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.01342/0.2287, allocations: 8.322 MB / 0.5045 GB, free: 1.176 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.1767/0.4055, allocations: 3.945 MB / 0.5084 GB, free: 76.86 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001843/0.4074, allocations: 1.021 MB / 0.5094 GB, free: 76.83 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01277/0.4201, allocations: 9.219 MB / 0.5184 GB, free: 70.44 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.481e-05/0.4202, allocations: 47.84 kB / 0.5184 GB, free: 70.39 MB / 382.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007322/0.421, allocations: 161.8 kB / 0.5186 GB, free: 70.33 MB / 382.1 MB Notification: Performance of pre-optimization done (n=138): time 4.218e-06/0.421, allocations: 1.781 kB / 0.5186 GB, free: 70.33 MB / 382.1 MB Notification: Performance of matching and sorting (n=170): time 0.02974/0.4507, allocations: 6.402 MB / 0.5249 GB, free: 67.96 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.354e-05/0.4508, allocations: 69.22 kB / 0.5249 GB, free: 67.89 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001652/0.4525, allocations: 1.665 MB / 0.5265 GB, free: 67.19 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001294/0.4526, allocations: 49.67 kB / 0.5266 GB, free: 67.14 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004142/0.453, allocations: 1.042 MB / 0.5276 GB, free: 66.32 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000321/0.4534, allocations: 0.5905 MB / 0.5282 GB, free: 65.86 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005381/0.4539, allocations: 478.1 kB / 0.5286 GB, free: 65.64 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 3.449e-05/0.4539, allocations: 308.3 kB / 0.5289 GB, free: 65.34 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001072/0.455, allocations: 0.8004 MB / 0.5297 GB, free: 65.04 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001379/0.4564, allocations: 1.591 MB / 0.5313 GB, free: 63.68 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002534/0.459, allocations: 2.417 MB / 0.5336 GB, free: 61.83 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.401e-05/0.459, allocations: 8.062 kB / 0.5336 GB, free: 61.83 MB / 382.1 MB Notification: Performance of matching and sorting (n=317) (initialization): time 0.007634/0.4666, allocations: 3.128 MB / 0.5367 GB, free: 60.25 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.42e-05/0.4667, allocations: 14.91 kB / 0.5367 GB, free: 60.25 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.436e-05/0.4667, allocations: 25.59 kB / 0.5367 GB, free: 60.25 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003812/0.4705, allocations: 489.7 kB / 0.5372 GB, free: 60.02 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001994/0.4726, allocations: 0.5885 MB / 0.5378 GB, free: 59.43 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008832/0.4814, allocations: 7.701 MB / 0.5453 GB, free: 51.2 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001812/0.4832, allocations: 80 kB / 0.5454 GB, free: 51.12 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002104/0.4835, allocations: 140 kB / 0.5455 GB, free: 50.98 MB / 382.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.0007543/0.4842, allocations: 421 kB / 0.5459 GB, free: 50.56 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003225/0.4845, allocations: 176.1 kB / 0.5461 GB, free: 50.39 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007081/0.4916, allocations: 2.391 MB / 0.5484 GB, free: 47.98 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.141e-05/0.4917, allocations: 20 kB / 0.5484 GB, free: 47.96 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.693e-06/0.4917, allocations: 0 / 0.5484 GB, free: 47.96 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.78e-05/0.4917, allocations: 7.969 kB / 0.5484 GB, free: 47.95 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002301/0.494, allocations: 1.876 MB / 0.5503 GB, free: 46.04 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.524e-06/0.494, allocations: 3.984 kB / 0.5503 GB, free: 46.03 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001232/0.4953, allocations: 343.8 kB / 0.5506 GB, free: 45.7 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003763/0.499, allocations: 464.6 kB / 0.551 GB, free: 45.23 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001475/0.4992, allocations: 59.97 kB / 0.5511 GB, free: 45.17 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007945/0.5072, allocations: 7.52 MB / 0.5584 GB, free: 37.11 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.497e-06/0.5072, allocations: 6.344 kB / 0.5584 GB, free: 37.11 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007326/0.5145, allocations: 3.007 MB / 0.5614 GB, free: 34.05 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004515/0.515, allocations: 234.8 kB / 0.5616 GB, free: 33.8 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000227/0.5152, allocations: 36 kB / 0.5616 GB, free: 33.77 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009125/0.5162, allocations: 36 kB / 0.5617 GB, free: 33.73 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002723/0.5164, allocations: 157.8 kB / 0.5618 GB, free: 33.58 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001147/0.5166, allocations: 71.97 kB / 0.5619 GB, free: 33.51 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001013/0.5176, allocations: 1.133 MB / 0.563 GB, free: 32.38 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5176, allocations: 0 / 0.563 GB, free: 32.38 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.003141/0.5207, allocations: 1.357 MB / 0.5643 GB, free: 31.18 MB / 382.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.002166/0.5229, allocations: 1.496 MB / 0.5658 GB, free: 30.02 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003307/0.5262, allocations: 2.503 MB / 0.5682 GB, free: 27.46 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/0.5262, allocations: 1 kB / 0.5682 GB, free: 27.46 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001523/0.5278, allocations: 1.365 MB / 0.5696 GB, free: 26.06 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00144/0.5292, allocations: 373.2 kB / 0.5699 GB, free: 25.7 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004462/0.5337, allocations: 3.558 MB / 0.5734 GB, free: 22.12 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000582/0.5343, allocations: 1.382 MB / 0.5747 GB, free: 20.7 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.00132/0.5356, allocations: 441.9 kB / 0.5752 GB, free: 20.27 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005163/0.5361, allocations: 298.5 kB / 0.5755 GB, free: 19.98 MB / 382.1 MB Notification: Performance of SimCode: time 8.91e-07/0.5361, allocations: 0 / 0.5755 GB, free: 19.98 MB / 382.1 MB Notification: Performance of Templates: time 0.05985/0.596, allocations: 45.75 MB / 0.6201 GB, free: 6.402 MB / 414.1 MB make -j1 -f Chemical_Chemical.Examples.GasSolubility.makefile (rm -f Chemical_Chemical.Examples.GasSolubility.pipe ; mkfifo Chemical_Chemical.Examples.GasSolubility.pipe ; head -c 1048576 < Chemical_Chemical.Examples.GasSolubility.pipe >> ../files/Chemical_Chemical.Examples.GasSolubility.sim & ./Chemical_Chemical.Examples.GasSolubility -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > Chemical_Chemical.Examples.GasSolubility.pipe 2>&1)