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.0009337/0.0009337, allocations: 92.22 kB / 19.65 MB, free: 280 kB / 13.93 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.0009889/0.0009889, allocations: 169 kB / 23.02 MB, free: 1.551 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.9362/0.9362, allocations: 177.1 MB / 203.4 MB, free: 5.27 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.09395/0.09395, allocations: 17.46 MB / 277.4 MB, free: 11.42 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.563e-06/1.563e-06, allocations: 0 / 353.5 MB, free: 9.855 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.603e-05/2.759e-05, allocations: 6.312 kB / 353.5 MB, free: 9.848 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.GasSolubility): time 0.008902/0.008929, allocations: 10.2 MB / 363.7 MB, free: 15.6 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.03024/0.03917, allocations: 30.95 MB / 394.7 MB, free: 0.5273 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002022/0.04119, allocations: 35.69 kB / 394.7 MB, free: 0.4922 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001477/0.04267, allocations: 0.6006 MB / 395.3 MB, free: 15.89 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006069/0.04874, allocations: 2.715 MB / 398.1 MB, free: 13.15 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.009117/0.05785, allocations: 4.111 MB / 402.2 MB, free: 9.016 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.003847/0.0617, allocations: 3.129 MB / 405.3 MB, free: 5.879 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001792/0.06349, allocations: 1.418 MB / 406.7 MB, free: 4.418 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002653/0.06615, allocations: 2.055 MB / 408.8 MB, free: 2.359 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001851/0.068, allocations: 1.333 MB / 410.1 MB, free: 1.023 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004398/0.06844, allocations: 264 kB / 410.4 MB, free: 0.7656 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.143/0.2115, allocations: 3.211 MB / 413.6 MB, free: 24.21 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007826/0.2123, allocations: 0.6225 MB / 414.2 MB, free: 24.21 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002027/0.2143, allocations: 0.9731 MB / 415.2 MB, free: 24.21 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01355/0.2278, allocations: 5.958 MB / 421.1 MB, free: 23.86 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.643e-06/0.2278, allocations: 3.719 kB / 421.1 MB, free: 23.86 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.693e-06/0.2278, allocations: 0 / 421.1 MB, free: 23.86 MB / 330.7 MB Notification: Performance of Transformations before backend: time 9.796e-05/0.2279, allocations: 0 / 421.1 MB, free: 23.86 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.00512/0.2331, allocations: 3.277 MB / 424.4 MB, free: 22.34 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.989e-05/0.2331, allocations: 10.03 kB / 424.4 MB, free: 22.34 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001998/0.2351, allocations: 0.9839 MB / 425.4 MB, free: 22.01 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001326/0.2364, allocations: 1.096 MB / 426.5 MB, free: 21.68 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.022e-05/0.2365, allocations: 158.5 kB / 426.6 MB, free: 21.67 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002254/0.2367, allocations: 219.9 kB / 426.9 MB, free: 21.66 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002286/0.239, allocations: 2.048 MB / 428.9 MB, free: 21.41 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.867e-05/0.239, allocations: 192 / 428.9 MB, free: 21.41 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001334/0.2392, allocations: 83.47 kB / 429 MB, free: 21.41 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.912e-05/0.2392, allocations: 56.62 kB / 429 MB, free: 21.41 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002628/0.2418, allocations: 2.263 MB / 431.3 MB, free: 21.36 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.007514/0.2493, allocations: 6.273 MB / 437.6 MB, free: 19.22 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003359/0.2527, allocations: 3.57 MB / 441.2 MB, free: 18.44 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007765/0.2535, allocations: 0.6497 MB / 441.8 MB, free: 18.3 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006153/0.2596, allocations: 4.649 MB / 446.4 MB, free: 14.87 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.737e-05/0.2597, allocations: 50.7 kB / 446.5 MB, free: 14.81 MB / 330.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003959/0.2601, allocations: 166.8 kB / 446.7 MB, free: 14.64 MB / 330.7 MB Notification: Performance of pre-optimization done (n=138): time 3.777e-06/0.2601, allocations: 0 / 446.7 MB, free: 14.64 MB / 330.7 MB Notification: Performance of matching and sorting (n=170): time 0.01319/0.2733, allocations: 5.392 MB / 452.1 MB, free: 9.258 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.03e-05/0.2733, allocations: 69.41 kB / 452.1 MB, free: 9.176 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009494/0.2742, allocations: 1.307 MB / 453.4 MB, free: 7.832 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 8.239e-05/0.2743, allocations: 57.7 kB / 453.5 MB, free: 7.77 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003345/0.2746, allocations: 1.136 MB / 454.6 MB, free: 6.633 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000271/0.2749, allocations: 0.6092 MB / 455.2 MB, free: 6.031 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003648/0.2753, allocations: 483.1 kB / 455.7 MB, free: 5.551 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 3.485e-05/0.2753, allocations: 476.8 kB / 456.2 MB, free: 5.082 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005679/0.2759, allocations: 440.3 kB / 456.6 MB, free: 4.652 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008115/0.2767, allocations: 1.561 MB / 458.2 MB, free: 2.605 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001584/0.2783, allocations: 2.179 MB / 460.3 MB, free: 40 kB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.504e-05/0.2783, allocations: 7.656 kB / 460.3 MB, free: 36 kB / 330.7 MB Notification: Performance of matching and sorting (n=317) (initialization): time 0.00442/0.2827, allocations: 2.473 MB / 462.8 MB, free: 13.71 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.059e-05/0.2827, allocations: 17.56 kB / 462.8 MB, free: 13.69 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.494e-05/0.2828, allocations: 28 kB / 462.9 MB, free: 13.66 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00291/0.2857, allocations: 0.685 MB / 463.5 MB, free: 12.96 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001171/0.2869, allocations: 0.5839 MB / 464.1 MB, free: 12.42 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006899/0.2938, allocations: 8.73 MB / 472.9 MB, free: 3.266 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001357/0.2951, allocations: 84.03 kB / 472.9 MB, free: 3.184 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002005/0.2953, allocations: 140 kB / 473.1 MB, free: 3.047 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.0006232/0.2959, allocations: 322.3 kB / 473.4 MB, free: 2.762 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003542/0.2963, allocations: 214.9 kB / 473.6 MB, free: 2.551 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004309/0.3006, allocations: 2.04 MB / 475.6 MB, free: 0.5039 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.466e-05/0.3006, allocations: 16 kB / 475.7 MB, free: 500 kB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.3006, allocations: 8 kB / 475.7 MB, free: 492 kB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.793e-05/0.3006, allocations: 12.45 kB / 475.7 MB, free: 480 kB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002098/0.3027, allocations: 1.32 MB / 477 MB, free: 15.12 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.315e-05/0.3028, allocations: 4 kB / 477 MB, free: 15.12 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009934/0.3037, allocations: 349.9 kB / 477.3 MB, free: 14.79 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003527/0.3073, allocations: 0.6429 MB / 478 MB, free: 14.14 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001704/0.3074, allocations: 59.97 kB / 478 MB, free: 14.08 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007366/0.3148, allocations: 8.545 MB / 486.6 MB, free: 5.09 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-06/0.3148, allocations: 3.375 kB / 486.6 MB, free: 5.09 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005658/0.3205, allocations: 2.44 MB / 489 MB, free: 2.59 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003781/0.3209, allocations: 150.9 kB / 489.2 MB, free: 2.441 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001834/0.321, allocations: 39.98 kB / 489.2 MB, free: 2.402 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006258/0.3217, allocations: 40.88 kB / 489.3 MB, free: 2.363 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002814/0.3219, allocations: 157 kB / 489.4 MB, free: 2.211 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001174/0.3221, allocations: 71.98 kB / 489.5 MB, free: 2.141 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0009024/0.323, allocations: 0.7514 MB / 490.2 MB, free: 1.387 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.323, allocations: 0 / 490.2 MB, free: 1.387 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.003863/0.3268, allocations: 1.321 MB / 491.6 MB, free: 64 kB / 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.002847/0.3297, allocations: 1.479 MB / 493 MB, free: 14.77 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.003488/0.3332, allocations: 2.184 MB / 495.2 MB, free: 12.61 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.047e-06/0.3332, allocations: 0 / 495.2 MB, free: 12.61 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001524/0.3347, allocations: 1.401 MB / 496.6 MB, free: 11.17 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001505/0.3362, allocations: 402.2 kB / 497 MB, free: 10.79 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.005867/0.3421, allocations: 3.373 MB / 0.4887 GB, free: 7.359 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005688/0.3426, allocations: 333.5 kB / 0.489 GB, free: 7.008 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001055/0.3437, allocations: 425.1 kB / 0.4894 GB, free: 6.594 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004829/0.3442, allocations: 291.8 kB / 0.4897 GB, free: 6.309 MB / 378.7 MB Notification: Performance of SimCode: time 2.484e-06/0.3442, allocations: 4 kB / 0.4897 GB, free: 6.305 MB / 378.7 MB Notification: Performance of Templates: time 0.04767/0.3918, allocations: 45.96 MB / 0.5346 GB, free: 8.816 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.463741288986057]