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.004854/0.004854, allocations: 101.1 kB / 15.88 MB, free: 6.328 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.001159/0.001159, allocations: 193 kB / 16.79 MB, free: 6.254 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.362/1.362, allocations: 222.9 MB / 240.5 MB, free: 4.449 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo): time 0.2216/0.2216, allocations: 15.32 MB / 305.9 MB, free: 15.37 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0012/0.0012, allocations: 59.91 kB / 370.3 MB, free: 4.414 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1054/0.1066, allocations: 53.61 MB / 423.9 MB, free: 14.75 MB / 366.1 MB Notification: Performance of NFInst.instantiate(Chemical.Examples.GasSolubility): time 0.01172/0.1184, allocations: 11.86 MB / 435.8 MB, free: 2.848 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.211/0.3294, allocations: 32.82 MB / 468.6 MB, free: 29.15 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002555/0.332, allocations: 52.41 kB / 468.6 MB, free: 29.12 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001894/0.334, allocations: 0.6335 MB / 469.3 MB, free: 28.79 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007409/0.3414, allocations: 2.308 MB / 471.6 MB, free: 27.42 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0133/0.3547, allocations: 3.749 MB / 475.3 MB, free: 25.2 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.004145/0.3589, allocations: 2.867 MB / 478.2 MB, free: 23.82 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002204/0.3611, allocations: 1.429 MB / 479.6 MB, free: 23.21 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002445/0.3636, allocations: 1.418 MB / 481 MB, free: 22.76 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002712/0.3663, allocations: 1.576 MB / 482.6 MB, free: 22.15 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006323/0.3669, allocations: 170.9 kB / 482.8 MB, free: 22.15 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01598/0.3829, allocations: 3.539 MB / 486.3 MB, free: 21.24 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001336/0.3843, allocations: 0.5244 MB / 486.8 MB, free: 20.94 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002469/0.3868, allocations: 1.248 MB / 488.1 MB, free: 20.26 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0096/0.3964, allocations: 4.85 MB / 492.9 MB, free: 18.21 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.742e-06/0.3964, allocations: 0 / 492.9 MB, free: 18.21 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.3964, allocations: 1.125 kB / 492.9 MB, free: 18.21 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001133/0.3966, allocations: 0 / 492.9 MB, free: 18.21 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.009132/0.4057, allocations: 3.23 MB / 496.2 MB, free: 16.35 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.613e-05/0.4058, allocations: 9.531 kB / 496.2 MB, free: 16.35 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003025/0.4088, allocations: 0.5727 MB / 496.8 MB, free: 16.17 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002568/0.4114, allocations: 1.095 MB / 497.9 MB, free: 15.5 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001361/0.4115, allocations: 158.3 kB / 498 MB, free: 15.42 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000461/0.412, allocations: 226.9 kB / 498.2 MB, free: 15.34 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005466/0.4175, allocations: 2.782 MB / 0.4893 GB, free: 14.21 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.035e-05/0.4175, allocations: 7.875 kB / 0.4893 GB, free: 14.21 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002123/0.4178, allocations: 85.88 kB / 0.4894 GB, free: 14.14 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-05/0.4178, allocations: 51.67 kB / 0.4894 GB, free: 14.14 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006217/0.424, allocations: 3.784 MB / 0.4931 GB, free: 12.98 MB / 366.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.01388/0.4379, allocations: 8.332 MB / 0.5012 GB, free: 6.383 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004873/0.4428, allocations: 3.963 MB / 0.5051 GB, free: 2.305 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001325/0.4442, allocations: 1.025 MB / 0.5061 GB, free: 1.273 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01325/0.4574, allocations: 9.252 MB / 0.5151 GB, free: 6.949 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.547e-05/0.4575, allocations: 43.88 kB / 0.5152 GB, free: 6.895 MB / 382.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008923/0.4584, allocations: 162.1 kB / 0.5153 GB, free: 6.734 MB / 382.1 MB Notification: Performance of pre-optimization done (n=138): time 4.078e-06/0.4584, allocations: 0 / 0.5153 GB, free: 6.734 MB / 382.1 MB Notification: Performance of matching and sorting (n=170): time 0.03219/0.4906, allocations: 6.376 MB / 0.5216 GB, free: 268 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.682e-05/0.4907, allocations: 77.41 kB / 0.5216 GB, free: 180 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002163/0.4929, allocations: 1.671 MB / 0.5233 GB, free: 14.49 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002753/0.4932, allocations: 53.7 kB / 0.5233 GB, free: 14.43 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007077/0.4939, allocations: 1.038 MB / 0.5243 GB, free: 13.38 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006095/0.4945, allocations: 0.5892 MB / 0.5249 GB, free: 12.78 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007033/0.4952, allocations: 476.7 kB / 0.5254 GB, free: 12.31 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000105/0.4953, allocations: 301.1 kB / 0.5257 GB, free: 12.01 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001344/0.4967, allocations: 0.7974 MB / 0.5264 GB, free: 11.21 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001922/0.4986, allocations: 1.6 MB / 0.528 GB, free: 9.238 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003378/0.502, allocations: 2.413 MB / 0.5304 GB, free: 6.465 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.568e-05/0.5021, allocations: 11.94 kB / 0.5304 GB, free: 6.453 MB / 398.1 MB Notification: Performance of matching and sorting (n=317) (initialization): time 0.009029/0.5111, allocations: 3.123 MB / 0.5334 GB, free: 3.309 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.699e-05/0.5112, allocations: 18.19 kB / 0.5334 GB, free: 3.293 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.648e-05/0.5112, allocations: 28.78 kB / 0.5335 GB, free: 3.266 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004196/0.5154, allocations: 494.9 kB / 0.5339 GB, free: 2.77 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002354/0.5178, allocations: 0.585 MB / 0.5345 GB, free: 2.184 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01073/0.5285, allocations: 6.964 MB / 0.5413 GB, free: 10.69 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002523/0.5311, allocations: 131.9 kB / 0.5414 GB, free: 10.56 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003744/0.5315, allocations: 140 kB / 0.5416 GB, free: 10.42 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.001005/0.5325, allocations: 428.9 kB / 0.542 GB, free: 9.992 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004977/0.533, allocations: 169.8 kB / 0.5421 GB, free: 9.824 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008025/0.5411, allocations: 2.396 MB / 0.5445 GB, free: 7.414 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.657e-05/0.5411, allocations: 16 kB / 0.5445 GB, free: 7.398 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.053e-05/0.5411, allocations: 4 kB / 0.5445 GB, free: 7.395 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.788e-05/0.5411, allocations: 7.969 kB / 0.5445 GB, free: 7.387 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003319/0.5445, allocations: 1.873 MB / 0.5463 GB, free: 5.434 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.644e-06/0.5445, allocations: 0 / 0.5463 GB, free: 5.434 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001348/0.5459, allocations: 343.8 kB / 0.5467 GB, free: 5.098 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004104/0.55, allocations: 462.8 kB / 0.5471 GB, free: 4.633 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002427/0.5502, allocations: 59.97 kB / 0.5472 GB, free: 4.574 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009742/0.56, allocations: 6.784 MB / 0.5538 GB, free: 13.26 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.679e-06/0.56, allocations: 4 kB / 0.5538 GB, free: 13.25 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008998/0.569, allocations: 2.999 MB / 0.5567 GB, free: 10.2 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007833/0.5699, allocations: 234.9 kB / 0.5569 GB, free: 9.949 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002964/0.5702, allocations: 36 kB / 0.557 GB, free: 9.914 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001098/0.5713, allocations: 67.88 kB / 0.557 GB, free: 9.848 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003557/0.5716, allocations: 145.7 kB / 0.5572 GB, free: 9.707 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001564/0.5718, allocations: 67.98 kB / 0.5572 GB, free: 9.641 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001471/0.5733, allocations: 1.141 MB / 0.5584 GB, free: 8.5 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.5733, allocations: 3.938 kB / 0.5584 GB, free: 8.496 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.005577/0.5789, allocations: 1.358 MB / 0.5597 GB, free: 7.137 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.004079/0.583, allocations: 1.483 MB / 0.5611 GB, free: 5.645 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.004816/0.5878, allocations: 2.495 MB / 0.5636 GB, free: 3.102 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 7.524e-06/0.5878, allocations: 4 kB / 0.5636 GB, free: 3.098 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002191/0.59, allocations: 1.355 MB / 0.5649 GB, free: 1.695 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00232/0.5924, allocations: 348 kB / 0.5652 GB, free: 1.363 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007022/0.5994, allocations: 4.53 MB / 0.5697 GB, free: 12.79 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001054/0.6005, allocations: 1.386 MB / 0.571 GB, free: 11.37 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001172/0.6017, allocations: 384 kB / 0.5714 GB, free: 11 MB / 446.1 MB Notification: Performance of SimCode: time 1.573e-06/0.6017, allocations: 0 / 0.5714 GB, free: 11 MB / 446.1 MB Notification: Performance of Templates: time 0.2731/0.8748, allocations: 66.16 MB / 0.636 GB, free: 121 MB / 462.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 -lv LOG_STATS > Chemical_Chemical.Examples.GasSolubility.pipe 2>&1)