Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_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.001412/0.001412, allocations: 82.48 kB / 19.18 MB, free: 2.527 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.001533/0.001533, allocations: 167.2 kB / 22.46 MB, free: 5.359 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.469/1.469, allocations: 177.1 MB / 202.8 MB, free: 9.18 MB / 190.1 MB " [Timeout remaining time 178] 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.1393/0.1393, allocations: 17.37 MB / 276.6 MB, free: 15.31 MB / 270.1 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,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Obsolete.Examples.GasSolubility") translateModel(Chemical.Obsolete.Examples.GasSolubility,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Obsolete.Examples.GasSolubility") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.262e-06/1.262e-06, allocations: 0 / 411.9 MB, free: 4.461 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.378e-05/2.505e-05, allocations: 2.281 kB / 412 MB, free: 4.457 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.GasSolubility): time 0.01199/0.01202, allocations: 9.076 MB / 421 MB, free: 11.35 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.2206/0.2326, allocations: 28.95 MB / 450 MB, free: 15.25 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001299/0.2339, allocations: 32.88 kB / 450 MB, free: 15.25 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001722/0.2357, allocations: 0.6373 MB / 450.6 MB, free: 15.25 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008775/0.2444, allocations: 2.713 MB / 453.4 MB, free: 14.82 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01198/0.2564, allocations: 4.489 MB / 457.9 MB, free: 13.88 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.005421/0.2618, allocations: 3.118 MB / 461 MB, free: 13.11 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002728/0.2646, allocations: 1.361 MB / 462.3 MB, free: 12.96 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003895/0.2685, allocations: 2.054 MB / 464.4 MB, free: 12.86 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002389/0.2709, allocations: 1.302 MB / 465.7 MB, free: 12.65 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004767/0.2713, allocations: 263.3 kB / 465.9 MB, free: 12.65 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01138/0.2827, allocations: 3.458 MB / 469.4 MB, free: 12.07 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001123/0.2838, allocations: 0.6208 MB / 470 MB, free: 11.72 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002088/0.2859, allocations: 0.9709 MB / 471 MB, free: 11.37 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01622/0.3021, allocations: 7.245 MB / 478.2 MB, free: 8.059 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.324e-06/0.3022, allocations: 3.938 kB / 478.2 MB, free: 8.055 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.924e-06/0.3022, allocations: 0 / 478.2 MB, free: 8.055 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.759e-05/0.3023, allocations: 1.031 kB / 478.2 MB, free: 8.055 MB / 366.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.006921/0.3092, allocations: 3.209 MB / 481.5 MB, free: 5.887 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.72e-05/0.3092, allocations: 9.031 kB / 481.5 MB, free: 5.887 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002479/0.3117, allocations: 0.5753 MB / 482 MB, free: 5.617 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001805/0.3135, allocations: 1.083 MB / 483.1 MB, free: 4.871 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001042/0.3136, allocations: 161.3 kB / 483.3 MB, free: 4.797 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003424/0.3139, allocations: 221.6 kB / 483.5 MB, free: 4.719 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004002/0.3179, allocations: 2.81 MB / 486.3 MB, free: 2.613 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.117e-05/0.318, allocations: 192 / 486.3 MB, free: 2.613 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002034/0.3182, allocations: 84.56 kB / 486.4 MB, free: 2.531 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.17e-05/0.3182, allocations: 59.94 kB / 486.4 MB, free: 2.473 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005296/0.3235, allocations: 3.795 MB / 490.2 MB, free: 14.67 MB / 382.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.01556/0.3391, allocations: 6.722 MB / 497 MB, free: 8.027 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006606/0.3457, allocations: 3.254 MB / 0.4885 GB, free: 4.793 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001914/0.3476, allocations: 0.9114 MB / 0.4894 GB, free: 3.879 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01219/0.3598, allocations: 4.688 MB / 0.494 GB, free: 15.25 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.988e-05/0.3598, allocations: 46.59 kB / 0.494 GB, free: 15.2 MB / 398.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008215/0.3607, allocations: 174.8 kB / 0.4942 GB, free: 15.02 MB / 398.1 MB Notification: Performance of pre-optimization done (n=138): time 4.569e-06/0.3607, allocations: 0 / 0.4942 GB, free: 15.02 MB / 398.1 MB Notification: Performance of matching and sorting (n=170): time 0.03226/0.3929, allocations: 6.176 MB / 0.5002 GB, free: 8.848 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.762e-05/0.393, allocations: 69.41 kB / 0.5003 GB, free: 8.77 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00244/0.3954, allocations: 1.634 MB / 0.5019 GB, free: 7.117 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003029/0.3958, allocations: 57.7 kB / 0.5019 GB, free: 7.055 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008996/0.3967, allocations: 1.076 MB / 0.503 GB, free: 5.977 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006895/0.3973, allocations: 0.6103 MB / 0.5036 GB, free: 5.375 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007643/0.3981, allocations: 474.2 kB / 0.504 GB, free: 4.906 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000136/0.3982, allocations: 305.1 kB / 0.5043 GB, free: 4.605 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001515/0.3998, allocations: 0.8092 MB / 0.5051 GB, free: 3.793 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002253/0.402, allocations: 1.61 MB / 0.5067 GB, free: 1.828 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003911/0.4059, allocations: 2.423 MB / 0.509 GB, free: 15.15 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-05/0.4059, allocations: 11.94 kB / 0.509 GB, free: 15.14 MB / 414.1 MB Notification: Performance of matching and sorting (n=317) (initialization): time 0.009409/0.4153, allocations: 3.137 MB / 0.5121 GB, free: 12.14 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.125e-05/0.4154, allocations: 16 kB / 0.5121 GB, free: 12.13 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.708e-05/0.4154, allocations: 31.98 kB / 0.5122 GB, free: 12.1 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004172/0.4196, allocations: 491 kB / 0.5126 GB, free: 11.61 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002375/0.422, allocations: 0.5831 MB / 0.5132 GB, free: 11.06 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01193/0.4339, allocations: 7.149 MB / 0.5202 GB, free: 3.566 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002115/0.436, allocations: 83.19 kB / 0.5203 GB, free: 3.488 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003524/0.4364, allocations: 140 kB / 0.5204 GB, free: 3.352 MB / 414.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.00107/0.4375, allocations: 419.2 kB / 0.5208 GB, free: 2.969 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005449/0.438, allocations: 170.9 kB / 0.5209 GB, free: 2.801 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008305/0.4463, allocations: 2.386 MB / 0.5233 GB, free: 428 kB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-05/0.4463, allocations: 16 kB / 0.5233 GB, free: 412 kB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.748e-06/0.4463, allocations: 4 kB / 0.5233 GB, free: 408 kB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.984e-05/0.4464, allocations: 11.91 kB / 0.5233 GB, free: 396 kB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00287/0.4492, allocations: 1.376 MB / 0.5247 GB, free: 15 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.047e-06/0.4492, allocations: 4 kB / 0.5247 GB, free: 15 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001459/0.4507, allocations: 341.5 kB / 0.525 GB, free: 14.68 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004023/0.4547, allocations: 455.2 kB / 0.5254 GB, free: 14.23 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001759/0.4549, allocations: 63.97 kB / 0.5255 GB, free: 14.16 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0108/0.4657, allocations: 6.961 MB / 0.5323 GB, free: 6.84 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.494e-06/0.4657, allocations: 8 kB / 0.5323 GB, free: 6.832 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008931/0.4746, allocations: 2.988 MB / 0.5352 GB, free: 3.801 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000643/0.4753, allocations: 154.8 kB / 0.5354 GB, free: 3.648 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002643/0.4755, allocations: 39 kB / 0.5354 GB, free: 3.613 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009903/0.4765, allocations: 44 kB / 0.5354 GB, free: 3.57 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004033/0.4769, allocations: 149.7 kB / 0.5356 GB, free: 3.426 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001586/0.4771, allocations: 75.97 kB / 0.5356 GB, free: 3.352 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001544/0.4786, allocations: 1.08 MB / 0.5367 GB, free: 2.27 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4786, allocations: 3.094 kB / 0.5367 GB, free: 2.27 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.004538/0.4832, allocations: 1.379 MB / 0.538 GB, free: 0.8867 MB / 430.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.003803/0.487, allocations: 1.588 MB / 0.5396 GB, free: 15.49 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004905/0.4919, allocations: 2.401 MB / 0.5419 GB, free: 13.12 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.299e-06/0.4919, allocations: 3.938 kB / 0.5419 GB, free: 13.12 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002344/0.4942, allocations: 1.272 MB / 0.5432 GB, free: 11.84 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002114/0.4963, allocations: 343.4 kB / 0.5435 GB, free: 11.51 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00714/0.5035, allocations: 3.512 MB / 0.5469 GB, free: 7.961 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000958/0.5044, allocations: 0.8021 MB / 0.5477 GB, free: 7.117 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001926/0.5064, allocations: 428.1 kB / 0.5481 GB, free: 6.699 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009162/0.5073, allocations: 295.8 kB / 0.5484 GB, free: 6.41 MB / 446.1 MB Notification: Performance of SimCode: time 1.603e-06/0.5073, allocations: 0 / 0.5484 GB, free: 6.41 MB / 446.1 MB Notification: Performance of Templates: time 0.07908/0.5864, allocations: 46.72 MB / 0.5941 GB, free: 8.051 MB / 494.1 MB " [Timeout remaining time 659] make -j1 -f Chemical_Chemical.Obsolete.Examples.GasSolubility.makefile [Timeout 660] (rm -f Chemical_Chemical.Obsolete.Examples.GasSolubility.pipe ; mkfifo Chemical_Chemical.Obsolete.Examples.GasSolubility.pipe ; head -c 1048576 < Chemical_Chemical.Obsolete.Examples.GasSolubility.pipe >> ../files/Chemical_Chemical.Obsolete.Examples.GasSolubility.sim & ./Chemical_Chemical.Obsolete.Examples.GasSolubility -abortSlowSimulation -alarm=480 -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.GasSolubility.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.894988518208265] Failed to read output from testmodel.py, exit status != 0: 0.5964861176908016 0.6119124800000001 0.30637947800000004 Calling exit ...