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.001346/0.001346, allocations: 104.3 kB / 19.7 MB, free: 2.008 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.001514/0.001514, allocations: 210.4 kB / 22.99 MB, free: 4.41 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.472/1.472, allocations: 230.6 MB / 256.8 MB, free: 7.793 MB / 206.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.1527/0.1527, allocations: 23.88 MB / 337.1 MB, free: 10.98 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: 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.002054/0.002054, allocations: 63.89 kB / 472.4 MB, free: 7.031 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3644/0.3665, allocations: 59.86 MB / 0.5197 GB, free: 9.738 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.GasSolubility): time 0.009933/0.3764, allocations: 9.111 MB / 0.5286 GB, free: 3.703 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0402/0.4166, allocations: 28.96 MB / 0.5569 GB, free: 15.77 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002618/0.4192, allocations: 36.31 kB / 0.557 GB, free: 15.75 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002743/0.422, allocations: 0.6346 MB / 0.5576 GB, free: 15.26 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01074/0.4327, allocations: 2.616 MB / 0.5601 GB, free: 13.28 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01515/0.4479, allocations: 4.37 MB / 0.5644 GB, free: 9.949 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.005736/0.4536, allocations: 3.022 MB / 0.5674 GB, free: 8.148 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002544/0.4561, allocations: 1.368 MB / 0.5687 GB, free: 7.125 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003045/0.4592, allocations: 1.491 MB / 0.5702 GB, free: 6.027 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003579/0.4628, allocations: 1.639 MB / 0.5718 GB, free: 4.383 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007331/0.4635, allocations: 264 kB / 0.572 GB, free: 4.125 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01302/0.4765, allocations: 3.514 MB / 0.5754 GB, free: 0.6055 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001226/0.4777, allocations: 0.6077 MB / 0.576 GB, free: 15.99 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002197/0.4799, allocations: 1.132 MB / 0.5771 GB, free: 14.86 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02095/0.5009, allocations: 6.809 MB / 0.5838 GB, free: 8.023 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.447e-06/0.5009, allocations: 0 / 0.5838 GB, free: 8.023 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.174e-06/0.5009, allocations: 0 / 0.5838 GB, free: 8.023 MB / 430.1 MB Notification: Performance of Transformations before backend: time 9.659e-05/0.501, allocations: 4 kB / 0.5838 GB, free: 8.02 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.007602/0.5086, allocations: 3.223 MB / 0.5869 GB, free: 4.742 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.724e-05/0.5086, allocations: 8.031 kB / 0.5869 GB, free: 4.734 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002772/0.5114, allocations: 0.5765 MB / 0.5875 GB, free: 4.156 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00269/0.5141, allocations: 1.081 MB / 0.5886 GB, free: 3.047 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002105/0.5143, allocations: 160.6 kB / 0.5887 GB, free: 2.887 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004006/0.5147, allocations: 216.3 kB / 0.5889 GB, free: 2.676 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00516/0.5199, allocations: 2.818 MB / 0.5917 GB, free: 15.77 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.262e-05/0.5199, allocations: 0 / 0.5917 GB, free: 15.77 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000215/0.5201, allocations: 84 kB / 0.5918 GB, free: 15.69 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.216e-05/0.5202, allocations: 52 kB / 0.5918 GB, free: 15.64 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006432/0.5266, allocations: 3.795 MB / 0.5955 GB, free: 11.83 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.01562/0.5422, allocations: 6.722 MB / 0.6021 GB, free: 4.984 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006177/0.5484, allocations: 3.258 MB / 0.6053 GB, free: 1.73 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001657/0.5501, allocations: 0.9114 MB / 0.6061 GB, free: 0.8164 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01181/0.5619, allocations: 4.678 MB / 0.6107 GB, free: 12.1 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.74e-05/0.5619, allocations: 47.86 kB / 0.6108 GB, free: 12.04 MB / 462.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007082/0.5626, allocations: 166.8 kB / 0.6109 GB, free: 11.88 MB / 462.1 MB Notification: Performance of pre-optimization done (n=138): time 6.352e-06/0.5627, allocations: 3.984 kB / 0.6109 GB, free: 11.88 MB / 462.1 MB Notification: Performance of matching and sorting (n=170): time 0.02817/0.5908, allocations: 6.181 MB / 0.617 GB, free: 5.664 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.467e-05/0.5909, allocations: 69.41 kB / 0.617 GB, free: 5.582 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002242/0.5931, allocations: 1.638 MB / 0.6186 GB, free: 3.926 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002933/0.5934, allocations: 57.64 kB / 0.6187 GB, free: 3.863 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009173/0.5943, allocations: 1.085 MB / 0.6197 GB, free: 2.766 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000755/0.5951, allocations: 0.6276 MB / 0.6203 GB, free: 2.133 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007299/0.5958, allocations: 480.8 kB / 0.6208 GB, free: 1.656 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001477/0.596, allocations: 301.1 kB / 0.6211 GB, free: 1.359 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0014/0.5974, allocations: 0.8014 MB / 0.6219 GB, free: 0.5547 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002231/0.5996, allocations: 1.608 MB / 0.6234 GB, free: 14.58 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00373/0.6033, allocations: 2.428 MB / 0.6258 GB, free: 11.79 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.12e-05/0.6034, allocations: 8 kB / 0.6258 GB, free: 11.79 MB / 478.1 MB Notification: Performance of matching and sorting (n=317) (initialization): time 0.00848/0.6118, allocations: 3.14 MB / 0.6289 GB, free: 8.625 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.02e-05/0.6119, allocations: 16 kB / 0.6289 GB, free: 8.609 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.916e-05/0.6119, allocations: 31.94 kB / 0.6289 GB, free: 8.578 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003569/0.6155, allocations: 487 kB / 0.6294 GB, free: 8.09 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002242/0.6177, allocations: 0.5928 MB / 0.63 GB, free: 7.496 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0113/0.629, allocations: 7.154 MB / 0.637 GB, free: 15.94 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001951/0.631, allocations: 83.98 kB / 0.637 GB, free: 15.86 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000306/0.6313, allocations: 140 kB / 0.6372 GB, free: 15.72 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.0008901/0.6322, allocations: 417.6 kB / 0.6376 GB, free: 15.3 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004389/0.6326, allocations: 170.9 kB / 0.6377 GB, free: 15.14 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007443/0.6401, allocations: 2.388 MB / 0.6401 GB, free: 12.73 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.118e-05/0.6401, allocations: 16 kB / 0.6401 GB, free: 12.72 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.358e-06/0.6401, allocations: 7.938 kB / 0.6401 GB, free: 12.71 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.981e-05/0.6401, allocations: 15.89 kB / 0.6401 GB, free: 12.7 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00282/0.643, allocations: 1.368 MB / 0.6414 GB, free: 11.26 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.257e-06/0.643, allocations: 4 kB / 0.6415 GB, free: 11.25 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001349/0.6443, allocations: 347.5 kB / 0.6418 GB, free: 10.91 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003466/0.6478, allocations: 455.1 kB / 0.6422 GB, free: 10.46 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002177/0.648, allocations: 63.98 kB / 0.6423 GB, free: 10.39 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01052/0.6585, allocations: 6.964 MB / 0.6491 GB, free: 3.027 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.32e-06/0.6585, allocations: 4 kB / 0.6491 GB, free: 3.023 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008475/0.667, allocations: 2.992 MB / 0.652 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005648/0.6676, allocations: 154.9 kB / 0.6522 GB, free: 15.83 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002405/0.6678, allocations: 35.98 kB / 0.6522 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008542/0.6687, allocations: 48 kB / 0.6522 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003495/0.669, allocations: 157.6 kB / 0.6524 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001545/0.6692, allocations: 71.97 kB / 0.6525 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001384/0.6705, allocations: 1.076 MB / 0.6535 GB, free: 14.44 MB / 0.4981 GB Notification: Performance of sort global known variables: time 9e-08/0.6705, allocations: 3.938 kB / 0.6535 GB, free: 14.44 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.004467/0.675, allocations: 1.379 MB / 0.6549 GB, free: 13.05 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.003259/0.6783, allocations: 1.538 MB / 0.6564 GB, free: 11.5 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.004957/0.6832, allocations: 2.395 MB / 0.6587 GB, free: 9.062 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 9.688e-06/0.6832, allocations: 0 / 0.6587 GB, free: 9.062 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.00237/0.6856, allocations: 1.273 MB / 0.6599 GB, free: 7.738 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001889/0.6875, allocations: 353.9 kB / 0.6603 GB, free: 7.402 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006724/0.6942, allocations: 3.691 MB / 0.6639 GB, free: 3.645 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009462/0.6952, allocations: 0.8099 MB / 0.6647 GB, free: 2.797 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001047/0.6962, allocations: 378.4 kB / 0.665 GB, free: 2.426 MB / 0.4981 GB Notification: Performance of SimCode: time 1.292e-06/0.6962, allocations: 0 / 0.665 GB, free: 2.426 MB / 0.4981 GB Notification: Performance of Templates: time 0.3349/1.031, allocations: 67.96 MB / 0.7314 GB, free: 178.3 MB / 0.5606 GB " [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: 12.1062750639976] Failed to read output from testmodel.py, exit status != 0: 1.0413329330040142 1.054482326 0.5502735240000001 Calling exit ...