Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_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.0009353/0.0009353, allocations: 80.94 kB / 19.94 MB, free: 4.547 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.0009019/0.0009019, allocations: 173.4 kB / 23.36 MB, free: 1.133 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.9337/0.9337, allocations: 177.1 MB / 203.8 MB, free: 5.492 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/package.mo): time 0.08991/0.08991, allocations: 17.39 MB / 277.6 MB, free: 11.53 MB / 266.7 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/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_Chemical.Obsolete.Examples.GasSolubility_blood") translateModel(Chemical.Obsolete.Examples.GasSolubility_blood,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Obsolete.Examples.GasSolubility_blood") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 0 / 300.6 MB, free: 1.672 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.19e-05/2.355e-05, allocations: 4.281 kB / 300.6 MB, free: 1.668 MB / 266.7 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.GasSolubility_blood): time 0.005864/0.005887, allocations: 6.814 MB / 307.4 MB, free: 13.14 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.01707/0.02295, allocations: 19.49 MB / 326.9 MB, free: 9.867 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001254/0.02421, allocations: 19.81 kB / 326.9 MB, free: 9.848 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001101/0.02531, allocations: 392.8 kB / 327.3 MB, free: 9.461 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004402/0.02971, allocations: 1.699 MB / 329 MB, free: 7.75 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006058/0.03577, allocations: 2.582 MB / 331.6 MB, free: 5.152 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.002292/0.03806, allocations: 1.88 MB / 333.5 MB, free: 3.266 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009501/0.03901, allocations: 0.8093 MB / 334.3 MB, free: 2.426 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001138/0.04015, allocations: 1.209 MB / 335.5 MB, free: 1.215 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009674/0.04112, allocations: 0.7678 MB / 336.3 MB, free: 452 kB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002371/0.04135, allocations: 156 kB / 336.4 MB, free: 296 kB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004172/0.04553, allocations: 1.977 MB / 338.4 MB, free: 14.31 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002439/0.04577, allocations: 374.8 kB / 338.8 MB, free: 13.94 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005583/0.04633, allocations: 0.5769 MB / 339.3 MB, free: 13.36 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006338/0.05267, allocations: 3.634 MB / 343 MB, free: 9.715 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.916e-06/0.05267, allocations: 0 / 343 MB, free: 9.715 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.302e-06/0.05267, allocations: 0 / 343 MB, free: 9.715 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.161e-05/0.05271, allocations: 0 / 343 MB, free: 9.715 MB / 314.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.002563/0.05528, allocations: 1.973 MB / 344.9 MB, free: 7.707 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.651e-05/0.05531, allocations: 12.03 kB / 344.9 MB, free: 7.695 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001087/0.0564, allocations: 0.6158 MB / 345.6 MB, free: 7.078 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000752/0.05715, allocations: 0.5514 MB / 346.1 MB, free: 6.5 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.04e-05/0.0572, allocations: 98.84 kB / 346.2 MB, free: 6.402 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001403/0.05734, allocations: 132.4 kB / 346.3 MB, free: 6.273 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001065/0.05841, allocations: 1.108 MB / 347.4 MB, free: 5.121 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.202e-05/0.05843, allocations: 192 / 347.4 MB, free: 5.121 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.168e-05/0.0585, allocations: 52.38 kB / 347.5 MB, free: 5.07 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00019/0.05869, allocations: 31.94 kB / 347.5 MB, free: 5.039 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001057/0.05975, allocations: 1.005 MB / 348.5 MB, free: 4.016 MB / 314.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.003828/0.06358, allocations: 2.997 MB / 351.5 MB, free: 0.9609 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001857/0.06543, allocations: 1.928 MB / 353.5 MB, free: 15.02 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002444/0.06568, allocations: 266.7 kB / 353.7 MB, free: 14.76 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003425/0.0691, allocations: 2.443 MB / 356.2 MB, free: 12.3 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.341e-05/0.06912, allocations: 39.22 kB / 356.2 MB, free: 12.25 MB / 330.7 MB Notification: Performance of pre-optimization done (n=72): time 2.074e-06/0.06913, allocations: 0 / 356.2 MB, free: 12.25 MB / 330.7 MB Notification: Performance of matching and sorting (n=89): time 0.005838/0.07496, allocations: 2.614 MB / 358.8 MB, free: 9.602 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.862e-05/0.07499, allocations: 60.41 kB / 358.9 MB, free: 9.527 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00056/0.07555, allocations: 0.8873 MB / 359.8 MB, free: 8.621 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.611e-05/0.07559, allocations: 41.7 kB / 359.8 MB, free: 8.574 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002421/0.07583, allocations: 0.629 MB / 360.4 MB, free: 7.938 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001662/0.076, allocations: 333.2 kB / 360.8 MB, free: 7.609 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002208/0.07622, allocations: 287.3 kB / 361 MB, free: 7.324 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 9.37e-05/0.07631, allocations: 353.8 kB / 361.4 MB, free: 6.973 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000192/0.0765, allocations: 166.7 kB / 361.5 MB, free: 6.809 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004137/0.07692, allocations: 0.6526 MB / 362.2 MB, free: 5.945 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006579/0.07758, allocations: 0.9665 MB / 363.2 MB, free: 4.758 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.571e-06/0.07758, allocations: 4 kB / 363.2 MB, free: 4.754 MB / 330.7 MB Notification: Performance of matching and sorting (n=185) (initialization): time 0.001468/0.07905, allocations: 1.034 MB / 364.2 MB, free: 3.699 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.292e-05/0.07907, allocations: 16.56 kB / 364.2 MB, free: 3.684 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.563e-05/0.07909, allocations: 16.81 kB / 364.2 MB, free: 3.668 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001093/0.08018, allocations: 345.3 kB / 364.6 MB, free: 3.324 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005427/0.08072, allocations: 343.5 kB / 364.9 MB, free: 2.988 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002268/0.08299, allocations: 3.016 MB / 367.9 MB, free: 15.8 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004336/0.08343, allocations: 44 kB / 368 MB, free: 15.76 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.067e-05/0.0835, allocations: 67.98 kB / 368 MB, free: 15.7 MB / 346.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.0002223/0.08372, allocations: 200.2 kB / 368.2 MB, free: 15.49 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001068/0.08383, allocations: 91.88 kB / 368.3 MB, free: 15.4 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001494/0.08532, allocations: 0.8435 MB / 369.2 MB, free: 14.54 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.452e-06/0.08533, allocations: 12 kB / 369.2 MB, free: 14.53 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.525e-06/0.08533, allocations: 0 / 369.2 MB, free: 14.53 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.334e-06/0.08534, allocations: 3.984 kB / 369.2 MB, free: 14.53 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006989/0.08604, allocations: 0.7155 MB / 369.9 MB, free: 13.77 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.08604, allocations: 0 / 369.9 MB, free: 13.77 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003218/0.08636, allocations: 171.9 kB / 370.1 MB, free: 13.6 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001045/0.08741, allocations: 329.3 kB / 370.4 MB, free: 13.27 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.906e-05/0.08744, allocations: 35.86 kB / 370.4 MB, free: 13.24 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001857/0.0893, allocations: 2.909 MB / 373.3 MB, free: 10.16 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.0893, allocations: 0 / 373.3 MB, free: 10.16 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001289/0.09059, allocations: 0.9617 MB / 374.3 MB, free: 9.16 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.194e-05/0.09068, allocations: 95.25 kB / 374.4 MB, free: 9.066 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.132e-05/0.09075, allocations: 16 kB / 374.4 MB, free: 9.051 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002076/0.09096, allocations: 20 kB / 374.4 MB, free: 9.031 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.941e-05/0.09105, allocations: 76.86 kB / 374.5 MB, free: 8.957 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.507e-05/0.09109, allocations: 27.98 kB / 374.5 MB, free: 8.93 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002952/0.09138, allocations: 439.3 kB / 374.9 MB, free: 8.5 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.09138, allocations: 0 / 374.9 MB, free: 8.5 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001379/0.09276, allocations: 0.7947 MB / 375.7 MB, free: 7.703 MB / 346.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.001251/0.09401, allocations: 0.9798 MB / 376.7 MB, free: 6.719 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0009726/0.09498, allocations: 0.9189 MB / 377.6 MB, free: 5.773 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.537e-05/0.09501, allocations: 15.75 kB / 377.7 MB, free: 5.762 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005291/0.09554, allocations: 0.5408 MB / 378.2 MB, free: 5.199 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007696/0.09631, allocations: 252.1 kB / 378.4 MB, free: 4.969 MB / 346.7 MB Error: Error parsing unit kDa: Unit not found Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003109/0.09942, allocations: 1.97 MB / 380.4 MB, free: 2.945 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000171/0.09959, allocations: 209.5 kB / 380.6 MB, free: 2.715 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0006897/0.1003, allocations: 248.2 kB / 380.9 MB, free: 2.484 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006057/0.1009, allocations: 356.5 kB / 381.2 MB, free: 2.133 MB / 346.7 MB Notification: Performance of SimCode: time 8.61e-07/0.1009, allocations: 0 / 381.2 MB, free: 2.133 MB / 346.7 MB Notification: Performance of Templates: time 0.03929/0.1402, allocations: 31.42 MB / 412.6 MB, free: 2.953 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f Chemical_Chemical.Obsolete.Examples.GasSolubility_blood.makefile [Timeout 660] (rm -f Chemical_Chemical.Obsolete.Examples.GasSolubility_blood.pipe ; mkfifo Chemical_Chemical.Obsolete.Examples.GasSolubility_blood.pipe ; head -c 1048576 < Chemical_Chemical.Obsolete.Examples.GasSolubility_blood.pipe >> ../files/Chemical_Chemical.Obsolete.Examples.GasSolubility_blood.sim & ./Chemical_Chemical.Obsolete.Examples.GasSolubility_blood -abortSlowSimulation -alarm=240 -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.GasSolubility_blood.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.563326566014439]