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.001713/0.001713, allocations: 88.72 kB / 19.44 MB, free: 356 kB / 13.93 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.002574/0.002574, allocations: 161.7 kB / 22.76 MB, free: 1.68 MB / 18.57 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.668/1.668, allocations: 177.1 MB / 203.1 MB, free: 5.59 MB / 186.7 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.142/0.142, allocations: 17.45 MB / 277 MB, free: 11.58 MB / 266.7 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: Performance of FrontEnd - loaded program: time 1.332e-06/1.332e-06, allocations: 0 / 352.8 MB, free: 10.22 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.025e-05/3.158e-05, allocations: 10.19 kB / 352.8 MB, free: 10.21 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.GasSolubility): time 0.01283/0.01286, allocations: 9.079 MB / 361.9 MB, free: 1.09 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.04271/0.05557, allocations: 28.97 MB / 390.9 MB, free: 4.004 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0016/0.05717, allocations: 31.75 kB / 390.9 MB, free: 3.973 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002284/0.05946, allocations: 0.6317 MB / 391.5 MB, free: 3.336 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008258/0.06771, allocations: 2.711 MB / 394.2 MB, free: 0.6055 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01213/0.07985, allocations: 4.499 MB / 398.7 MB, free: 12.08 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.004827/0.08467, allocations: 3.118 MB / 401.8 MB, free: 8.949 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0024/0.08707, allocations: 1.414 MB / 403.3 MB, free: 7.492 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004085/0.09116, allocations: 2.055 MB / 405.3 MB, free: 5.434 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002871/0.09403, allocations: 1.298 MB / 406.6 MB, free: 4.133 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008021/0.09483, allocations: 264 kB / 406.9 MB, free: 3.875 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01053/0.1054, allocations: 3.458 MB / 410.3 MB, free: 420 kB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.1361/0.2415, allocations: 0.6147 MB / 410.9 MB, free: 24.33 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001747/0.2432, allocations: 0.9706 MB / 411.9 MB, free: 24.33 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01511/0.2583, allocations: 7.26 MB / 419.2 MB, free: 24.04 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.904e-06/0.2583, allocations: 0 / 419.2 MB, free: 24.04 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.934e-06/0.2583, allocations: 0 / 419.2 MB, free: 24.04 MB / 330.7 MB Notification: Performance of Transformations before backend: time 9.53e-05/0.2584, allocations: 1.156 kB / 419.2 MB, free: 24.04 MB / 330.7 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.00698/0.2654, allocations: 3.204 MB / 422.4 MB, free: 22.58 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.113e-05/0.2655, allocations: 8.906 kB / 422.4 MB, free: 22.58 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003235/0.2687, allocations: 0.9715 MB / 423.4 MB, free: 22.26 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001948/0.2706, allocations: 1.092 MB / 424.5 MB, free: 21.93 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.418e-05/0.2707, allocations: 161.3 kB / 424.6 MB, free: 21.92 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000349/0.2711, allocations: 219.5 kB / 424.8 MB, free: 21.92 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004026/0.2751, allocations: 2.81 MB / 427.6 MB, free: 21.71 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.159e-05/0.2751, allocations: 3.656 kB / 427.6 MB, free: 21.71 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002278/0.2754, allocations: 90.08 kB / 427.7 MB, free: 21.71 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.898e-05/0.2754, allocations: 55.22 kB / 427.8 MB, free: 21.71 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004874/0.2803, allocations: 3.79 MB / 431.6 MB, free: 21.68 MB / 330.7 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.01272/0.293, allocations: 6.778 MB / 438.3 MB, free: 18.59 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004982/0.298, allocations: 3.253 MB / 441.6 MB, free: 17.47 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001316/0.2993, allocations: 0.915 MB / 442.5 MB, free: 17.09 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01013/0.3094, allocations: 4.864 MB / 447.4 MB, free: 13.51 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.464e-05/0.3095, allocations: 47.88 kB / 447.4 MB, free: 13.45 MB / 330.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007025/0.3102, allocations: 173.8 kB / 447.6 MB, free: 13.29 MB / 330.7 MB Notification: Performance of pre-optimization done (n=138): time 3.276e-06/0.3102, allocations: 0 / 447.6 MB, free: 13.29 MB / 330.7 MB Notification: Performance of matching and sorting (n=170): time 0.02954/0.3397, allocations: 6.222 MB / 453.8 MB, free: 7.074 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.357e-05/0.3397, allocations: 69.41 kB / 453.9 MB, free: 6.992 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001524/0.3413, allocations: 1.638 MB / 455.5 MB, free: 5.336 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001906/0.3415, allocations: 53.7 kB / 455.6 MB, free: 5.277 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004102/0.3419, allocations: 1.081 MB / 456.7 MB, free: 4.195 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003991/0.3423, allocations: 0.6122 MB / 457.3 MB, free: 3.59 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005744/0.3428, allocations: 476.8 kB / 457.7 MB, free: 3.117 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 3.55e-05/0.3429, allocations: 305.1 kB / 458 MB, free: 2.816 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001081/0.344, allocations: 0.8053 MB / 458.8 MB, free: 2.008 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001397/0.3453, allocations: 1.613 MB / 460.5 MB, free: 48 kB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00432/0.3497, allocations: 2.421 MB / 462.9 MB, free: 13.37 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.143e-05/0.3497, allocations: 8 kB / 462.9 MB, free: 13.36 MB / 346.7 MB Notification: Performance of matching and sorting (n=317) (initialization): time 0.009588/0.3593, allocations: 3.253 MB / 466.1 MB, free: 10.26 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.198e-05/0.3593, allocations: 19.12 kB / 466.2 MB, free: 10.25 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.945e-05/0.3594, allocations: 28 kB / 466.2 MB, free: 10.22 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006936/0.3663, allocations: 0.7482 MB / 466.9 MB, free: 9.461 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002436/0.3687, allocations: 0.5847 MB / 467.5 MB, free: 8.914 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01295/0.3817, allocations: 7.163 MB / 474.7 MB, free: 1.406 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002134/0.3838, allocations: 80 kB / 474.8 MB, free: 1.328 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003092/0.3841, allocations: 148 kB / 474.9 MB, free: 1.184 MB / 346.7 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.0009627/0.3851, allocations: 412.9 kB / 475.3 MB, free: 0.8086 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007686/0.3859, allocations: 226.9 kB / 475.5 MB, free: 0.5859 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008761/0.3946, allocations: 2.39 MB / 477.9 MB, free: 14.2 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.847e-05/0.3946, allocations: 16 kB / 477.9 MB, free: 14.18 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.294e-06/0.3946, allocations: 0 / 477.9 MB, free: 14.18 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.27e-05/0.3947, allocations: 15.91 kB / 477.9 MB, free: 14.16 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002868/0.3975, allocations: 1.38 MB / 479.3 MB, free: 12.78 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.193e-06/0.3975, allocations: 0 / 479.3 MB, free: 12.78 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001489/0.399, allocations: 349.1 kB / 479.7 MB, free: 12.45 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006781/0.4058, allocations: 0.6982 MB / 480.4 MB, free: 11.74 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002443/0.4061, allocations: 59.97 kB / 480.4 MB, free: 11.68 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01192/0.418, allocations: 6.982 MB / 487.4 MB, free: 4.34 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.418, allocations: 0 / 487.4 MB, free: 4.34 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009621/0.4276, allocations: 3.049 MB / 490.5 MB, free: 1.254 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000539/0.4281, allocations: 161.5 kB / 490.6 MB, free: 1.098 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002638/0.4284, allocations: 32 kB / 490.6 MB, free: 1.066 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009622/0.4294, allocations: 47.98 kB / 490.7 MB, free: 1.02 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003606/0.4297, allocations: 149.5 kB / 490.8 MB, free: 0.875 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001593/0.4299, allocations: 75.97 kB / 490.9 MB, free: 0.8008 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.001565/0.4314, allocations: 1.077 MB / 492 MB, free: 15.73 MB / 378.7 MB Notification: Performance of sort global known variables: time 1e-07/0.4314, allocations: 0 / 492 MB, free: 15.73 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.004662/0.4361, allocations: 1.379 MB / 493.4 MB, free: 14.34 MB / 378.7 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.003276/0.4394, allocations: 1.597 MB / 495 MB, free: 12.95 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.004874/0.4443, allocations: 2.402 MB / 497.4 MB, free: 10.6 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 6.663e-06/0.4443, allocations: 4 kB / 497.4 MB, free: 10.6 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002282/0.4465, allocations: 1.275 MB / 498.6 MB, free: 9.309 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001953/0.4485, allocations: 414.5 kB / 499 MB, free: 8.914 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006703/0.4552, allocations: 3.55 MB / 0.4908 GB, free: 5.309 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001019/0.4562, allocations: 0.806 MB / 0.4916 GB, free: 4.465 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001673/0.4579, allocations: 428.5 kB / 0.492 GB, free: 4.047 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007153/0.4586, allocations: 287.8 kB / 0.4923 GB, free: 3.766 MB / 378.7 MB Notification: Performance of SimCode: time 9.61e-07/0.4586, allocations: 3.75 kB / 0.4923 GB, free: 3.766 MB / 378.7 MB Notification: Performance of Templates: time 0.08154/0.5401, allocations: 46.96 MB / 0.5382 GB, free: 5.238 MB / 426.7 MB " [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.062459693057463]