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.0008162/0.0008161, allocations: 98.88 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008613/0.0008613, allocations: 182.9 kB / 16.92 MB, free: 6.672 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.333/1.333, allocations: 223.3 MB / 241 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo): time 0.2127/0.2127, allocations: 15.27 MB / 307.4 MB, free: 15.76 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003654/0.0003655, allocations: 8 kB / 372.7 MB, free: 3.621 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3092/0.3095, allocations: 54.62 MB / 427.4 MB, free: 40.14 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Chemical.Examples.GasSolubility): time 0.008581/0.3182, allocations: 11.35 MB / 438.7 MB, free: 34.29 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.02626/0.3445, allocations: 32.47 MB / 471.2 MB, free: 11.08 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002206/0.3468, allocations: 48.5 kB / 471.2 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001774/0.3486, allocations: 0.6282 MB / 471.9 MB, free: 10.72 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00699/0.3556, allocations: 2.302 MB / 474.2 MB, free: 9.355 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0108/0.3664, allocations: 3.748 MB / 477.9 MB, free: 7.145 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004252/0.3707, allocations: 2.876 MB / 480.8 MB, free: 5.754 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001969/0.3727, allocations: 1.349 MB / 482.1 MB, free: 5.168 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002092/0.3748, allocations: 1.361 MB / 483.5 MB, free: 4.754 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002832/0.3776, allocations: 1.496 MB / 485 MB, free: 4.195 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005875/0.3782, allocations: 139.7 kB / 485.1 MB, free: 4.195 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01189/0.3901, allocations: 3.511 MB / 488.6 MB, free: 3.281 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001093/0.3913, allocations: 491.5 kB / 489.1 MB, free: 3.02 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001852/0.3931, allocations: 1.22 MB / 490.3 MB, free: 2.34 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008566/0.4017, allocations: 4.79 MB / 495.1 MB, free: 0.543 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.4017, allocations: 0 / 495.1 MB, free: 0.543 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.585e-06/0.4017, allocations: 5.312 kB / 495.1 MB, free: 0.5391 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.815e-05/0.4018, allocations: 0 / 495.1 MB, free: 0.5391 MB / 350.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.006908/0.4087, allocations: 2.697 MB / 497.8 MB, free: 14.93 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.261e-05/0.4088, allocations: 13.59 kB / 497.8 MB, free: 14.93 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003005/0.4118, allocations: 0.568 MB / 498.4 MB, free: 14.62 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002367/0.4142, allocations: 1.065 MB / 499.5 MB, free: 13.61 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001272/0.4143, allocations: 160.6 kB / 499.6 MB, free: 13.45 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000468/0.4148, allocations: 220.3 kB / 499.8 MB, free: 13.23 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004555/0.4194, allocations: 2.787 MB / 0.4909 GB, free: 10.36 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.103e-05/0.4194, allocations: 0 / 0.4909 GB, free: 10.36 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002166/0.4197, allocations: 84 kB / 0.4909 GB, free: 10.28 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.972e-05/0.4197, allocations: 59.97 kB / 0.491 GB, free: 10.22 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005605/0.4253, allocations: 3.784 MB / 0.4947 GB, free: 6.422 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.01425/0.4396, allocations: 8.26 MB / 0.5028 GB, free: 13.84 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005676/0.4453, allocations: 3.952 MB / 0.5066 GB, free: 9.77 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001684/0.447, allocations: 1.025 MB / 0.5076 GB, free: 8.738 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01267/0.4597, allocations: 9.038 MB / 0.5164 GB, free: 14.62 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.455e-05/0.4598, allocations: 47.86 kB / 0.5165 GB, free: 14.57 MB / 398.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007486/0.4605, allocations: 158.2 kB / 0.5166 GB, free: 14.41 MB / 398.1 MB Notification: Performance of pre-optimization done (n=138): time 3.576e-06/0.4605, allocations: 0 / 0.5166 GB, free: 14.41 MB / 398.1 MB Notification: Performance of matching and sorting (n=170): time 0.03205/0.4926, allocations: 6.481 MB / 0.523 GB, free: 7.836 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.198e-05/0.4927, allocations: 73.34 kB / 0.523 GB, free: 7.754 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002679/0.4954, allocations: 1.667 MB / 0.5247 GB, free: 6.074 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000349/0.4958, allocations: 57.7 kB / 0.5247 GB, free: 6.012 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000794/0.4966, allocations: 1.042 MB / 0.5257 GB, free: 4.953 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007008/0.4973, allocations: 0.5893 MB / 0.5263 GB, free: 4.355 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003693/0.4976, allocations: 190.7 kB / 0.5265 GB, free: 4.164 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 9.126e-05/0.4977, allocations: 305.1 kB / 0.5268 GB, free: 3.863 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001484/0.4992, allocations: 0.7936 MB / 0.5276 GB, free: 3.066 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001906/0.5012, allocations: 1.597 MB / 0.5291 GB, free: 1.098 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003377/0.5045, allocations: 2.413 MB / 0.5315 GB, free: 14.32 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.438e-05/0.5046, allocations: 12 kB / 0.5315 GB, free: 14.31 MB / 414.1 MB Notification: Performance of matching and sorting (n=317) (initialization): time 0.01017/0.5148, allocations: 3.143 MB / 0.5346 GB, free: 11.15 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.091e-05/0.5149, allocations: 16 kB / 0.5346 GB, free: 11.13 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.55e-05/0.5149, allocations: 28 kB / 0.5346 GB, free: 11.11 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004552/0.5195, allocations: 0.5107 MB / 0.5351 GB, free: 10.58 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002597/0.5221, allocations: 0.5889 MB / 0.5357 GB, free: 9.992 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01187/0.534, allocations: 7.017 MB / 0.5425 GB, free: 2.449 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002889/0.5369, allocations: 135.9 kB / 0.5427 GB, free: 2.316 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006098/0.5376, allocations: 140 kB / 0.5428 GB, free: 2.18 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.001609/0.5392, allocations: 420.9 kB / 0.5432 GB, free: 1.758 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006048/0.5398, allocations: 169.8 kB / 0.5433 GB, free: 1.59 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009895/0.5497, allocations: 2.44 MB / 0.5457 GB, free: 15.13 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.39e-05/0.5498, allocations: 23.94 kB / 0.5458 GB, free: 15.11 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.45e-05/0.5498, allocations: 4 kB / 0.5458 GB, free: 15.1 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.481e-05/0.5498, allocations: 7.969 kB / 0.5458 GB, free: 15.09 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003456/0.5533, allocations: 1.857 MB / 0.5476 GB, free: 13.15 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.831e-05/0.5533, allocations: 0 / 0.5476 GB, free: 13.15 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001476/0.5548, allocations: 347.6 kB / 0.5479 GB, free: 12.81 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004487/0.5593, allocations: 486.9 kB / 0.5484 GB, free: 12.32 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000217/0.5596, allocations: 59.97 kB / 0.5484 GB, free: 12.27 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01046/0.57, allocations: 6.827 MB / 0.5551 GB, free: 4.902 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.865e-06/0.5701, allocations: 7.938 kB / 0.5551 GB, free: 4.895 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009576/0.5797, allocations: 3.026 MB / 0.5581 GB, free: 1.812 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000807/0.5805, allocations: 250.8 kB / 0.5583 GB, free: 1.547 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005852/0.5811, allocations: 36 kB / 0.5583 GB, free: 1.512 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001647/0.5828, allocations: 63.88 kB / 0.5584 GB, free: 1.449 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000445/0.5832, allocations: 157.8 kB / 0.5585 GB, free: 1.297 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002356/0.5835, allocations: 71.97 kB / 0.5586 GB, free: 1.227 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001611/0.5851, allocations: 1.133 MB / 0.5597 GB, free: 96 kB / 430.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5851, allocations: 0 / 0.5597 GB, free: 96 kB / 430.1 MB Notification: Performance of remove unused functions: time 0.005583/0.5907, allocations: 1.354 MB / 0.561 GB, free: 14.74 MB / 446.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.004519/0.5953, allocations: 1.493 MB / 0.5625 GB, free: 13.24 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004873/0.6002, allocations: 2.492 MB / 0.5649 GB, free: 10.7 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.051e-06/0.6002, allocations: 1.938 kB / 0.5649 GB, free: 10.7 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00237/0.6026, allocations: 1.358 MB / 0.5663 GB, free: 9.289 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003005/0.6056, allocations: 331 kB / 0.5666 GB, free: 8.965 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007886/0.6135, allocations: 4.651 MB / 0.5711 GB, free: 4.266 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001371/0.6149, allocations: 1.382 MB / 0.5725 GB, free: 2.852 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001245/0.6162, allocations: 382.2 kB / 0.5728 GB, free: 2.477 MB / 446.1 MB Notification: Performance of SimCode: time 1.092e-06/0.6162, allocations: 0 / 0.5728 GB, free: 2.477 MB / 446.1 MB Notification: Performance of Templates: time 0.3151/0.9312, allocations: 65.88 MB / 0.6372 GB, free: 117.6 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)