Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_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.001051/0.001051, allocations: 77.95 kB / 20.66 MB, free: 3.832 MB / 18.57 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.001267/0.001267, allocations: 165 kB / 24.05 MB, free: 452 kB / 18.57 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 0.9997/0.9997, allocations: 177.1 MB / 204.5 MB, free: 5.48 MB / 186.7 MB " [Timeout remaining time 179] 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.09201/0.09201, allocations: 17.38 MB / 278.4 MB, free: 11.46 MB / 266.7 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,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Obsolete.Examples.GasSolubility") translateModel(Chemical.Obsolete.Examples.GasSolubility,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Obsolete.Examples.GasSolubility") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 354.7 MB, free: 9.688 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.832e-05/2.997e-05, allocations: 5.547 kB / 354.7 MB, free: 9.684 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.GasSolubility): time 0.008537/0.008567, allocations: 10.02 MB / 364.7 MB, free: 15.62 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.02372/0.03229, allocations: 30.12 MB / 394.8 MB, free: 1.379 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001872/0.03416, allocations: 35.69 kB / 394.8 MB, free: 1.344 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001681/0.03584, allocations: 0.6006 MB / 395.4 MB, free: 0.7383 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007433/0.04327, allocations: 2.711 MB / 398.2 MB, free: 14.01 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.008836/0.05211, allocations: 4.119 MB / 402.3 MB, free: 9.863 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.004374/0.05648, allocations: 3.112 MB / 405.4 MB, free: 6.738 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002098/0.05858, allocations: 1.414 MB / 406.8 MB, free: 5.281 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00239/0.06097, allocations: 2.067 MB / 408.9 MB, free: 3.211 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00155/0.06252, allocations: 1.333 MB / 410.2 MB, free: 1.875 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003911/0.06291, allocations: 264 kB / 410.5 MB, free: 1.617 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1588/0.2217, allocations: 3.207 MB / 413.7 MB, free: 24.74 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001105/0.2229, allocations: 0.6211 MB / 414.3 MB, free: 24.74 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002303/0.2252, allocations: 0.9787 MB / 415.3 MB, free: 24.74 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01582/0.241, allocations: 5.954 MB / 421.2 MB, free: 24.42 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.241, allocations: 1.031 kB / 421.2 MB, free: 24.42 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.241, allocations: 0 / 421.2 MB, free: 24.42 MB / 330.7 MB Notification: Performance of Transformations before backend: time 9.72e-05/0.2411, allocations: 0 / 421.2 MB, free: 24.42 MB / 330.7 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.006946/0.248, allocations: 3.307 MB / 424.5 MB, free: 22.89 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.621e-05/0.2481, allocations: 9.625 kB / 424.5 MB, free: 22.89 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0026/0.2507, allocations: 0.9793 MB / 425.5 MB, free: 22.56 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001762/0.2524, allocations: 1.096 MB / 426.6 MB, free: 22.23 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.101e-05/0.2525, allocations: 162.2 kB / 426.8 MB, free: 22.21 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002994/0.2528, allocations: 224.5 kB / 427 MB, free: 22.21 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002404/0.2552, allocations: 1.849 MB / 428.8 MB, free: 21.96 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.863e-05/0.2553, allocations: 3.562 kB / 428.8 MB, free: 21.96 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001843/0.2554, allocations: 84.59 kB / 428.9 MB, free: 21.96 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.529e-05/0.2555, allocations: 56.08 kB / 429 MB, free: 21.96 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002581/0.2581, allocations: 1.91 MB / 430.9 MB, free: 21.88 MB / 330.7 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.009253/0.2673, allocations: 6.105 MB / 437 MB, free: 20.33 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004095/0.2714, allocations: 3.435 MB / 440.4 MB, free: 19.88 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000682/0.2721, allocations: 0.5525 MB / 441 MB, free: 19.8 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00772/0.2798, allocations: 4.657 MB / 445.6 MB, free: 16.99 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.903e-05/0.2798, allocations: 50.7 kB / 445.7 MB, free: 16.93 MB / 330.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005222/0.2804, allocations: 174 kB / 445.9 MB, free: 16.76 MB / 330.7 MB Notification: Performance of pre-optimization done (n=138): time 3.727e-06/0.2804, allocations: 4 kB / 445.9 MB, free: 16.75 MB / 330.7 MB Notification: Performance of matching and sorting (n=170): time 0.01238/0.2928, allocations: 4.758 MB / 450.6 MB, free: 12.03 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.735e-05/0.2928, allocations: 72.25 kB / 450.7 MB, free: 11.95 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008256/0.2936, allocations: 1.284 MB / 452 MB, free: 10.83 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 8.944e-05/0.2937, allocations: 53.7 kB / 452 MB, free: 10.77 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000345/0.294, allocations: 1.142 MB / 453.2 MB, free: 9.68 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002657/0.2943, allocations: 0.6136 MB / 453.8 MB, free: 9.102 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004821/0.2948, allocations: 493.2 kB / 454.3 MB, free: 8.664 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 3.974e-05/0.2948, allocations: 484.8 kB / 454.7 MB, free: 8.188 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000479/0.2953, allocations: 336.7 kB / 455.1 MB, free: 7.855 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008303/0.2961, allocations: 1.466 MB / 456.5 MB, free: 5.961 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001575/0.2977, allocations: 2.016 MB / 458.5 MB, free: 3.609 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.447e-05/0.2977, allocations: 8 kB / 458.6 MB, free: 3.602 MB / 330.7 MB Notification: Performance of matching and sorting (n=317) (initialization): time 0.004357/0.3021, allocations: 2.269 MB / 460.8 MB, free: 1.484 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.719e-05/0.3021, allocations: 20 kB / 460.8 MB, free: 1.465 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.9e-05/0.3021, allocations: 24 kB / 460.9 MB, free: 1.441 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003233/0.3054, allocations: 0.6694 MB / 461.5 MB, free: 0.7617 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001361/0.3067, allocations: 0.5961 MB / 462.1 MB, free: 208 kB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007454/0.3142, allocations: 8.621 MB / 470.8 MB, free: 7.23 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001723/0.3159, allocations: 80 kB / 470.8 MB, free: 7.152 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002197/0.3161, allocations: 116 kB / 470.9 MB, free: 7.039 MB / 346.7 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.0008655/0.317, allocations: 314.5 kB / 471.3 MB, free: 6.758 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000462/0.3175, allocations: 226.9 kB / 471.5 MB, free: 6.535 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004446/0.3219, allocations: 1.891 MB / 473.4 MB, free: 4.645 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.576e-05/0.3219, allocations: 16 kB / 473.4 MB, free: 4.629 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.063e-06/0.3219, allocations: 4 kB / 473.4 MB, free: 4.625 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.585e-05/0.3219, allocations: 7.969 kB / 473.4 MB, free: 4.617 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002546/0.3245, allocations: 1.349 MB / 474.7 MB, free: 3.438 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-05/0.3245, allocations: 8 kB / 474.8 MB, free: 3.43 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001341/0.3258, allocations: 349.8 kB / 475.1 MB, free: 3.105 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004418/0.3303, allocations: 0.6412 MB / 475.7 MB, free: 2.449 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002279/0.3325, allocations: 63.97 kB / 475.8 MB, free: 2.387 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00742/0.34, allocations: 8.431 MB / 484.2 MB, free: 9.582 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.906e-06/0.34, allocations: 0 / 484.2 MB, free: 9.582 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004972/0.3449, allocations: 2.198 MB / 486.4 MB, free: 7.363 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004726/0.3454, allocations: 150.8 kB / 486.6 MB, free: 7.215 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002219/0.3456, allocations: 40 kB / 486.6 MB, free: 7.176 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007553/0.3464, allocations: 43.98 kB / 486.7 MB, free: 7.133 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003246/0.3467, allocations: 159.8 kB / 486.8 MB, free: 6.98 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001283/0.3468, allocations: 59.97 kB / 486.9 MB, free: 6.922 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000762/0.3476, allocations: 0.7009 MB / 487.6 MB, free: 6.277 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.91e-07/0.3476, allocations: 0 / 487.6 MB, free: 6.277 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.004365/0.352, allocations: 1.317 MB / 488.9 MB, free: 4.957 MB / 362.7 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.002996/0.355, allocations: 1.553 MB / 490.4 MB, free: 3.59 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002657/0.3576, allocations: 2.02 MB / 492.5 MB, free: 1.621 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.907e-06/0.3576, allocations: 0 / 492.5 MB, free: 1.621 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001205/0.3588, allocations: 1.324 MB / 493.8 MB, free: 288 kB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001307/0.3601, allocations: 409.2 kB / 494.2 MB, free: 15.9 MB / 378.7 MB Error: Error parsing unit kDa: Unit not found Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00454/0.3647, allocations: 3.302 MB / 497.5 MB, free: 12.56 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002664/0.3649, allocations: 333.5 kB / 497.8 MB, free: 12.21 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001437/0.3664, allocations: 435 kB / 498.2 MB, free: 11.79 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009501/0.3673, allocations: 0.6103 MB / 498.8 MB, free: 11.18 MB / 378.7 MB Notification: Performance of SimCode: time 1.533e-06/0.3673, allocations: 4 kB / 498.8 MB, free: 11.18 MB / 378.7 MB Notification: Performance of Templates: time 0.05641/0.4237, allocations: 52.94 MB / 0.5389 GB, free: 6.773 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f Chemical_Chemical.Obsolete.Examples.GasSolubility.makefile [Timeout 660] (rm -f Chemical_Chemical.Obsolete.Examples.GasSolubility.pipe ; mkfifo Chemical_Chemical.Obsolete.Examples.GasSolubility.pipe ; head -c 1048576 < Chemical_Chemical.Obsolete.Examples.GasSolubility.pipe >> ../files/Chemical_Chemical.Obsolete.Examples.GasSolubility.sim & ./Chemical_Chemical.Obsolete.Examples.GasSolubility -abortSlowSimulation -alarm=240 -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.GasSolubility.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.770313544198871]