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.001942/0.001942, allocations: 109.2 kB / 18.94 MB, free: 2.949 MB / 14.72 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.002556/0.002556, allocations: 220 kB / 22.26 MB, free: 5.121 MB / 14.72 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.582/1.582, allocations: 230.6 MB / 256 MB, free: 7.984 MB / 206.1 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.1426/0.1426, allocations: 23.9 MB / 336.3 MB, free: 11.15 MB / 270.1 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: 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.002107/0.002107, allocations: 67.89 kB / 471.7 MB, free: 7.145 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3303/0.3324, allocations: 59.87 MB / 0.5191 GB, free: 9.812 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.GasSolubility_blood): time 0.007458/0.3399, allocations: 7.084 MB / 0.526 GB, free: 4.793 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02757/0.3674, allocations: 21.93 MB / 0.5475 GB, free: 4.805 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001381/0.3688, allocations: 21.44 kB / 0.5475 GB, free: 4.793 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001727/0.3705, allocations: 452.9 kB / 0.5479 GB, free: 4.547 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006324/0.3769, allocations: 1.671 MB / 0.5495 GB, free: 3.543 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01108/0.3879, allocations: 2.852 MB / 0.5523 GB, free: 1.867 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003742/0.3917, allocations: 1.827 MB / 0.5541 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001453/0.3931, allocations: 0.7632 MB / 0.5549 GB, free: 348 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00175/0.3949, allocations: 0.8749 MB / 0.5557 GB, free: 15.93 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002164/0.397, allocations: 0.9589 MB / 0.5566 GB, free: 15.35 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004719/0.3975, allocations: 153 kB / 0.5568 GB, free: 15.35 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009777/0.4073, allocations: 2.349 MB / 0.5591 GB, free: 14.47 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007741/0.4081, allocations: 364.9 kB / 0.5594 GB, free: 14.18 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002088/0.4102, allocations: 0.7895 MB / 0.5602 GB, free: 13.66 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01466/0.4248, allocations: 4.262 MB / 0.5644 GB, free: 11 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.4248, allocations: 0 / 0.5644 GB, free: 11 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.4248, allocations: 0 / 0.5644 GB, free: 11 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.083e-05/0.4249, allocations: 1.562 kB / 0.5644 GB, free: 11 MB / 414.1 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.005655/0.4306, allocations: 2.051 MB / 0.5664 GB, free: 9.395 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.517e-05/0.4306, allocations: 8.031 kB / 0.5664 GB, free: 9.387 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002007/0.4326, allocations: 399.1 kB / 0.5668 GB, free: 8.996 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001707/0.4343, allocations: 0.7003 MB / 0.5674 GB, free: 8.27 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.888e-05/0.4344, allocations: 90.84 kB / 0.5675 GB, free: 8.18 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002263/0.4346, allocations: 132.3 kB / 0.5677 GB, free: 8.051 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002933/0.4376, allocations: 1.783 MB / 0.5694 GB, free: 6.227 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.623e-05/0.4376, allocations: 0 / 0.5694 GB, free: 6.227 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001357/0.4377, allocations: 56 kB / 0.5694 GB, free: 6.172 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.1e-05/0.4378, allocations: 32 kB / 0.5695 GB, free: 6.141 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003724/0.4415, allocations: 2.516 MB / 0.5719 GB, free: 3.617 MB / 414.1 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.008972/0.4505, allocations: 5.089 MB / 0.5769 GB, free: 14.34 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003729/0.4542, allocations: 1.886 MB / 0.5787 GB, free: 12.45 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008361/0.455, allocations: 494.7 kB / 0.5792 GB, free: 11.96 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006743/0.4618, allocations: 2.859 MB / 0.582 GB, free: 9.074 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.166e-05/0.4618, allocations: 39.22 kB / 0.582 GB, free: 9.023 MB / 430.1 MB Notification: Performance of pre-optimization done (n=72): time 2.114e-06/0.4618, allocations: 4 kB / 0.5821 GB, free: 9.02 MB / 430.1 MB Notification: Performance of matching and sorting (n=89): time 0.01538/0.4772, allocations: 3.236 MB / 0.5852 GB, free: 5.75 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.538e-05/0.4772, allocations: 60.41 kB / 0.5853 GB, free: 5.68 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001678/0.4789, allocations: 1.32 MB / 0.5866 GB, free: 4.336 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.835e-05/0.479, allocations: 41.7 kB / 0.5866 GB, free: 4.289 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005397/0.4795, allocations: 0.7022 MB / 0.5873 GB, free: 3.578 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002952/0.4798, allocations: 341.2 kB / 0.5876 GB, free: 3.242 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004158/0.4802, allocations: 291.4 kB / 0.5879 GB, free: 2.949 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001786/0.4804, allocations: 357.9 kB / 0.5882 GB, free: 2.594 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008423/0.4813, allocations: 0.5232 MB / 0.5887 GB, free: 2.07 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001303/0.4826, allocations: 1.012 MB / 0.5897 GB, free: 0.8438 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002029/0.4846, allocations: 1.441 MB / 0.5911 GB, free: 15.18 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.864e-06/0.4846, allocations: 8 kB / 0.5911 GB, free: 15.18 MB / 446.1 MB Notification: Performance of matching and sorting (n=185) (initialization): time 0.004982/0.4896, allocations: 1.94 MB / 0.593 GB, free: 13.22 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.923e-05/0.4896, allocations: 15.94 kB / 0.5931 GB, free: 13.21 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.46e-05/0.4896, allocations: 16 kB / 0.5931 GB, free: 13.19 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002149/0.4918, allocations: 245.6 kB / 0.5933 GB, free: 12.95 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00116/0.4929, allocations: 351.5 kB / 0.5936 GB, free: 12.6 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005874/0.4988, allocations: 3.666 MB / 0.5972 GB, free: 8.707 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001096/0.4999, allocations: 44 kB / 0.5973 GB, free: 8.664 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000155/0.5001, allocations: 83.97 kB / 0.5973 GB, free: 8.582 MB / 446.1 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.0005202/0.5006, allocations: 297.9 kB / 0.5976 GB, free: 8.281 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000235/0.5008, allocations: 123.1 kB / 0.5977 GB, free: 8.16 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004079/0.5049, allocations: 1.244 MB / 0.599 GB, free: 6.906 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.176e-05/0.5049, allocations: 8 kB / 0.599 GB, free: 6.898 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.5049, allocations: 0 / 0.599 GB, free: 6.898 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.263e-05/0.5049, allocations: 11.92 kB / 0.599 GB, free: 6.887 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001789/0.5067, allocations: 1.065 MB / 0.6 GB, free: 5.762 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.492e-06/0.5067, allocations: 4 kB / 0.6 GB, free: 5.758 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007051/0.5074, allocations: 171.8 kB / 0.6002 GB, free: 5.59 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002092/0.5095, allocations: 237.4 kB / 0.6004 GB, free: 5.352 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.219e-05/0.5096, allocations: 35.92 kB / 0.6004 GB, free: 5.316 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005561/0.5152, allocations: 3.553 MB / 0.6039 GB, free: 1.539 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.619e-06/0.5152, allocations: 4.031 kB / 0.6039 GB, free: 1.535 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00467/0.5198, allocations: 1.604 MB / 0.6055 GB, free: 15.9 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000414/0.5203, allocations: 99.28 kB / 0.6056 GB, free: 15.8 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001598/0.5204, allocations: 24 kB / 0.6056 GB, free: 15.78 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005688/0.521, allocations: 27.92 kB / 0.6056 GB, free: 15.75 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001835/0.5212, allocations: 76.8 kB / 0.6057 GB, free: 15.68 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.29e-05/0.5213, allocations: 39.98 kB / 0.6057 GB, free: 15.64 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.00123/0.5225, allocations: 0.9258 MB / 0.6066 GB, free: 14.7 MB / 462.1 MB Notification: Performance of sort global known variables: time 9e-08/0.5225, allocations: 0 / 0.6066 GB, free: 14.7 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002882/0.5254, allocations: 0.8491 MB / 0.6075 GB, free: 13.84 MB / 462.1 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.002115/0.5275, allocations: 1.034 MB / 0.6085 GB, free: 12.8 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.002591/0.5301, allocations: 1.364 MB / 0.6098 GB, free: 11.41 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.436e-06/0.5301, allocations: 448 / 0.6098 GB, free: 11.41 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001069/0.5312, allocations: 0.6512 MB / 0.6105 GB, free: 10.73 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001173/0.5323, allocations: 233 kB / 0.6107 GB, free: 10.51 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003666/0.536, allocations: 2.13 MB / 0.6128 GB, free: 8.344 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007519/0.5367, allocations: 1.081 MB / 0.6138 GB, free: 7.234 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0008647/0.5376, allocations: 259.9 kB / 0.6141 GB, free: 6.984 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003855/0.538, allocations: 182.8 kB / 0.6142 GB, free: 6.805 MB / 462.1 MB Notification: Performance of SimCode: time 6.41e-07/0.538, allocations: 0 / 0.6142 GB, free: 6.805 MB / 462.1 MB Notification: Performance of Templates: time 0.05065/0.5886, allocations: 29.73 MB / 0.6433 GB, free: 9.184 MB / 494.1 MB " [Timeout remaining time 659] 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=480 -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.GasSolubility_blood.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.315068259835243] Failed to read output from testmodel.py, exit status != 0: 0.5986524228937924 0.614304045 0.18591523100000001 Calling exit ...