Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_Chemical.Obsolete.Examples.GasSolubility.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.001646/0.001646, allocations: 104.3 kB / 19.7 MB, free: 2.008 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.001996/0.001996, allocations: 210.7 kB / 22.99 MB, free: 4.41 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.478/1.478, allocations: 230.6 MB / 256.8 MB, free: 7.801 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.1681/0.1681, allocations: 23.93 MB / 337.1 MB, free: 10.91 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,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Obsolete.Examples.GasSolubility") translateModel(Chemical.Obsolete.Examples.GasSolubility,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Obsolete.Examples.GasSolubility") [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.002084/0.002084, allocations: 67.89 kB / 472.4 MB, free: 6.953 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3806/0.3827, allocations: 59.87 MB / 0.5198 GB, free: 9.707 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.GasSolubility): time 0.01027/0.3929, allocations: 9.102 MB / 0.5287 GB, free: 3.684 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.04076/0.4337, allocations: 28.97 MB / 0.557 GB, free: 15.73 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002641/0.4363, allocations: 35.47 kB / 0.557 GB, free: 15.71 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002806/0.4392, allocations: 0.6317 MB / 0.5577 GB, free: 15.23 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01017/0.4493, allocations: 2.615 MB / 0.5602 GB, free: 13.25 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01563/0.4649, allocations: 4.373 MB / 0.5645 GB, free: 9.914 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.005645/0.4706, allocations: 3.017 MB / 0.5674 GB, free: 8.117 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002427/0.473, allocations: 1.37 MB / 0.5688 GB, free: 7.094 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002876/0.4759, allocations: 1.494 MB / 0.5702 GB, free: 5.918 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003353/0.4793, allocations: 1.627 MB / 0.5718 GB, free: 4.285 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007472/0.48, allocations: 264 kB / 0.5721 GB, free: 4.027 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01247/0.4925, allocations: 3.522 MB / 0.5755 GB, free: 0.5 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001222/0.4937, allocations: 0.6037 MB / 0.5761 GB, free: 15.89 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002257/0.496, allocations: 1.128 MB / 0.5772 GB, free: 14.76 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01896/0.5149, allocations: 6.813 MB / 0.5838 GB, free: 7.922 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.281e-06/0.5149, allocations: 0 / 0.5838 GB, free: 7.922 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.5149, allocations: 4 kB / 0.5839 GB, free: 7.918 MB / 430.1 MB Notification: Performance of Transformations before backend: time 9.033e-05/0.515, allocations: 0 / 0.5839 GB, free: 7.918 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 539 * Number of variables: 539 Notification: Performance of Generate backend data structure: time 0.007104/0.5221, allocations: 3.219 MB / 0.587 GB, free: 4.645 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.187e-05/0.5222, allocations: 8.031 kB / 0.587 GB, free: 4.637 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002671/0.5248, allocations: 0.5802 MB / 0.5876 GB, free: 4.055 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0025/0.5273, allocations: 1.089 MB / 0.5886 GB, free: 2.938 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001575/0.5275, allocations: 160.6 kB / 0.5888 GB, free: 2.777 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004438/0.5279, allocations: 220.3 kB / 0.589 GB, free: 2.562 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005089/0.533, allocations: 2.818 MB / 0.5917 GB, free: 15.66 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.255e-05/0.5331, allocations: 0 / 0.5917 GB, free: 15.66 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002212/0.5333, allocations: 84 kB / 0.5918 GB, free: 15.58 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.742e-05/0.5333, allocations: 52 kB / 0.5919 GB, free: 15.53 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006371/0.5397, allocations: 3.799 MB / 0.5956 GB, free: 11.71 MB / 446.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.01519/0.5549, allocations: 6.71 MB / 0.6021 GB, free: 4.879 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0062/0.5611, allocations: 3.264 MB / 0.6053 GB, free: 1.617 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001871/0.563, allocations: 0.9114 MB / 0.6062 GB, free: 0.7031 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01215/0.5751, allocations: 4.687 MB / 0.6108 GB, free: 11.98 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.392e-05/0.5752, allocations: 47.88 kB / 0.6108 GB, free: 11.92 MB / 462.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007229/0.5759, allocations: 170.8 kB / 0.611 GB, free: 11.75 MB / 462.1 MB Notification: Performance of pre-optimization done (n=138): time 4.318e-06/0.5759, allocations: 0 / 0.611 GB, free: 11.75 MB / 462.1 MB Notification: Performance of matching and sorting (n=170): time 0.02831/0.6042, allocations: 6.181 MB / 0.617 GB, free: 5.543 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.613e-05/0.6043, allocations: 69.41 kB / 0.6171 GB, free: 5.461 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002359/0.6066, allocations: 1.63 MB / 0.6187 GB, free: 3.812 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002848/0.6069, allocations: 57.7 kB / 0.6188 GB, free: 3.75 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009394/0.6078, allocations: 1.089 MB / 0.6198 GB, free: 2.648 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007386/0.6086, allocations: 0.6159 MB / 0.6204 GB, free: 2.027 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007741/0.6094, allocations: 476.8 kB / 0.6209 GB, free: 1.555 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001377/0.6095, allocations: 305.1 kB / 0.6212 GB, free: 1.254 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001427/0.6109, allocations: 0.8053 MB / 0.6219 GB, free: 456 kB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002256/0.6132, allocations: 1.616 MB / 0.6235 GB, free: 14.46 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003795/0.617, allocations: 2.424 MB / 0.6259 GB, free: 11.68 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.205e-05/0.617, allocations: 8 kB / 0.6259 GB, free: 11.67 MB / 478.1 MB Notification: Performance of matching and sorting (n=317) (initialization): time 0.008562/0.6256, allocations: 3.14 MB / 0.629 GB, free: 8.512 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.187e-05/0.6256, allocations: 16 kB / 0.629 GB, free: 8.496 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.384e-05/0.6257, allocations: 31.94 kB / 0.629 GB, free: 8.465 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00355/0.6292, allocations: 495 kB / 0.6295 GB, free: 7.969 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002237/0.6315, allocations: 0.585 MB / 0.6301 GB, free: 7.383 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01118/0.6426, allocations: 7.158 MB / 0.637 GB, free: 15.82 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00187/0.6445, allocations: 83.98 kB / 0.6371 GB, free: 15.74 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000291/0.6448, allocations: 136 kB / 0.6373 GB, free: 15.61 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 117 * 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 (305): * Single equations (assignments): 301 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,3), (1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0008711/0.6457, allocations: 417.5 kB / 0.6377 GB, free: 15.19 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004277/0.6461, allocations: 174.9 kB / 0.6378 GB, free: 15.02 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007239/0.6533, allocations: 2.392 MB / 0.6402 GB, free: 12.61 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-05/0.6534, allocations: 16 kB / 0.6402 GB, free: 12.6 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.981e-05/0.6534, allocations: 7.938 kB / 0.6402 GB, free: 12.59 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.355e-05/0.6534, allocations: 7.969 kB / 0.6402 GB, free: 12.58 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002796/0.6562, allocations: 1.375 MB / 0.6415 GB, free: 11.14 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.668e-06/0.6562, allocations: 7.938 kB / 0.6415 GB, free: 11.13 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001353/0.6576, allocations: 343.6 kB / 0.6419 GB, free: 10.79 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003475/0.661, allocations: 455.2 kB / 0.6423 GB, free: 10.34 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002473/0.6613, allocations: 63.97 kB / 0.6424 GB, free: 10.27 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01029/0.6716, allocations: 6.96 MB / 0.6492 GB, free: 2.91 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.6716, allocations: 0 / 0.6492 GB, free: 2.91 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008493/0.6801, allocations: 3 MB / 0.6521 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000542/0.6806, allocations: 158.8 kB / 0.6522 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002895/0.6809, allocations: 36 kB / 0.6523 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00091/0.6818, allocations: 43.98 kB / 0.6523 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003409/0.6822, allocations: 153.7 kB / 0.6525 GB, free: 15.47 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001593/0.6823, allocations: 71.97 kB / 0.6525 GB, free: 15.4 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0015/0.6838, allocations: 1.08 MB / 0.6536 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of sort global known variables: time 8e-08/0.6838, allocations: 0 / 0.6536 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.004688/0.6885, allocations: 1.379 MB / 0.6549 GB, free: 12.93 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 9 (blood_plasma.temperature,red_cells.temperature,CO2_unbound_plasma.logn,O2_unbound_plasma.logn,CO2_unbound_erythrocyte.logn,O2_unbound_erythrocyte_NIST.logn,water_plasma.logn,water.logn,water_plasma1.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 (183): * Single equations (assignments): 179 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,3), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003546/0.6921, allocations: 1.538 MB / 0.6564 GB, free: 11.39 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.004914/0.697, allocations: 2.395 MB / 0.6588 GB, free: 8.945 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 6.191e-06/0.697, allocations: 0 / 0.6588 GB, free: 8.945 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.002302/0.6993, allocations: 1.273 MB / 0.66 GB, free: 7.621 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00192/0.7012, allocations: 365.6 kB / 0.6604 GB, free: 7.273 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006902/0.7081, allocations: 3.679 MB / 0.664 GB, free: 3.527 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001034/0.7091, allocations: 0.8098 MB / 0.6647 GB, free: 2.68 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001095/0.7102, allocations: 374.4 kB / 0.6651 GB, free: 2.312 MB / 0.4981 GB Notification: Performance of SimCode: time 1.202e-06/0.7102, allocations: 0 / 0.6651 GB, free: 2.312 MB / 0.4981 GB Notification: Performance of Templates: time 0.3262/1.036, allocations: 67.96 MB / 0.7315 GB, free: 178.4 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f Chemical_master_Chemical.Obsolete.Examples.GasSolubility.makefile [Timeout 660] (rm -f Chemical_master_Chemical.Obsolete.Examples.GasSolubility.pipe ; mkfifo Chemical_master_Chemical.Obsolete.Examples.GasSolubility.pipe ; head -c 1048576 < Chemical_master_Chemical.Obsolete.Examples.GasSolubility.pipe >> ../files/Chemical_master_Chemical.Obsolete.Examples.GasSolubility.sim & ./Chemical_master_Chemical.Obsolete.Examples.GasSolubility -abortSlowSimulation -alarm=480 -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.GasSolubility.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 12.207328580028843] Failed to read output from testmodel.py, exit status != 0: 1.046247026999481 1.059863137 0.541702001 Calling exit ...