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.001272/0.001272, allocations: 79.89 kB / 19.76 MB, free: 2.031 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.001323/0.001323, allocations: 162.5 kB / 23.01 MB, free: 4.941 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.368/1.368, allocations: 177.2 MB / 203.4 MB, free: 8.949 MB / 190.1 MB " [Timeout remaining time 179] 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.1249/0.1249, allocations: 17.44 MB / 277.2 MB, free: 15.16 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.002182/0.002182, allocations: 59.91 kB / 412.6 MB, free: 5.547 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1024/0.1046, allocations: 59.88 MB / 472.5 MB, free: 9.551 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.GasSolubility): time 0.01133/0.1159, allocations: 9.115 MB / 481.6 MB, free: 400 kB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.2209/0.3368, allocations: 28.96 MB / 0.4986 GB, free: 28.04 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001426/0.3382, allocations: 39.88 kB / 0.4986 GB, free: 28.02 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001557/0.3398, allocations: 0.6292 MB / 0.4992 GB, free: 27.69 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005852/0.3457, allocations: 2.614 MB / 0.5018 GB, free: 26.13 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009253/0.3549, allocations: 4.37 MB / 0.506 GB, free: 23.57 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.003013/0.3579, allocations: 3.014 MB / 0.509 GB, free: 22.08 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001442/0.3594, allocations: 1.342 MB / 0.5103 GB, free: 21.43 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001337/0.3607, allocations: 1.485 MB / 0.5117 GB, free: 20.9 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001682/0.3624, allocations: 1.458 MB / 0.5132 GB, free: 20.4 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003214/0.3627, allocations: 264.7 kB / 0.5134 GB, free: 20.4 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008299/0.371, allocations: 3.429 MB / 0.5168 GB, free: 19.62 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006465/0.3716, allocations: 0.6049 MB / 0.5174 GB, free: 19.24 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001548/0.3732, allocations: 1.126 MB / 0.5185 GB, free: 18.66 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01565/0.3888, allocations: 6.81 MB / 0.5251 GB, free: 15.77 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.3888, allocations: 0.6094 kB / 0.5251 GB, free: 15.77 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.3888, allocations: 1.094 kB / 0.5251 GB, free: 15.77 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.689e-05/0.3889, allocations: 0 / 0.5251 GB, free: 15.77 MB / 446.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.006518/0.3954, allocations: 3.228 MB / 0.5283 GB, free: 13.91 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.65e-05/0.3955, allocations: 8.188 kB / 0.5283 GB, free: 13.91 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002508/0.398, allocations: 0.5801 MB / 0.5288 GB, free: 13.73 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001955/0.3999, allocations: 1.08 MB / 0.5299 GB, free: 13.1 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000106/0.4, allocations: 163.7 kB / 0.53 GB, free: 13.02 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003157/0.4003, allocations: 221.2 kB / 0.5303 GB, free: 12.94 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004039/0.4044, allocations: 2.817 MB / 0.533 GB, free: 11.81 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.341e-05/0.4044, allocations: 3.938 kB / 0.533 GB, free: 11.81 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001982/0.4046, allocations: 90.97 kB / 0.5331 GB, free: 11.74 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.671e-05/0.4047, allocations: 54.03 kB / 0.5332 GB, free: 11.73 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006822/0.4115, allocations: 3.786 MB / 0.5369 GB, free: 10.57 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.01331/0.4248, allocations: 6.724 MB / 0.5434 GB, free: 7.117 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005095/0.4299, allocations: 3.249 MB / 0.5466 GB, free: 5.977 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00141/0.4313, allocations: 0.9135 MB / 0.5475 GB, free: 5.605 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00949/0.4408, allocations: 4.675 MB / 0.552 GB, free: 1.785 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.572e-05/0.4408, allocations: 48.84 kB / 0.5521 GB, free: 1.727 MB / 446.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000678/0.4415, allocations: 176.8 kB / 0.5523 GB, free: 1.559 MB / 446.1 MB Notification: Performance of pre-optimization done (n=138): time 5.511e-06/0.4415, allocations: 7.938 kB / 0.5523 GB, free: 1.551 MB / 446.1 MB Notification: Performance of matching and sorting (n=170): time 0.02901/0.4705, allocations: 6.171 MB / 0.5583 GB, free: 11.35 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.495e-05/0.4706, allocations: 69.41 kB / 0.5584 GB, free: 11.27 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002262/0.4728, allocations: 1.634 MB / 0.56 GB, free: 9.613 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001819/0.473, allocations: 57.7 kB / 0.56 GB, free: 9.551 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008878/0.4739, allocations: 1.085 MB / 0.5611 GB, free: 8.453 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006452/0.4746, allocations: 0.6159 MB / 0.5617 GB, free: 7.832 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007875/0.4753, allocations: 480.9 kB / 0.5621 GB, free: 7.355 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001298/0.4755, allocations: 305.1 kB / 0.5624 GB, free: 7.055 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001482/0.477, allocations: 0.8091 MB / 0.5632 GB, free: 6.242 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002199/0.4792, allocations: 1.604 MB / 0.5648 GB, free: 4.273 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003756/0.4829, allocations: 2.428 MB / 0.5672 GB, free: 1.484 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.268e-05/0.4829, allocations: 11.94 kB / 0.5672 GB, free: 1.473 MB / 462.1 MB Notification: Performance of matching and sorting (n=317) (initialization): time 0.00893/0.4919, allocations: 3.144 MB / 0.5702 GB, free: 14.31 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.155e-05/0.4919, allocations: 16 kB / 0.5702 GB, free: 14.29 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.463e-05/0.492, allocations: 28.16 kB / 0.5703 GB, free: 14.27 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003857/0.4958, allocations: 486.9 kB / 0.5707 GB, free: 13.78 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002259/0.4981, allocations: 0.5889 MB / 0.5713 GB, free: 13.19 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01149/0.5096, allocations: 7.153 MB / 0.5783 GB, free: 5.637 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002144/0.5117, allocations: 83.98 kB / 0.5784 GB, free: 5.555 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004992/0.5122, allocations: 148.5 kB / 0.5785 GB, free: 5.41 MB / 478.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.001087/0.5133, allocations: 413.5 kB / 0.5789 GB, free: 4.996 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005688/0.5139, allocations: 162.9 kB / 0.5791 GB, free: 4.836 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008053/0.5219, allocations: 2.389 MB / 0.5814 GB, free: 2.445 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.199e-05/0.5219, allocations: 19.94 kB / 0.5814 GB, free: 2.426 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.267e-05/0.5219, allocations: 7.125 kB / 0.5814 GB, free: 2.422 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.913e-05/0.522, allocations: 15.95 kB / 0.5814 GB, free: 2.406 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002994/0.525, allocations: 1.372 MB / 0.5828 GB, free: 0.9688 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.589e-05/0.525, allocations: 4 kB / 0.5828 GB, free: 0.9648 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001386/0.5264, allocations: 339.6 kB / 0.5831 GB, free: 0.6328 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003703/0.5301, allocations: 467.1 kB / 0.5836 GB, free: 168 kB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002073/0.5303, allocations: 63.97 kB / 0.5836 GB, free: 104 kB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01057/0.5409, allocations: 6.962 MB / 0.5904 GB, free: 8.742 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.11e-06/0.5409, allocations: 4 kB / 0.5904 GB, free: 8.738 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008818/0.5497, allocations: 2.995 MB / 0.5933 GB, free: 5.691 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005481/0.5502, allocations: 154.8 kB / 0.5935 GB, free: 5.539 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003987/0.5506, allocations: 43.98 kB / 0.5935 GB, free: 5.496 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001177/0.5518, allocations: 36.19 kB / 0.5936 GB, free: 5.461 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003596/0.5522, allocations: 157.7 kB / 0.5937 GB, free: 5.305 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001656/0.5523, allocations: 71.91 kB / 0.5938 GB, free: 5.234 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.001536/0.5539, allocations: 1.08 MB / 0.5948 GB, free: 4.152 MB / 494.1 MB Notification: Performance of sort global known variables: time 9e-08/0.5539, allocations: 0 / 0.5948 GB, free: 4.152 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.004498/0.5584, allocations: 1.383 MB / 0.5962 GB, free: 2.766 MB / 494.1 MB 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.003662/0.562, allocations: 1.531 MB / 0.5977 GB, free: 1.227 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.004655/0.5667, allocations: 2.4 MB / 0.6 GB, free: 14.78 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.819e-06/0.5667, allocations: 0 / 0.6 GB, free: 14.78 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.002218/0.5689, allocations: 1.276 MB / 0.6013 GB, free: 13.45 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002089/0.571, allocations: 365.4 kB / 0.6016 GB, free: 13.11 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006549/0.5775, allocations: 3.622 MB / 0.6052 GB, free: 9.434 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001057/0.5786, allocations: 0.8098 MB / 0.606 GB, free: 8.586 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001691/0.5803, allocations: 438.5 kB / 0.6064 GB, free: 8.156 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007295/0.581, allocations: 283.8 kB / 0.6066 GB, free: 7.875 MB / 0.4981 GB Notification: Performance of SimCode: time 6.61e-07/0.581, allocations: 0 / 0.6066 GB, free: 7.875 MB / 0.4981 GB Notification: Performance of Templates: time 0.077/0.658, allocations: 46.74 MB / 0.6523 GB, free: 9.398 MB / 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 -s ida -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.GasSolubility.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.492349511012435] Failed to read output from testmodel.py, exit status != 0: 0.6673085740767419 0.681982019 0.289917034 Calling exit ...