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.0007089/0.0007089, allocations: 76.45 kB / 19.9 MB, free: 16 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.0007264/0.0007264, allocations: 169.8 kB / 23.18 MB, free: 1.383 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.9546/0.9546, allocations: 177.2 MB / 203.6 MB, free: 5.754 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.09941/0.09941, allocations: 17.37 MB / 277.4 MB, free: 11.86 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: Chemical requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001022/0.001022, allocations: 71.89 kB / 412.8 MB, free: 15.86 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3269/0.3279, allocations: 59.83 MB / 472.6 MB, free: 29.82 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.GasSolubility_blood): time 0.00449/0.3324, allocations: 6.238 MB / 478.9 MB, free: 25.68 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.01341/0.3458, allocations: 19.19 MB / 498.1 MB, free: 12.62 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001036/0.3468, allocations: 20.75 kB / 498.1 MB, free: 12.61 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001131/0.348, allocations: 413.2 kB / 498.5 MB, free: 12.4 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004246/0.3522, allocations: 1.635 MB / 0.4884 GB, free: 11.43 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007018/0.3592, allocations: 2.854 MB / 0.4912 GB, free: 9.754 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.002918/0.3621, allocations: 1.828 MB / 0.493 GB, free: 8.855 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001168/0.3633, allocations: 0.7638 MB / 0.4937 GB, free: 8.492 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001547/0.3649, allocations: 1.251 MB / 0.495 GB, free: 8.004 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001599/0.3665, allocations: 0.856 MB / 0.4958 GB, free: 7.703 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003393/0.3668, allocations: 153.1 kB / 0.4959 GB, free: 7.703 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007067/0.3739, allocations: 2.202 MB / 0.4981 GB, free: 7.207 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003007/0.3742, allocations: 364.9 kB / 0.4984 GB, free: 6.977 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001025/0.3752, allocations: 0.6748 MB / 0.4991 GB, free: 6.633 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01019/0.3854, allocations: 4.265 MB / 0.5033 GB, free: 4.824 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/0.3854, allocations: 0 / 0.5033 GB, free: 4.824 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.016e-06/0.3854, allocations: 1.531 kB / 0.5033 GB, free: 4.824 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.12e-05/0.3855, allocations: 3.938 kB / 0.5033 GB, free: 4.82 MB / 410.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.004201/0.3897, allocations: 2.059 MB / 0.5053 GB, free: 3.57 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.341e-05/0.3897, allocations: 10.61 kB / 0.5053 GB, free: 3.57 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001319/0.391, allocations: 382.3 kB / 0.5057 GB, free: 3.438 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001092/0.3921, allocations: 0.693 MB / 0.5063 GB, free: 2.895 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.846e-05/0.3922, allocations: 93.38 kB / 0.5064 GB, free: 2.852 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000178/0.3924, allocations: 138.2 kB / 0.5065 GB, free: 2.797 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00212/0.3945, allocations: 1.78 MB / 0.5083 GB, free: 1.758 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.226e-05/0.3945, allocations: 0 / 0.5083 GB, free: 1.758 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.969e-05/0.3946, allocations: 50.38 kB / 0.5083 GB, free: 1.719 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.719e-05/0.3946, allocations: 29.28 kB / 0.5084 GB, free: 1.719 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002908/0.3975, allocations: 2.494 MB / 0.5108 GB, free: 0.6016 MB / 410.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.005637/0.4032, allocations: 4.18 MB / 0.5149 GB, free: 12.43 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002416/0.4056, allocations: 1.835 MB / 0.5167 GB, free: 10.59 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006082/0.4062, allocations: 0.4908 MB / 0.5172 GB, free: 10.1 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004031/0.4102, allocations: 2.7 MB / 0.5198 GB, free: 7.375 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.922e-05/0.4103, allocations: 39.22 kB / 0.5198 GB, free: 7.324 MB / 426.7 MB Notification: Performance of pre-optimization done (n=72): time 2.885e-06/0.4103, allocations: 0 / 0.5198 GB, free: 7.324 MB / 426.7 MB Notification: Performance of matching and sorting (n=89): time 0.007839/0.4181, allocations: 3.232 MB / 0.523 GB, free: 4.059 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.441e-05/0.4182, allocations: 64.34 kB / 0.523 GB, free: 3.984 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001199/0.4194, allocations: 1.286 MB / 0.5243 GB, free: 2.68 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 5.043e-05/0.4194, allocations: 41.7 kB / 0.5243 GB, free: 2.633 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003985/0.4198, allocations: 0.7061 MB / 0.525 GB, free: 1.918 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002535/0.4201, allocations: 345.1 kB / 0.5254 GB, free: 1.578 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003115/0.4204, allocations: 287.4 kB / 0.5256 GB, free: 1.293 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001368/0.4205, allocations: 353.9 kB / 0.526 GB, free: 0.9414 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006644/0.4212, allocations: 0.5193 MB / 0.5265 GB, free: 432 kB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008992/0.4221, allocations: 1.016 MB / 0.5275 GB, free: 15.2 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001442/0.4235, allocations: 1.445 MB / 0.5289 GB, free: 13.53 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.234e-05/0.4235, allocations: 8 kB / 0.5289 GB, free: 13.52 MB / 442.7 MB Notification: Performance of matching and sorting (n=185) (initialization): time 0.002873/0.4264, allocations: 1.92 MB / 0.5308 GB, free: 11.59 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.838e-05/0.4264, allocations: 12 kB / 0.5308 GB, free: 11.58 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.458e-05/0.4265, allocations: 20.09 kB / 0.5308 GB, free: 11.56 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009736/0.4274, allocations: 249.5 kB / 0.531 GB, free: 11.31 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006497/0.4281, allocations: 351.5 kB / 0.5314 GB, free: 10.97 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003778/0.4319, allocations: 3.592 MB / 0.5349 GB, free: 7.172 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006873/0.4325, allocations: 48 kB / 0.5349 GB, free: 7.125 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000108/0.4326, allocations: 83.97 kB / 0.535 GB, free: 7.043 MB / 442.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.0004823/0.4331, allocations: 297.3 kB / 0.5353 GB, free: 6.742 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001534/0.4333, allocations: 107.3 kB / 0.5354 GB, free: 6.637 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002202/0.4355, allocations: 1.232 MB / 0.5366 GB, free: 5.391 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.436e-06/0.4355, allocations: 12 kB / 0.5366 GB, free: 5.379 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.201e-06/0.4355, allocations: 0 / 0.5366 GB, free: 5.379 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.093e-05/0.4355, allocations: 7.922 kB / 0.5366 GB, free: 5.371 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001015/0.4365, allocations: 0.816 MB / 0.5374 GB, free: 4.504 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.258e-05/0.4365, allocations: 4 kB / 0.5374 GB, free: 4.5 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003687/0.4369, allocations: 175.9 kB / 0.5376 GB, free: 4.328 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008952/0.4378, allocations: 233.5 kB / 0.5378 GB, free: 4.094 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.317e-05/0.4379, allocations: 27.98 kB / 0.5378 GB, free: 4.066 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003102/0.441, allocations: 3.492 MB / 0.5412 GB, free: 384 kB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.441, allocations: 0 / 0.5412 GB, free: 384 kB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00246/0.4434, allocations: 1.592 MB / 0.5428 GB, free: 14.75 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001854/0.4436, allocations: 91.39 kB / 0.5429 GB, free: 14.66 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.244e-05/0.4437, allocations: 23.94 kB / 0.5429 GB, free: 14.64 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002701/0.444, allocations: 20 kB / 0.5429 GB, free: 14.62 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001591/0.4441, allocations: 80.8 kB / 0.543 GB, free: 14.54 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.184e-05/0.4442, allocations: 39.98 kB / 0.543 GB, free: 14.5 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0007521/0.4449, allocations: 0.8895 MB / 0.5439 GB, free: 13.61 MB / 458.7 MB Notification: Performance of sort global known variables: time 2.31e-07/0.4449, allocations: 0 / 0.5439 GB, free: 13.61 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.002354/0.4473, allocations: 0.8452 MB / 0.5447 GB, free: 12.77 MB / 458.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.001704/0.449, allocations: 1.029 MB / 0.5457 GB, free: 11.73 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.001771/0.4508, allocations: 1.364 MB / 0.5471 GB, free: 10.34 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 3.417e-06/0.4508, allocations: 0 / 0.5471 GB, free: 10.34 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006347/0.4514, allocations: 0.6395 MB / 0.5477 GB, free: 9.672 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007443/0.4522, allocations: 235.9 kB / 0.5479 GB, free: 9.441 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003017/0.4552, allocations: 2.123 MB / 0.55 GB, free: 7.281 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004578/0.4556, allocations: 500 kB / 0.5505 GB, free: 6.758 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0007278/0.4564, allocations: 257.5 kB / 0.5507 GB, free: 6.512 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002836/0.4566, allocations: 171.9 kB / 0.5509 GB, free: 6.344 MB / 458.7 MB Notification: Performance of SimCode: time 1.783e-06/0.4566, allocations: 4 kB / 0.5509 GB, free: 6.34 MB / 458.7 MB Notification: Performance of Templates: time 0.03677/0.4934, allocations: 28.59 MB / 0.5788 GB, free: 9.941 MB / 490.7 MB " [Timeout remaining time 659] 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=480 -s cvode -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.GasSolubility_blood.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.096746617928147] Failed to read output from testmodel.py, exit status != 0: 0.5016034750733525 0.511586067 0.12408637899999994 Calling exit ...