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.001378/0.001378, allocations: 96.42 kB / 19.7 MB, free: 2.133 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.00159/0.00159, allocations: 209.3 kB / 22.99 MB, free: 4.957 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.435/1.435, allocations: 230.6 MB / 256.8 MB, free: 7.777 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.1383/0.1383, allocations: 23.92 MB / 337.1 MB, free: 10.92 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.00199/0.00199, allocations: 67.89 kB / 472.4 MB, free: 6.945 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3192/0.3212, allocations: 59.88 MB / 0.5198 GB, free: 9.762 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.GasSolubility): time 0.009332/0.3305, allocations: 9.105 MB / 0.5287 GB, free: 3.73 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03979/0.3703, allocations: 28.97 MB / 0.557 GB, free: 15.77 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002975/0.3733, allocations: 31.5 kB / 0.557 GB, free: 15.75 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00255/0.3758, allocations: 0.6302 MB / 0.5577 GB, free: 15.27 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00921/0.3851, allocations: 2.624 MB / 0.5602 GB, free: 13.28 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01527/0.4003, allocations: 4.37 MB / 0.5645 GB, free: 9.949 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.006276/0.4066, allocations: 3.012 MB / 0.5674 GB, free: 8.156 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002485/0.4091, allocations: 1.37 MB / 0.5688 GB, free: 7.133 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003125/0.4122, allocations: 1.492 MB / 0.5702 GB, free: 5.891 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003707/0.4159, allocations: 1.627 MB / 0.5718 GB, free: 4.258 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006618/0.4166, allocations: 267.9 kB / 0.5721 GB, free: 3.996 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01252/0.4291, allocations: 3.514 MB / 0.5755 GB, free: 488 kB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001132/0.4302, allocations: 0.6115 MB / 0.5761 GB, free: 15.86 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002013/0.4322, allocations: 1.132 MB / 0.5772 GB, free: 14.73 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01786/0.4501, allocations: 6.805 MB / 0.5838 GB, free: 7.895 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.4501, allocations: 0 / 0.5838 GB, free: 7.895 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.233e-06/0.4501, allocations: 0 / 0.5838 GB, free: 7.895 MB / 430.1 MB Notification: Performance of Transformations before backend: time 7.036e-05/0.4502, allocations: 4 kB / 0.5839 GB, free: 7.891 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.00736/0.4575, allocations: 3.223 MB / 0.587 GB, free: 4.613 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.643e-05/0.4576, allocations: 12.03 kB / 0.587 GB, free: 4.602 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002855/0.4604, allocations: 0.588 MB / 0.5876 GB, free: 4.012 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002707/0.4631, allocations: 1.073 MB / 0.5886 GB, free: 2.91 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002053/0.4633, allocations: 156.6 kB / 0.5888 GB, free: 2.754 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000492/0.4638, allocations: 220.3 kB / 0.589 GB, free: 2.539 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005336/0.4692, allocations: 2.822 MB / 0.5917 GB, free: 15.63 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.232e-05/0.4692, allocations: 4 kB / 0.5918 GB, free: 15.63 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002379/0.4695, allocations: 80 kB / 0.5918 GB, free: 15.55 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.52e-05/0.4695, allocations: 52 kB / 0.5919 GB, free: 15.5 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006309/0.4758, allocations: 3.792 MB / 0.5956 GB, free: 11.69 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.01487/0.4907, allocations: 6.721 MB / 0.6021 GB, free: 4.848 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00625/0.4969, allocations: 3.26 MB / 0.6053 GB, free: 1.59 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001768/0.4987, allocations: 0.9153 MB / 0.6062 GB, free: 0.6719 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01208/0.5108, allocations: 4.678 MB / 0.6108 GB, free: 11.96 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.022e-05/0.5108, allocations: 51.86 kB / 0.6108 GB, free: 11.89 MB / 462.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007475/0.5116, allocations: 166.8 kB / 0.611 GB, free: 11.73 MB / 462.1 MB Notification: Performance of pre-optimization done (n=138): time 4.248e-06/0.5116, allocations: 0 / 0.611 GB, free: 11.73 MB / 462.1 MB Notification: Performance of matching and sorting (n=170): time 0.03374/0.5453, allocations: 6.185 MB / 0.617 GB, free: 5.516 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.07e-05/0.5454, allocations: 69.41 kB / 0.6171 GB, free: 5.434 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002119/0.5475, allocations: 1.638 MB / 0.6187 GB, free: 3.777 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000246/0.5478, allocations: 49.7 kB / 0.6188 GB, free: 3.723 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008414/0.5486, allocations: 1.093 MB / 0.6198 GB, free: 2.617 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007501/0.5493, allocations: 0.6237 MB / 0.6204 GB, free: 1.988 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007457/0.5501, allocations: 480.8 kB / 0.6209 GB, free: 1.512 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.000144/0.5502, allocations: 301.1 kB / 0.6212 GB, free: 1.215 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001422/0.5517, allocations: 0.8053 MB / 0.622 GB, free: 416 kB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002211/0.5539, allocations: 1.608 MB / 0.6235 GB, free: 14.43 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003564/0.5574, allocations: 2.424 MB / 0.6259 GB, free: 11.65 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-05/0.5574, allocations: 8 kB / 0.6259 GB, free: 11.64 MB / 478.1 MB Notification: Performance of matching and sorting (n=317) (initialization): time 0.009263/0.5667, allocations: 3.144 MB / 0.629 GB, free: 8.477 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.221e-05/0.5668, allocations: 16.16 kB / 0.629 GB, free: 8.461 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.804e-05/0.5668, allocations: 28 kB / 0.629 GB, free: 8.434 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004342/0.5711, allocations: 482.9 kB / 0.6295 GB, free: 7.949 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00232/0.5735, allocations: 0.5928 MB / 0.6301 GB, free: 7.355 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01192/0.5854, allocations: 7.15 MB / 0.637 GB, free: 15.8 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00213/0.5875, allocations: 88.05 kB / 0.6371 GB, free: 15.72 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003098/0.5878, allocations: 136 kB / 0.6373 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.0009351/0.5888, allocations: 421.4 kB / 0.6377 GB, free: 15.16 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004381/0.5892, allocations: 170.9 kB / 0.6378 GB, free: 15 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008384/0.5976, allocations: 2.392 MB / 0.6402 GB, free: 12.59 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.397e-05/0.5976, allocations: 20 kB / 0.6402 GB, free: 12.57 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.081e-05/0.5976, allocations: 8 kB / 0.6402 GB, free: 12.56 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.942e-05/0.5976, allocations: 11.95 kB / 0.6402 GB, free: 12.55 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002715/0.6004, allocations: 1.371 MB / 0.6415 GB, free: 11.11 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.546e-06/0.6004, allocations: 3.984 kB / 0.6415 GB, free: 11.11 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0014/0.6018, allocations: 347.8 kB / 0.6419 GB, free: 10.77 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004192/0.606, allocations: 458.9 kB / 0.6423 GB, free: 10.3 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001662/0.6061, allocations: 59.97 kB / 0.6424 GB, free: 10.25 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01045/0.6166, allocations: 6.965 MB / 0.6492 GB, free: 2.879 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.6166, allocations: 0 / 0.6492 GB, free: 2.879 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008847/0.6254, allocations: 2.996 MB / 0.6521 GB, free: 15.83 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004581/0.6259, allocations: 154.8 kB / 0.6522 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002353/0.6261, allocations: 43.98 kB / 0.6523 GB, free: 15.63 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009209/0.627, allocations: 36 kB / 0.6523 GB, free: 15.6 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003195/0.6274, allocations: 157.7 kB / 0.6525 GB, free: 15.44 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001489/0.6275, allocations: 75.97 kB / 0.6525 GB, free: 15.37 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.00141/0.6289, allocations: 1.072 MB / 0.6536 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6289, allocations: 4 kB / 0.6536 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.004017/0.6329, allocations: 1.375 MB / 0.6549 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.002786/0.6357, allocations: 1.545 MB / 0.6564 GB, free: 11.36 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.004392/0.6401, allocations: 2.399 MB / 0.6588 GB, free: 8.914 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/0.6401, allocations: 0.9375 kB / 0.6588 GB, free: 8.914 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.002154/0.6423, allocations: 1.268 MB / 0.66 GB, free: 7.594 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001715/0.644, allocations: 352.7 kB / 0.6604 GB, free: 7.258 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007044/0.651, allocations: 3.638 MB / 0.6639 GB, free: 3.559 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009235/0.652, allocations: 0.806 MB / 0.6647 GB, free: 2.715 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001815/0.6538, allocations: 424.9 kB / 0.6651 GB, free: 2.301 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006702/0.6544, allocations: 294.7 kB / 0.6654 GB, free: 2.012 MB / 0.4981 GB Notification: Performance of SimCode: time 7.61e-07/0.6544, allocations: 0 / 0.6654 GB, free: 2.012 MB / 0.4981 GB Notification: Performance of Templates: time 0.0751/0.7295, allocations: 50.25 MB / 0.7145 GB, free: 68 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 -s cvode -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.GasSolubility.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.90776260200073] Failed to read output from testmodel.py, exit status != 0: 0.7386736500047846 0.753417718 0.299883854 Calling exit ...