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.001168/0.001168, allocations: 73.97 kB / 20.65 MB, free: 3.844 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.001335/0.001335, allocations: 169 kB / 24.06 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 1.009/1.009, allocations: 177.1 MB / 204.5 MB, free: 5.508 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.0922/0.0922, allocations: 17.46 MB / 278.5 MB, free: 11.4 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.532e-06/1.532e-06, allocations: 0 / 354.8 MB, free: 9.574 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.876e-05/3.03e-05, allocations: 2.312 kB / 354.8 MB, free: 9.57 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.GasSolubility): time 0.01117/0.0112, allocations: 10.03 MB / 364.8 MB, free: 15.5 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.02562/0.03683, allocations: 30.12 MB / 394.9 MB, free: 1.266 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001546/0.03837, allocations: 31.75 kB / 395 MB, free: 1.234 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001343/0.03972, allocations: 0.6045 MB / 395.6 MB, free: 0.625 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006243/0.04596, allocations: 2.711 MB / 398.3 MB, free: 13.89 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.009235/0.0552, allocations: 4.123 MB / 402.4 MB, free: 9.746 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.00386/0.05906, allocations: 3.112 MB / 405.5 MB, free: 6.621 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001728/0.06078, allocations: 1.418 MB / 406.9 MB, free: 5.16 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002434/0.06322, allocations: 2.055 MB / 409 MB, free: 3.102 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001891/0.06511, allocations: 1.333 MB / 410.3 MB, free: 1.766 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005057/0.06561, allocations: 264 kB / 410.6 MB, free: 1.508 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.139/0.2046, allocations: 3.216 MB / 413.8 MB, free: 24.66 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009408/0.2055, allocations: 0.6235 MB / 414.4 MB, free: 24.66 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001957/0.2075, allocations: 0.9689 MB / 415.4 MB, free: 24.66 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01383/0.2213, allocations: 5.959 MB / 421.3 MB, free: 24.33 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.67e-06/0.2213, allocations: 1.281 kB / 421.3 MB, free: 24.33 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.172e-06/0.2213, allocations: 0 / 421.3 MB, free: 24.33 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001145/0.2214, allocations: 0 / 421.3 MB, free: 24.33 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.006966/0.2284, allocations: 3.306 MB / 424.6 MB, free: 22.8 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.019e-05/0.2284, allocations: 9.969 kB / 424.7 MB, free: 22.8 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002808/0.2312, allocations: 0.9781 MB / 425.6 MB, free: 22.47 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002284/0.2335, allocations: 1.097 MB / 426.7 MB, free: 22.13 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001095/0.2336, allocations: 159.5 kB / 426.9 MB, free: 22.12 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003244/0.234, allocations: 221 kB / 427.1 MB, free: 22.12 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002524/0.2365, allocations: 1.849 MB / 428.9 MB, free: 21.88 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.424e-05/0.2365, allocations: 192 / 428.9 MB, free: 21.88 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002005/0.2367, allocations: 85.47 kB / 429 MB, free: 21.88 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.755e-05/0.2368, allocations: 59.34 kB / 429.1 MB, free: 21.87 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00292/0.2397, allocations: 1.92 MB / 431 MB, free: 21.78 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.01039/0.2501, allocations: 6.099 MB / 437.1 MB, free: 20.24 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004279/0.2544, allocations: 3.436 MB / 440.5 MB, free: 19.76 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007432/0.2551, allocations: 0.5497 MB / 441.1 MB, free: 19.69 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0114/0.2665, allocations: 4.653 MB / 445.7 MB, free: 16.77 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.785e-05/0.2665, allocations: 46.7 kB / 445.8 MB, free: 16.71 MB / 330.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006969/0.2672, allocations: 170.9 kB / 446 MB, free: 16.54 MB / 330.7 MB Notification: Performance of pre-optimization done (n=138): time 5.901e-06/0.2672, allocations: 0 / 446 MB, free: 16.54 MB / 330.7 MB Notification: Performance of matching and sorting (n=170): time 0.02084/0.2881, allocations: 4.769 MB / 450.7 MB, free: 11.81 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.973e-05/0.2881, allocations: 72.78 kB / 450.8 MB, free: 11.73 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008353/0.289, allocations: 1.295 MB / 452.1 MB, free: 10.6 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 7.835e-05/0.289, allocations: 49.7 kB / 452.1 MB, free: 10.54 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003845/0.2894, allocations: 1.142 MB / 453.3 MB, free: 9.453 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002808/0.2897, allocations: 0.6184 MB / 453.9 MB, free: 8.871 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000368/0.2901, allocations: 491.1 kB / 454.4 MB, free: 8.434 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 4.491e-05/0.2901, allocations: 476.8 kB / 454.9 MB, free: 7.965 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003653/0.2905, allocations: 344.7 kB / 455.2 MB, free: 7.625 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006471/0.2911, allocations: 1.466 MB / 456.7 MB, free: 5.73 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001285/0.2924, allocations: 2.024 MB / 458.7 MB, free: 3.379 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-05/0.2924, allocations: 12 kB / 458.7 MB, free: 3.367 MB / 330.7 MB Notification: Performance of matching and sorting (n=317) (initialization): time 0.003519/0.2959, allocations: 2.257 MB / 460.9 MB, free: 1.258 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.25e-05/0.296, allocations: 16 kB / 461 MB, free: 1.242 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.02e-05/0.296, allocations: 31.38 kB / 461 MB, free: 1.215 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002607/0.2986, allocations: 0.6695 MB / 461.7 MB, free: 0.5312 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001137/0.2997, allocations: 0.5925 MB / 462.3 MB, free: 15.98 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00652/0.3062, allocations: 8.609 MB / 470.9 MB, free: 7.004 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001389/0.3076, allocations: 80 kB / 470.9 MB, free: 6.926 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001503/0.3078, allocations: 127.5 kB / 471.1 MB, free: 6.805 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.000586/0.3084, allocations: 319.2 kB / 471.4 MB, free: 6.52 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003191/0.3087, allocations: 226.8 kB / 471.6 MB, free: 6.297 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003458/0.3121, allocations: 1.88 MB / 473.5 MB, free: 4.418 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.096e-05/0.3122, allocations: 20 kB / 473.5 MB, free: 4.398 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.489e-06/0.3122, allocations: 0 / 473.5 MB, free: 4.398 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.259e-05/0.3122, allocations: 11.03 kB / 473.5 MB, free: 4.391 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00151/0.3137, allocations: 1.357 MB / 474.9 MB, free: 3.203 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.536e-06/0.3137, allocations: 0 / 474.9 MB, free: 3.203 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007069/0.3144, allocations: 345.5 kB / 475.2 MB, free: 2.883 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00265/0.317, allocations: 0.6534 MB / 475.9 MB, free: 2.219 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001048/0.3172, allocations: 59.97 kB / 475.9 MB, free: 2.16 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005321/0.3225, allocations: 8.431 MB / 484.3 MB, free: 9.355 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.118e-06/0.3225, allocations: 4 kB / 484.4 MB, free: 9.352 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003957/0.3264, allocations: 2.193 MB / 486.5 MB, free: 7.133 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002911/0.3267, allocations: 162.7 kB / 486.7 MB, free: 6.977 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001478/0.3269, allocations: 35.47 kB / 486.7 MB, free: 6.945 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004528/0.3273, allocations: 43.98 kB / 486.8 MB, free: 6.902 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002042/0.3275, allocations: 149.7 kB / 486.9 MB, free: 6.754 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.206e-05/0.3276, allocations: 59.97 kB / 487 MB, free: 6.695 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0005137/0.3281, allocations: 0.7001 MB / 487.7 MB, free: 6.047 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.3281, allocations: 0 / 487.7 MB, free: 6.047 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.003157/0.3313, allocations: 1.313 MB / 489 MB, free: 4.73 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.002108/0.3334, allocations: 1.558 MB / 490.6 MB, free: 3.363 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001958/0.3354, allocations: 2.012 MB / 492.6 MB, free: 1.398 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.3354, allocations: 1.938 kB / 492.6 MB, free: 1.398 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001228/0.3366, allocations: 1.336 MB / 493.9 MB, free: 48 kB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00105/0.3376, allocations: 400.1 kB / 494.3 MB, free: 15.66 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.004071/0.3417, allocations: 3.304 MB / 497.6 MB, free: 12.33 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002525/0.342, allocations: 338.2 kB / 497.9 MB, free: 11.97 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001015/0.343, allocations: 430.5 kB / 498.4 MB, free: 11.55 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008695/0.3438, allocations: 0.6067 MB / 499 MB, free: 10.95 MB / 378.7 MB Notification: Performance of SimCode: time 9.82e-07/0.3438, allocations: 0 / 499 MB, free: 10.95 MB / 378.7 MB Notification: Performance of Templates: time 0.05634/0.4002, allocations: 52.95 MB / 0.539 GB, free: 6.539 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.627891102805734]