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.001897/0.001897, allocations: 103.6 kB / 18.95 MB, free: 2.66 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.001931/0.001931, allocations: 217 kB / 22.24 MB, free: 5.262 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.511/1.511, allocations: 230.6 MB / 256 MB, free: 7.73 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.145/0.145, allocations: 23.92 MB / 336.4 MB, free: 10.88 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.00207/0.00207, allocations: 71.89 kB / 471.7 MB, free: 6.922 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3452/0.3473, allocations: 59.88 MB / 0.5191 GB, free: 9.711 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.GasSolubility): time 0.01011/0.3574, allocations: 9.102 MB / 0.528 GB, free: 3.684 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0405/0.3979, allocations: 28.97 MB / 0.5563 GB, free: 15.71 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002322/0.4002, allocations: 35.44 kB / 0.5563 GB, free: 15.69 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002555/0.4028, allocations: 0.6273 MB / 0.5569 GB, free: 15.21 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01165/0.4144, allocations: 2.619 MB / 0.5595 GB, free: 13.23 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01619/0.4306, allocations: 4.367 MB / 0.5637 GB, free: 9.902 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.005978/0.4366, allocations: 3.019 MB / 0.5667 GB, free: 8.105 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002535/0.4391, allocations: 1.373 MB / 0.568 GB, free: 7.078 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00309/0.4422, allocations: 1.485 MB / 0.5695 GB, free: 5.906 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003588/0.4458, allocations: 1.631 MB / 0.5711 GB, free: 4.27 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005889/0.4464, allocations: 264 kB / 0.5713 GB, free: 4.012 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01182/0.4582, allocations: 3.522 MB / 0.5748 GB, free: 496 kB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001227/0.4594, allocations: 0.6075 MB / 0.5754 GB, free: 15.88 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00209/0.4615, allocations: 1.128 MB / 0.5765 GB, free: 14.74 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01821/0.4797, allocations: 6.809 MB / 0.5831 GB, free: 7.906 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.063e-06/0.4797, allocations: 0 / 0.5831 GB, free: 7.906 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.4797, allocations: 0 / 0.5831 GB, free: 7.906 MB / 430.1 MB Notification: Performance of Transformations before backend: time 8.611e-05/0.4798, allocations: 0 / 0.5831 GB, free: 7.906 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.007558/0.4874, allocations: 3.223 MB / 0.5863 GB, free: 4.629 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.438e-05/0.4874, allocations: 12.03 kB / 0.5863 GB, free: 4.617 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003054/0.4905, allocations: 0.5802 MB / 0.5868 GB, free: 4.035 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003001/0.4935, allocations: 1.089 MB / 0.5879 GB, free: 2.918 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001534/0.4936, allocations: 160.6 kB / 0.5881 GB, free: 2.758 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004748/0.4941, allocations: 220.3 kB / 0.5883 GB, free: 2.543 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005532/0.4997, allocations: 2.818 MB / 0.591 GB, free: 15.64 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.274e-05/0.4997, allocations: 0 / 0.591 GB, free: 15.64 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002422/0.4999, allocations: 88 kB / 0.5911 GB, free: 15.55 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.646e-05/0.5, allocations: 56 kB / 0.5912 GB, free: 15.5 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00621/0.5062, allocations: 3.784 MB / 0.5949 GB, free: 11.7 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.01543/0.5216, allocations: 6.718 MB / 0.6014 GB, free: 4.859 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006554/0.5282, allocations: 3.261 MB / 0.6046 GB, free: 1.602 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001841/0.53, allocations: 0.9114 MB / 0.6055 GB, free: 0.6875 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01258/0.5426, allocations: 4.683 MB / 0.6101 GB, free: 11.97 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.436e-05/0.5426, allocations: 43.88 kB / 0.6101 GB, free: 11.91 MB / 462.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007398/0.5434, allocations: 178.8 kB / 0.6103 GB, free: 11.74 MB / 462.1 MB Notification: Performance of pre-optimization done (n=138): time 3.847e-06/0.5434, allocations: 0 / 0.6103 GB, free: 11.74 MB / 462.1 MB Notification: Performance of matching and sorting (n=170): time 0.03507/0.5784, allocations: 6.173 MB / 0.6163 GB, free: 5.535 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.432e-05/0.5785, allocations: 73.41 kB / 0.6164 GB, free: 5.449 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002258/0.5808, allocations: 1.634 MB / 0.618 GB, free: 3.797 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002712/0.581, allocations: 53.7 kB / 0.618 GB, free: 3.738 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009206/0.582, allocations: 1.093 MB / 0.6191 GB, free: 2.633 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000686/0.5826, allocations: 0.6158 MB / 0.6197 GB, free: 2.012 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007535/0.5834, allocations: 480.8 kB / 0.6201 GB, free: 1.535 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001362/0.5835, allocations: 301.1 kB / 0.6204 GB, free: 1.238 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001441/0.585, allocations: 0.8131 MB / 0.6212 GB, free: 432 kB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002401/0.5874, allocations: 1.616 MB / 0.6228 GB, free: 14.44 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004144/0.5915, allocations: 2.424 MB / 0.6252 GB, free: 11.66 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.822e-05/0.5915, allocations: 4 kB / 0.6252 GB, free: 11.65 MB / 478.1 MB Notification: Performance of matching and sorting (n=317) (initialization): time 0.01008/0.6016, allocations: 3.144 MB / 0.6282 GB, free: 8.488 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.626e-05/0.6017, allocations: 16 kB / 0.6283 GB, free: 8.473 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.191e-05/0.6017, allocations: 24 kB / 0.6283 GB, free: 8.449 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004533/0.6063, allocations: 491.1 kB / 0.6288 GB, free: 7.957 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00243/0.6087, allocations: 0.5811 MB / 0.6293 GB, free: 7.375 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01222/0.6209, allocations: 7.163 MB / 0.6363 GB, free: 15.81 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002147/0.6231, allocations: 76 kB / 0.6364 GB, free: 15.73 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002853/0.6233, allocations: 148 kB / 0.6365 GB, free: 15.59 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.0009743/0.6243, allocations: 425.4 kB / 0.6369 GB, free: 15.16 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004354/0.6247, allocations: 170.9 kB / 0.6371 GB, free: 15 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00866/0.6334, allocations: 2.376 MB / 0.6394 GB, free: 12.61 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-05/0.6334, allocations: 23.94 kB / 0.6394 GB, free: 12.58 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.672e-06/0.6334, allocations: 0 / 0.6394 GB, free: 12.58 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.194e-05/0.6335, allocations: 7.969 kB / 0.6394 GB, free: 12.57 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002561/0.636, allocations: 1.379 MB / 0.6408 GB, free: 11.12 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.312e-06/0.636, allocations: 4 kB / 0.6408 GB, free: 11.12 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001454/0.6375, allocations: 343.5 kB / 0.6411 GB, free: 10.79 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004417/0.6419, allocations: 463.2 kB / 0.6416 GB, free: 10.32 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001957/0.6421, allocations: 59.97 kB / 0.6416 GB, free: 10.26 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01096/0.653, allocations: 6.964 MB / 0.6484 GB, free: 2.895 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.123e-06/0.6531, allocations: 8.016 kB / 0.6484 GB, free: 2.887 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009073/0.6621, allocations: 2.992 MB / 0.6514 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005079/0.6626, allocations: 162.8 kB / 0.6515 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002556/0.6629, allocations: 36 kB / 0.6515 GB, free: 15.65 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000974/0.6639, allocations: 39.98 kB / 0.6516 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003297/0.6642, allocations: 161.6 kB / 0.6517 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001582/0.6644, allocations: 71.97 kB / 0.6518 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001377/0.6657, allocations: 1.076 MB / 0.6529 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of sort global known variables: time 9e-08/0.6657, allocations: 0 / 0.6529 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.004133/0.6699, allocations: 1.383 MB / 0.6542 GB, free: 12.91 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.003246/0.6731, allocations: 1.534 MB / 0.6557 GB, free: 11.37 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.004798/0.6779, allocations: 2.396 MB / 0.658 GB, free: 8.926 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 9.187e-06/0.6779, allocations: 4 kB / 0.658 GB, free: 8.922 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.002262/0.6802, allocations: 1.272 MB / 0.6593 GB, free: 7.598 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001904/0.6821, allocations: 342.3 kB / 0.6596 GB, free: 7.27 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006549/0.6886, allocations: 3.638 MB / 0.6632 GB, free: 3.57 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009626/0.6896, allocations: 0.8099 MB / 0.664 GB, free: 2.723 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001697/0.6913, allocations: 428.7 kB / 0.6644 GB, free: 2.305 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006834/0.692, allocations: 286.7 kB / 0.6646 GB, free: 2.023 MB / 0.4981 GB Notification: Performance of SimCode: time 1.202e-06/0.692, allocations: 0 / 0.6646 GB, free: 2.023 MB / 0.4981 GB Notification: Performance of Templates: time 0.0772/0.7692, allocations: 50.25 MB / 0.7137 GB, free: 84 kB / 0.545 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: 7.2317889160476625] Failed to read output from testmodel.py, exit status != 0: 0.778789987321943 0.793121142 0.30994907400000005 Calling exit ...