Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_Chemical.Obsolete.Examples.GasSolubility_blood.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.001319/0.001319, 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.001531/0.001531, 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 0.9619/0.9619, allocations: 177.1 MB / 204.5 MB, free: 5.496 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.09957/0.09957, allocations: 17.46 MB / 278.5 MB, free: 11.39 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_blood,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Obsolete.Examples.GasSolubility_blood") translateModel(Chemical.Obsolete.Examples.GasSolubility_blood,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Obsolete.Examples.GasSolubility_blood") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.242e-06/1.242e-06, allocations: 0 / 354.8 MB, free: 10.64 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.224e-05/1.349e-05, allocations: 2.312 kB / 354.8 MB, free: 10.63 MB / 330.7 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.GasSolubility_blood): time 0.005291/0.005304, allocations: 6.805 MB / 361.6 MB, free: 3.801 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.01315/0.01845, allocations: 19.19 MB / 380.8 MB, free: 0.543 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004379/0.01889, allocations: 15.88 kB / 380.8 MB, free: 0.5273 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006907/0.01958, allocations: 388.9 kB / 381.2 MB, free: 148 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002424/0.02201, allocations: 1.691 MB / 382.9 MB, free: 14.44 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004614/0.02662, allocations: 2.543 MB / 385.4 MB, free: 11.88 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001389/0.02801, allocations: 1.902 MB / 387.3 MB, free: 9.973 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006262/0.02864, allocations: 0.7858 MB / 388.1 MB, free: 9.176 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008718/0.02951, allocations: 1.213 MB / 389.3 MB, free: 7.961 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007021/0.03021, allocations: 0.7834 MB / 390.1 MB, free: 7.176 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001755/0.03038, allocations: 152 kB / 390.2 MB, free: 7.027 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003194/0.03358, allocations: 1.976 MB / 392.2 MB, free: 5.047 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002249/0.0338, allocations: 374.8 kB / 392.6 MB, free: 4.68 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004338/0.03424, allocations: 0.5768 MB / 393.1 MB, free: 4.102 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003599/0.03784, allocations: 3.634 MB / 396.8 MB, free: 464 kB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.257e-06/0.03784, allocations: 0 / 396.8 MB, free: 464 kB / 362.7 MB Notification: Performance of FrontEnd: time 2.053e-06/0.03784, allocations: 3.984 kB / 396.8 MB, free: 460 kB / 362.7 MB Notification: Performance of Transformations before backend: time 1.125e-05/0.03785, allocations: 0 / 396.8 MB, free: 460 kB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 314 * Number of variables: 314 Notification: Performance of Generate backend data structure: time 0.002027/0.03988, allocations: 2.114 MB / 398.9 MB, free: 14.29 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.923e-05/0.03991, allocations: 8.031 kB / 398.9 MB, free: 14.28 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00106/0.04097, allocations: 0.6305 MB / 399.5 MB, free: 13.65 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006989/0.04167, allocations: 0.714 MB / 400.3 MB, free: 12.91 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.687e-05/0.04172, allocations: 90.84 kB / 400.3 MB, free: 12.82 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000137/0.04185, allocations: 132.3 kB / 400.5 MB, free: 12.69 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001037/0.04289, allocations: 1.104 MB / 401.6 MB, free: 11.54 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.917e-05/0.04291, allocations: 192 / 401.6 MB, free: 11.54 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.195e-05/0.04299, allocations: 52.38 kB / 401.6 MB, free: 11.48 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.725e-05/0.04301, allocations: 31.94 kB / 401.7 MB, free: 11.45 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001149/0.04416, allocations: 1.166 MB / 402.8 MB, free: 10.27 MB / 378.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.003943/0.0481, allocations: 3.669 MB / 406.5 MB, free: 6.527 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002041/0.05014, allocations: 2.003 MB / 408.5 MB, free: 4.512 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002977/0.05044, allocations: 309.5 kB / 408.8 MB, free: 4.211 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003129/0.05357, allocations: 2.723 MB / 411.5 MB, free: 1.465 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.341e-05/0.05359, allocations: 42.05 kB / 411.6 MB, free: 1.414 MB / 378.7 MB Notification: Performance of pre-optimization done (n=72): time 1.573e-06/0.05359, allocations: 4 kB / 411.6 MB, free: 1.41 MB / 378.7 MB Notification: Performance of matching and sorting (n=89): time 0.006134/0.05973, allocations: 2.585 MB / 414.1 MB, free: 14.78 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.836e-05/0.05976, allocations: 60.41 kB / 414.2 MB, free: 14.71 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006265/0.06038, allocations: 0.9513 MB / 415.2 MB, free: 13.74 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 4.219e-05/0.06042, allocations: 41.7 kB / 415.2 MB, free: 13.69 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003316/0.06076, allocations: 0.7555 MB / 416 MB, free: 12.93 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001715/0.06093, allocations: 341.1 kB / 416.3 MB, free: 12.59 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002624/0.06119, allocations: 297 kB / 416.6 MB, free: 12.29 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001428/0.06133, allocations: 0.5315 MB / 417.1 MB, free: 11.75 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002274/0.06156, allocations: 191.8 kB / 417.3 MB, free: 11.56 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005179/0.06208, allocations: 0.8759 MB / 418.2 MB, free: 10.39 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000838/0.06292, allocations: 1.165 MB / 419.3 MB, free: 8.934 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.771e-06/0.06292, allocations: 7.938 kB / 419.3 MB, free: 8.926 MB / 394.7 MB Notification: Performance of matching and sorting (n=185) (initialization): time 0.001949/0.06487, allocations: 1.293 MB / 420.6 MB, free: 7.613 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.089e-05/0.06489, allocations: 15.94 kB / 420.7 MB, free: 7.598 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.337e-05/0.0649, allocations: 16 kB / 420.7 MB, free: 7.582 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001383/0.06629, allocations: 347.1 kB / 421 MB, free: 7.234 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005734/0.06686, allocations: 355.5 kB / 421.4 MB, free: 6.887 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002848/0.06971, allocations: 4.317 MB / 425.7 MB, free: 2.344 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000417/0.07013, allocations: 52.03 kB / 425.7 MB, free: 2.293 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.284e-05/0.0702, allocations: 63.98 kB / 425.8 MB, free: 2.23 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 71 * 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 (179): * Single equations (assignments): 177 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0002254/0.07042, allocations: 248.1 kB / 426 MB, free: 1.977 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001491/0.07057, allocations: 143.2 kB / 426.2 MB, free: 1.836 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001744/0.07232, allocations: 0.9831 MB / 427.2 MB, free: 0.8359 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.065e-06/0.07233, allocations: 12 kB / 427.2 MB, free: 0.8242 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.436e-06/0.07233, allocations: 0 / 427.2 MB, free: 0.8242 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.564e-06/0.07234, allocations: 3.984 kB / 427.2 MB, free: 0.8203 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000816/0.07315, allocations: 0.8105 MB / 428 MB, free: 15.95 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.137e-06/0.07316, allocations: 7.938 kB / 428 MB, free: 15.94 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003552/0.07351, allocations: 175.8 kB / 428.2 MB, free: 15.77 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00131/0.07482, allocations: 339.1 kB / 428.5 MB, free: 15.43 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.59e-05/0.07487, allocations: 31.98 kB / 428.5 MB, free: 15.4 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002551/0.07742, allocations: 4.212 MB / 432.7 MB, free: 10.96 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.07742, allocations: 3.938 kB / 432.7 MB, free: 10.96 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001721/0.07914, allocations: 1.214 MB / 434 MB, free: 9.695 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.554e-05/0.07923, allocations: 95.27 kB / 434 MB, free: 9.602 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.12e-05/0.07931, allocations: 20 kB / 434.1 MB, free: 9.582 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002425/0.07955, allocations: 16 kB / 434.1 MB, free: 9.566 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.71e-05/0.07965, allocations: 84.8 kB / 434.2 MB, free: 9.484 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.814e-05/0.07969, allocations: 27.98 kB / 434.2 MB, free: 9.457 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003423/0.08003, allocations: 0.5534 MB / 434.7 MB, free: 8.902 MB / 410.7 MB Notification: Performance of sort global known variables: time 3e-08/0.08003, allocations: 0 / 434.7 MB, free: 8.902 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001432/0.08146, allocations: 0.7831 MB / 435.5 MB, free: 8.117 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 5 (blood_plasma.temperature,CO2_unbound_plasma.logn,O2_unbound_plasma.logn,water.logn,others.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 (93): * Single equations (assignments): 91 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001031/0.08249, allocations: 0.9965 MB / 436.5 MB, free: 7.117 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0009624/0.08345, allocations: 1.082 MB / 437.6 MB, free: 6.004 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.08346, allocations: 4.125 kB / 437.6 MB, free: 6 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004759/0.08393, allocations: 0.6745 MB / 438.3 MB, free: 5.289 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006318/0.08456, allocations: 251.2 kB / 438.5 MB, free: 5.051 MB / 410.7 MB Error: Error parsing unit kDa: Unit not found Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002339/0.0869, allocations: 1.959 MB / 440.5 MB, free: 3.031 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001325/0.08703, allocations: 209.5 kB / 440.7 MB, free: 2.801 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0005079/0.08754, allocations: 263.2 kB / 440.9 MB, free: 2.547 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004899/0.08803, allocations: 397.4 kB / 441.3 MB, free: 2.156 MB / 410.7 MB Notification: Performance of SimCode: time 7.62e-07/0.08803, allocations: 0 / 441.3 MB, free: 2.156 MB / 410.7 MB Notification: Performance of Templates: time 0.1444/0.2324, allocations: 31.9 MB / 473.2 MB, free: 109.1 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f Chemical_master_Chemical.Obsolete.Examples.GasSolubility_blood.makefile [Timeout 660] (rm -f Chemical_master_Chemical.Obsolete.Examples.GasSolubility_blood.pipe ; mkfifo Chemical_master_Chemical.Obsolete.Examples.GasSolubility_blood.pipe ; head -c 1048576 < Chemical_master_Chemical.Obsolete.Examples.GasSolubility_blood.pipe >> ../files/Chemical_master_Chemical.Obsolete.Examples.GasSolubility_blood.sim & ./Chemical_master_Chemical.Obsolete.Examples.GasSolubility_blood -abortSlowSimulation -alarm=240 -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.GasSolubility_blood.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.8898265990428627]