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.001292/0.001292, allocations: 81.95 kB / 19.87 MB, free: 4.617 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.001159/0.001159, allocations: 173.7 kB / 23.28 MB, free: 1.219 MB / 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.9827/0.9827, allocations: 177.1 MB / 203.7 MB, free: 5.488 MB / 186.7 MB " [Timeout remaining time 179] 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.09411/0.09411, allocations: 17.46 MB / 277.7 MB, free: 11.38 MB / 266.7 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 1.473e-06/1.473e-06, allocations: 0 / 354 MB, free: 9.578 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.494e-05/2.641e-05, allocations: 9.688 kB / 354 MB, free: 9.57 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.GasSolubility): time 0.01148/0.0115, allocations: 10.01 MB / 364 MB, free: 15.51 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.02778/0.03928, allocations: 30.13 MB / 394.1 MB, free: 1.266 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001447/0.04073, allocations: 35.75 kB / 394.2 MB, free: 1.23 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001343/0.04207, allocations: 0.6005 MB / 394.8 MB, free: 0.625 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005638/0.04771, allocations: 2.715 MB / 397.5 MB, free: 13.89 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007509/0.05522, allocations: 4.115 MB / 401.6 MB, free: 9.75 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.003648/0.05886, allocations: 3.115 MB / 404.7 MB, free: 6.621 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001676/0.06054, allocations: 1.41 MB / 406.1 MB, free: 5.168 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002433/0.06297, allocations: 2.063 MB / 408.2 MB, free: 3.102 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001621/0.06459, allocations: 1.337 MB / 409.5 MB, free: 1.762 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005593/0.06515, allocations: 264 kB / 409.8 MB, free: 1.504 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1496/0.2148, allocations: 3.211 MB / 413 MB, free: 24.52 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001009/0.2158, allocations: 0.622 MB / 413.6 MB, free: 24.52 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002103/0.2179, allocations: 0.9753 MB / 414.6 MB, free: 24.52 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0148/0.2327, allocations: 5.956 MB / 420.6 MB, free: 24.19 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.544e-06/0.2327, allocations: 0 / 420.6 MB, free: 24.19 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.145e-06/0.2327, allocations: 3.344 kB / 420.6 MB, free: 24.19 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001563/0.2328, allocations: 1.094 kB / 420.6 MB, free: 24.19 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.007226/0.2401, allocations: 3.302 MB / 423.9 MB, free: 22.66 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.383e-05/0.2401, allocations: 9.969 kB / 423.9 MB, free: 22.66 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002182/0.2423, allocations: 0.9843 MB / 424.9 MB, free: 22.33 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001507/0.2438, allocations: 1.094 MB / 425.9 MB, free: 21.99 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.582e-05/0.2439, allocations: 159.8 kB / 426.1 MB, free: 21.98 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002264/0.2441, allocations: 220.4 kB / 426.3 MB, free: 21.98 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001929/0.246, allocations: 1.851 MB / 428.2 MB, free: 21.73 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.243e-05/0.2461, allocations: 4.188 kB / 428.2 MB, free: 21.73 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001294/0.2462, allocations: 88.81 kB / 428.3 MB, free: 21.73 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.189e-05/0.2462, allocations: 55.09 kB / 428.3 MB, free: 21.73 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001842/0.2481, allocations: 1.912 MB / 430.2 MB, free: 21.64 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.007705/0.2558, allocations: 6.097 MB / 436.3 MB, free: 20.1 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003932/0.2597, allocations: 3.44 MB / 439.8 MB, free: 19.61 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006799/0.2604, allocations: 0.5478 MB / 440.3 MB, free: 19.54 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007491/0.2679, allocations: 4.718 MB / 445 MB, free: 16.59 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.028e-05/0.2679, allocations: 54.7 kB / 445.1 MB, free: 16.52 MB / 330.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005531/0.2685, allocations: 170.8 kB / 445.2 MB, free: 16.36 MB / 330.7 MB Notification: Performance of pre-optimization done (n=138): time 4.248e-06/0.2685, allocations: 0 / 445.2 MB, free: 16.36 MB / 330.7 MB Notification: Performance of matching and sorting (n=170): time 0.01428/0.2827, allocations: 4.766 MB / 450 MB, free: 11.63 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.837e-05/0.2828, allocations: 69.41 kB / 450.1 MB, free: 11.55 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001006/0.2838, allocations: 1.287 MB / 451.4 MB, free: 10.43 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 7.394e-05/0.2838, allocations: 61.17 kB / 451.4 MB, free: 10.36 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004095/0.2843, allocations: 1.143 MB / 452.6 MB, free: 9.273 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003004/0.2846, allocations: 0.6208 MB / 453.2 MB, free: 8.688 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004523/0.285, allocations: 489.8 kB / 453.7 MB, free: 8.25 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 3.346e-05/0.285, allocations: 479.5 kB / 454.1 MB, free: 7.781 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004564/0.2855, allocations: 340.7 kB / 454.5 MB, free: 7.445 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008077/0.2863, allocations: 1.469 MB / 455.9 MB, free: 5.547 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001563/0.2879, allocations: 2.025 MB / 458 MB, free: 3.195 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.584e-05/0.2879, allocations: 8 kB / 458 MB, free: 3.188 MB / 330.7 MB Notification: Performance of matching and sorting (n=317) (initialization): time 0.004193/0.2921, allocations: 2.26 MB / 460.2 MB, free: 1.074 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.563e-05/0.2921, allocations: 19.98 kB / 460.3 MB, free: 1.055 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.814e-05/0.2921, allocations: 24 kB / 460.3 MB, free: 1.031 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003064/0.2952, allocations: 0.6688 MB / 460.9 MB, free: 360 kB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001364/0.2966, allocations: 0.592 MB / 461.5 MB, free: 15.8 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00663/0.3032, allocations: 8.614 MB / 470.2 MB, free: 6.82 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001483/0.3047, allocations: 87.98 kB / 470.2 MB, free: 6.734 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001913/0.3049, allocations: 120 kB / 470.4 MB, free: 6.617 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.000605/0.3055, allocations: 318.9 kB / 470.7 MB, free: 6.332 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003848/0.3059, allocations: 218.9 kB / 470.9 MB, free: 6.117 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004152/0.31, allocations: 1.889 MB / 472.8 MB, free: 4.23 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.636e-05/0.31, allocations: 16 kB / 472.8 MB, free: 4.215 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.572e-06/0.31, allocations: 4 kB / 472.8 MB, free: 4.211 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.707e-05/0.31, allocations: 11.95 kB / 472.8 MB, free: 4.199 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002017/0.3121, allocations: 1.343 MB / 474.1 MB, free: 3.023 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.31e-05/0.3121, allocations: 4.25 kB / 474.1 MB, free: 3.02 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008891/0.313, allocations: 353.1 kB / 474.5 MB, free: 2.691 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003106/0.3161, allocations: 0.6409 MB / 475.1 MB, free: 2.039 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001513/0.3162, allocations: 63.97 kB / 475.2 MB, free: 1.977 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00555/0.3218, allocations: 8.433 MB / 483.6 MB, free: 9.16 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.806e-06/0.3218, allocations: 3.844 kB / 483.6 MB, free: 9.16 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004174/0.326, allocations: 2.197 MB / 485.8 MB, free: 6.941 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006038/0.3266, allocations: 158.8 kB / 486 MB, free: 6.785 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002502/0.3268, allocations: 40 kB / 486 MB, free: 6.746 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005342/0.3273, allocations: 36 kB / 486.1 MB, free: 6.711 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003137/0.3277, allocations: 161.5 kB / 486.2 MB, free: 6.555 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001407/0.3278, allocations: 55.97 kB / 486.3 MB, free: 6.5 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.00087/0.3287, allocations: 0.6981 MB / 487 MB, free: 5.855 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.4e-07/0.3287, allocations: 0 / 487 MB, free: 5.855 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.004859/0.3335, allocations: 1.321 MB / 488.3 MB, free: 4.531 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.0043/0.3378, allocations: 1.541 MB / 489.8 MB, free: 3.18 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.003848/0.3417, allocations: 2.025 MB / 491.9 MB, free: 1.207 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 6.783e-06/0.3417, allocations: 4 kB / 491.9 MB, free: 1.203 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001763/0.3434, allocations: 1.327 MB / 493.2 MB, free: 15.86 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001202/0.3446, allocations: 408.7 kB / 493.6 MB, free: 15.47 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.004321/0.349, allocations: 3.304 MB / 496.9 MB, free: 12.13 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003531/0.3493, allocations: 333.5 kB / 497.2 MB, free: 11.78 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001594/0.3509, allocations: 433.2 kB / 497.6 MB, free: 11.36 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009931/0.3519, allocations: 0.6145 MB / 498.3 MB, free: 10.74 MB / 378.7 MB Notification: Performance of SimCode: time 1.132e-06/0.3519, allocations: 0 / 498.3 MB, free: 10.74 MB / 378.7 MB Notification: Performance of Templates: time 0.05571/0.4076, allocations: 52.28 MB / 0.5376 GB, free: 6.977 MB / 426.7 MB " [Timeout remaining time 660] 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=240 -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.GasSolubility.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.473942808806896]