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.002313/0.002313, allocations: 93.47 kB / 19.44 MB, free: 332 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.002022/0.002022, allocations: 173.2 kB / 22.76 MB, free: 1.656 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 1.607/1.607, allocations: 177.1 MB / 203.1 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 178] 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.1463/0.1463, allocations: 17.46 MB / 277 MB, free: 11.57 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 2.043e-06/2.043e-06, allocations: 0 / 352.8 MB, free: 10.17 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.307e-05/3.512e-05, allocations: 8.781 kB / 352.8 MB, free: 10.16 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.GasSolubility_blood): time 0.01089/0.01092, allocations: 6.919 MB / 359.7 MB, free: 3.211 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.03438/0.0453, allocations: 21.81 MB / 381.5 MB, free: 13.32 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001402/0.04671, allocations: 19.88 kB / 381.6 MB, free: 13.3 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001747/0.04845, allocations: 416.6 kB / 382 MB, free: 12.89 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005798/0.05425, allocations: 1.683 MB / 383.7 MB, free: 11.19 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.009228/0.06348, allocations: 2.954 MB / 386.6 MB, free: 8.219 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.00366/0.06714, allocations: 1.883 MB / 388.5 MB, free: 6.332 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001616/0.06876, allocations: 0.7937 MB / 389.3 MB, free: 5.52 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002285/0.07104, allocations: 1.213 MB / 390.5 MB, free: 4.305 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001761/0.0728, allocations: 0.7756 MB / 391.3 MB, free: 3.527 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004617/0.07326, allocations: 155.9 kB / 391.4 MB, free: 3.375 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007078/0.08034, allocations: 2.218 MB / 393.6 MB, free: 1.152 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007181/0.08106, allocations: 374.8 kB / 394 MB, free: 0.7852 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001423/0.08248, allocations: 0.5769 MB / 394.6 MB, free: 212 kB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01197/0.09445, allocations: 4.526 MB / 399.1 MB, free: 11.66 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.09445, allocations: 0 / 399.1 MB, free: 11.66 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.242e-06/0.09445, allocations: 0 / 399.1 MB, free: 11.66 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.881e-05/0.0945, allocations: 4 kB / 399.1 MB, free: 11.66 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: 314 * Number of variables: 314 Notification: Performance of Generate backend data structure: time 0.004774/0.09928, allocations: 2.231 MB / 401.3 MB, free: 9.383 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.367e-05/0.09932, allocations: 8.031 kB / 401.4 MB, free: 9.375 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002248/0.1016, allocations: 0.6343 MB / 402 MB, free: 8.738 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001544/0.1031, allocations: 0.714 MB / 402.7 MB, free: 7.996 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.46e-05/0.1032, allocations: 90.84 kB / 402.8 MB, free: 7.906 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002602/0.1035, allocations: 136.3 kB / 402.9 MB, free: 7.773 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002893/0.1064, allocations: 1.518 MB / 404.4 MB, free: 6.211 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.025e-05/0.1064, allocations: 192 / 404.4 MB, free: 6.211 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001399/0.1065, allocations: 56.31 kB / 404.5 MB, free: 6.156 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.432e-05/0.1066, allocations: 35.94 kB / 404.5 MB, free: 6.121 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003909/0.1105, allocations: 1.973 MB / 406.5 MB, free: 4.141 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.1503/0.2607, allocations: 4.421 MB / 410.9 MB, free: 63.47 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003721/0.2645, allocations: 1.823 MB / 412.8 MB, free: 63.4 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008316/0.2653, allocations: 490.6 kB / 413.2 MB, free: 63.38 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006764/0.2721, allocations: 2.924 MB / 416.2 MB, free: 62.35 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.904e-05/0.2721, allocations: 45.34 kB / 416.2 MB, free: 62.3 MB / 330.7 MB Notification: Performance of pre-optimization done (n=72): time 4.138e-06/0.2721, allocations: 0 / 416.2 MB, free: 62.3 MB / 330.7 MB Notification: Performance of matching and sorting (n=89): time 0.01505/0.2871, allocations: 3.335 MB / 419.5 MB, free: 61.25 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.612e-05/0.2872, allocations: 63.94 kB / 419.6 MB, free: 61.18 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001225/0.2884, allocations: 1.159 MB / 420.8 MB, free: 60.71 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 7.777e-05/0.2885, allocations: 41.58 kB / 420.8 MB, free: 60.66 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003452/0.2888, allocations: 0.7932 MB / 421.6 MB, free: 60.11 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000216/0.289, allocations: 354.8 kB / 421.9 MB, free: 59.88 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003589/0.2894, allocations: 323.3 kB / 422.3 MB, free: 59.72 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001206/0.2895, allocations: 0.5477 MB / 422.8 MB, free: 59.21 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006118/0.2901, allocations: 378 kB / 423.2 MB, free: 59.1 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008474/0.291, allocations: 1.088 MB / 424.3 MB, free: 58.09 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001424/0.2924, allocations: 1.544 MB / 425.8 MB, free: 56.85 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.788e-06/0.2924, allocations: 4.469 kB / 425.8 MB, free: 56.85 MB / 330.7 MB Notification: Performance of matching and sorting (n=185) (initialization): time 0.004088/0.2965, allocations: 1.699 MB / 427.5 MB, free: 56.24 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.098e-05/0.2965, allocations: 12.03 kB / 427.5 MB, free: 56.24 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.918e-05/0.2966, allocations: 21.2 kB / 427.5 MB, free: 56.23 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003141/0.2997, allocations: 387.2 kB / 427.9 MB, free: 55.95 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00114/0.3008, allocations: 356.1 kB / 428.3 MB, free: 55.65 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005017/0.3059, allocations: 4.824 MB / 433.1 MB, free: 50.77 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001196/0.3071, allocations: 48 kB / 433.1 MB, free: 50.73 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001291/0.3072, allocations: 83.5 kB / 433.2 MB, free: 50.65 MB / 330.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.0004843/0.3077, allocations: 328.9 kB / 433.5 MB, free: 50.33 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002442/0.3079, allocations: 135.2 kB / 433.7 MB, free: 50.2 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003577/0.3115, allocations: 1.272 MB / 434.9 MB, free: 49.13 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.174e-05/0.3115, allocations: 8 kB / 434.9 MB, free: 49.12 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/0.3115, allocations: 0 / 434.9 MB, free: 49.12 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.301e-05/0.3115, allocations: 7.812 kB / 435 MB, free: 49.12 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00152/0.313, allocations: 0.9883 MB / 435.9 MB, free: 48.09 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.55e-06/0.3131, allocations: 0 / 435.9 MB, free: 48.09 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006514/0.3137, allocations: 187.8 kB / 436.1 MB, free: 47.91 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003011/0.3167, allocations: 363 kB / 436.5 MB, free: 47.55 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001303/0.3168, allocations: 39.92 kB / 436.5 MB, free: 47.51 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004187/0.321, allocations: 4.71 MB / 441.2 MB, free: 42.57 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/0.321, allocations: 4 kB / 441.2 MB, free: 42.56 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003872/0.3249, allocations: 1.71 MB / 442.9 MB, free: 40.81 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003052/0.3252, allocations: 97.38 kB / 443 MB, free: 40.72 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001413/0.3254, allocations: 20 kB / 443.1 MB, free: 40.7 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005222/0.3259, allocations: 20 kB / 443.1 MB, free: 40.68 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001707/0.326, allocations: 84.62 kB / 443.2 MB, free: 40.6 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.278e-05/0.3261, allocations: 35.98 kB / 443.2 MB, free: 40.56 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0006361/0.3267, allocations: 0.6981 MB / 443.9 MB, free: 39.87 MB / 330.7 MB Notification: Performance of sort global known variables: time 9e-08/0.3267, allocations: 0 / 443.9 MB, free: 39.87 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002249/0.329, allocations: 0.8442 MB / 444.7 MB, free: 39.12 MB / 330.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.001661/0.3307, allocations: 1.07 MB / 445.8 MB, free: 38.18 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002033/0.3327, allocations: 1.425 MB / 447.2 MB, free: 36.73 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.3327, allocations: 0 / 447.2 MB, free: 36.73 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008228/0.3335, allocations: 0.8067 MB / 448 MB, free: 35.89 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001184/0.3347, allocations: 255.3 kB / 448.3 MB, free: 35.65 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002875/0.3376, allocations: 2.102 MB / 450.4 MB, free: 33.5 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003186/0.3379, allocations: 496 kB / 450.9 MB, free: 32.98 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0007702/0.3387, allocations: 250.9 kB / 451.1 MB, free: 32.74 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002941/0.339, allocations: 175.9 kB / 451.3 MB, free: 32.57 MB / 330.7 MB Notification: Performance of SimCode: time 1.593e-06/0.339, allocations: 0 / 451.3 MB, free: 32.57 MB / 330.7 MB Notification: Performance of Templates: time 0.03827/0.3772, allocations: 28.98 MB / 480.3 MB, free: 3.801 MB / 330.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: 6.168651205953211]