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.001414/0.001414, 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.001665/0.001665, allocations: 207.2 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.445/1.445, allocations: 230.6 MB / 256.8 MB, free: 7.801 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.1357/0.1357, allocations: 23.87 MB / 337.1 MB, free: 10.96 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.00204/0.00204, allocations: 67.89 kB / 472.4 MB, free: 7.004 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3421/0.3442, allocations: 59.85 MB / 0.5197 GB, free: 9.801 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.GasSolubility): time 0.009577/0.3538, allocations: 9.116 MB / 0.5286 GB, free: 3.762 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03979/0.3936, allocations: 28.97 MB / 0.5569 GB, free: 15.82 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001943/0.3955, allocations: 31.53 kB / 0.557 GB, free: 15.8 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002039/0.3975, allocations: 0.6348 MB / 0.5576 GB, free: 15.32 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008165/0.4057, allocations: 2.615 MB / 0.5601 GB, free: 13.34 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01258/0.4183, allocations: 4.374 MB / 0.5644 GB, free: 10 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.004696/0.423, allocations: 3.017 MB / 0.5674 GB, free: 8.207 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001877/0.4249, allocations: 1.37 MB / 0.5687 GB, free: 7.184 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00214/0.427, allocations: 1.486 MB / 0.5701 GB, free: 5.992 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002432/0.4294, allocations: 1.635 MB / 0.5717 GB, free: 4.352 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004752/0.4299, allocations: 268 kB / 0.572 GB, free: 4.09 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0114/0.4413, allocations: 3.514 MB / 0.5754 GB, free: 0.5703 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001101/0.4424, allocations: 0.6076 MB / 0.576 GB, free: 15.96 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002208/0.4446, allocations: 1.128 MB / 0.5771 GB, free: 14.83 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01733/0.4619, allocations: 6.809 MB / 0.5838 GB, free: 7.992 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/0.4619, allocations: 0 / 0.5838 GB, free: 7.992 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.4619, allocations: 0 / 0.5838 GB, free: 7.992 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.721e-05/0.462, allocations: 0 / 0.5838 GB, free: 7.992 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.006506/0.4685, allocations: 3.223 MB / 0.5869 GB, free: 4.715 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.71e-05/0.4685, allocations: 12.02 kB / 0.5869 GB, free: 4.703 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00258/0.4711, allocations: 0.5843 MB / 0.5875 GB, free: 4.117 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002229/0.4733, allocations: 1.073 MB / 0.5886 GB, free: 3.016 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001445/0.4735, allocations: 164.6 kB / 0.5887 GB, free: 2.852 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004117/0.4739, allocations: 220.3 kB / 0.5889 GB, free: 2.637 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004923/0.4788, allocations: 2.818 MB / 0.5917 GB, free: 15.73 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.223e-05/0.4789, allocations: 0 / 0.5917 GB, free: 15.73 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002235/0.4791, allocations: 88 kB / 0.5918 GB, free: 15.65 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-05/0.4791, allocations: 51.98 kB / 0.5918 GB, free: 15.6 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006131/0.4853, allocations: 3.788 MB / 0.5955 GB, free: 11.79 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.01465/0.4999, allocations: 6.721 MB / 0.6021 GB, free: 4.949 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006074/0.506, allocations: 3.261 MB / 0.6053 GB, free: 1.691 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001643/0.5076, allocations: 0.9114 MB / 0.6061 GB, free: 0.7773 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01176/0.5194, allocations: 4.682 MB / 0.6107 GB, free: 12.06 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.351e-05/0.5194, allocations: 47.88 kB / 0.6108 GB, free: 12 MB / 462.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006806/0.5201, allocations: 170.8 kB / 0.6109 GB, free: 11.83 MB / 462.1 MB Notification: Performance of pre-optimization done (n=138): time 3.967e-06/0.5201, allocations: 4 kB / 0.6109 GB, free: 11.83 MB / 462.1 MB Notification: Performance of matching and sorting (n=170): time 0.03289/0.553, allocations: 6.173 MB / 0.617 GB, free: 5.625 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.523e-05/0.5531, allocations: 73.41 kB / 0.617 GB, free: 5.539 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002342/0.5554, allocations: 1.634 MB / 0.6186 GB, free: 3.887 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000279/0.5557, allocations: 61.7 kB / 0.6187 GB, free: 3.82 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008218/0.5565, allocations: 1.085 MB / 0.6197 GB, free: 2.723 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006635/0.5572, allocations: 0.6198 MB / 0.6203 GB, free: 2.098 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007271/0.5579, allocations: 484.8 kB / 0.6208 GB, free: 1.617 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001316/0.558, allocations: 301.1 kB / 0.6211 GB, free: 1.32 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001364/0.5594, allocations: 0.8053 MB / 0.6219 GB, free: 0.5117 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002217/0.5616, allocations: 1.604 MB / 0.6234 GB, free: 14.54 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003587/0.5652, allocations: 2.424 MB / 0.6258 GB, free: 11.75 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.747e-05/0.5652, allocations: 8 kB / 0.6258 GB, free: 11.75 MB / 478.1 MB Notification: Performance of matching and sorting (n=317) (initialization): time 0.009169/0.5744, allocations: 3.144 MB / 0.6289 GB, free: 8.582 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.308e-05/0.5744, allocations: 19.94 kB / 0.6289 GB, free: 8.562 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.244e-05/0.5745, allocations: 32 kB / 0.6289 GB, free: 8.531 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004384/0.5789, allocations: 487.1 kB / 0.6294 GB, free: 8.043 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002401/0.5813, allocations: 0.5889 MB / 0.63 GB, free: 7.453 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01211/0.5934, allocations: 7.151 MB / 0.637 GB, free: 15.9 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001858/0.5952, allocations: 87.92 kB / 0.6371 GB, free: 15.82 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002721/0.5955, allocations: 140 kB / 0.6372 GB, free: 15.68 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.0008377/0.5964, allocations: 417.5 kB / 0.6376 GB, free: 15.26 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003992/0.5968, allocations: 166.9 kB / 0.6377 GB, free: 15.1 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008153/0.6049, allocations: 2.395 MB / 0.6401 GB, free: 12.69 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.588e-05/0.6049, allocations: 16 kB / 0.6401 GB, free: 12.67 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.857e-06/0.6049, allocations: 4 kB / 0.6401 GB, free: 12.67 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.905e-05/0.605, allocations: 7.969 kB / 0.6401 GB, free: 12.66 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002475/0.6074, allocations: 1.367 MB / 0.6414 GB, free: 11.22 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.817e-06/0.6074, allocations: 4 kB / 0.6414 GB, free: 11.22 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001366/0.6088, allocations: 347.8 kB / 0.6418 GB, free: 10.88 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00426/0.6131, allocations: 458.8 kB / 0.6422 GB, free: 10.42 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001839/0.6132, allocations: 63.97 kB / 0.6423 GB, free: 10.36 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01054/0.6238, allocations: 6.961 MB / 0.6491 GB, free: 2.992 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.529e-06/0.6238, allocations: 4 kB / 0.6491 GB, free: 2.988 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008967/0.6328, allocations: 2.992 MB / 0.652 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005103/0.6333, allocations: 162.8 kB / 0.6522 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002468/0.6335, allocations: 40 kB / 0.6522 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009289/0.6344, allocations: 39.98 kB / 0.6522 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000343/0.6348, allocations: 153.7 kB / 0.6524 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001499/0.6349, allocations: 71.97 kB / 0.6524 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001358/0.6363, allocations: 1.083 MB / 0.6535 GB, free: 14.4 MB / 0.4981 GB Notification: Performance of sort global known variables: time 8e-08/0.6363, allocations: 0 / 0.6535 GB, free: 14.4 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.004062/0.6404, allocations: 1.379 MB / 0.6549 GB, free: 13.02 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.002964/0.6433, allocations: 1.54 MB / 0.6564 GB, free: 11.46 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.004339/0.6477, allocations: 2.396 MB / 0.6587 GB, free: 9.023 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.498e-06/0.6477, allocations: 4.062 kB / 0.6587 GB, free: 9.02 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.002023/0.6497, allocations: 1.267 MB / 0.6599 GB, free: 7.699 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001716/0.6514, allocations: 363.3 kB / 0.6603 GB, free: 7.355 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00631/0.6577, allocations: 3.63 MB / 0.6638 GB, free: 3.664 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009173/0.6586, allocations: 0.8021 MB / 0.6646 GB, free: 2.824 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001578/0.6602, allocations: 432.7 kB / 0.665 GB, free: 2.402 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000653/0.6609, allocations: 286.7 kB / 0.6653 GB, free: 2.121 MB / 0.4981 GB Notification: Performance of SimCode: time 1.002e-06/0.6609, allocations: 4 kB / 0.6653 GB, free: 2.117 MB / 0.4981 GB Notification: Performance of Templates: time 0.07789/0.7388, allocations: 50.25 MB / 0.7144 GB, free: 180 kB / 0.545 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 -s cvode -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.GasSolubility.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.855380969005637] Failed to read output from testmodel.py, exit status != 0: 0.7478566380013945 0.7625542319999999 0.297275202 Calling exit ...