Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_Chemical.Obsolete.Examples.GasSolubility_NIST.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.00178/0.00178, allocations: 103.6 kB / 18.95 MB, free: 2.66 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.002144/0.002144, allocations: 221 kB / 22.25 MB, free: 5.25 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.563/1.563, allocations: 230.6 MB / 256 MB, free: 7.797 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.1495/0.1495, allocations: 23.92 MB / 336.3 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_NIST,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Obsolete.Examples.GasSolubility_NIST") translateModel(Chemical.Obsolete.Examples.GasSolubility_NIST,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Obsolete.Examples.GasSolubility_NIST") [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.002058/0.002058, allocations: 71.89 kB / 471.7 MB, free: 6.941 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3397/0.3417, allocations: 59.87 MB / 0.5191 GB, free: 9.844 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.GasSolubility_NIST): time 0.01258/0.3543, allocations: 12.92 MB / 0.5317 GB, free: 1.324 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.06156/0.4159, allocations: 43.19 MB / 0.5739 GB, free: 1.414 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004182/0.4201, allocations: 43.62 kB / 0.5739 GB, free: 1.371 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004131/0.4242, allocations: 0.9947 MB / 0.5749 GB, free: 384 kB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01425/0.4384, allocations: 3.437 MB / 0.5783 GB, free: 12.91 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02332/0.4618, allocations: 7.075 MB / 0.5852 GB, free: 5.797 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.00847/0.4702, allocations: 4.494 MB / 0.5896 GB, free: 1.289 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003251/0.4735, allocations: 1.925 MB / 0.5914 GB, free: 15.31 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003492/0.477, allocations: 2.104 MB / 0.5935 GB, free: 13.2 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004341/0.4813, allocations: 2.324 MB / 0.5958 GB, free: 10.87 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001029/0.4823, allocations: 384 kB / 0.5961 GB, free: 10.49 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01912/0.5015, allocations: 5.366 MB / 0.6014 GB, free: 5.117 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001862/0.5033, allocations: 0.8879 MB / 0.6022 GB, free: 4.227 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003763/0.5071, allocations: 1.65 MB / 0.6039 GB, free: 2.57 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03056/0.5376, allocations: 10.21 MB / 0.6138 GB, free: 8.312 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.317e-06/0.5377, allocations: 0 / 0.6138 GB, free: 8.312 MB / 462.1 MB Notification: Performance of FrontEnd: time 4.799e-06/0.5377, allocations: 3.984 kB / 0.6138 GB, free: 8.309 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0001574/0.5378, allocations: 4 kB / 0.6138 GB, free: 8.305 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 791 * Number of variables: 791 Notification: Performance of Generate backend data structure: time 0.01262/0.5504, allocations: 4.725 MB / 0.6184 GB, free: 3.52 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.375e-05/0.5505, allocations: 12.03 kB / 0.6185 GB, free: 3.508 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004738/0.5552, allocations: 0.9268 MB / 0.6194 GB, free: 2.578 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00357/0.5588, allocations: 1.555 MB / 0.6209 GB, free: 0.9805 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000217/0.559, allocations: 230.6 kB / 0.6211 GB, free: 0.7539 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006494/0.5597, allocations: 328.2 kB / 0.6214 GB, free: 444 kB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007991/0.5677, allocations: 4.523 MB / 0.6258 GB, free: 11.84 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.202e-05/0.5677, allocations: 4 kB / 0.6258 GB, free: 11.83 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003463/0.5681, allocations: 124 kB / 0.626 GB, free: 11.71 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.231e-05/0.5681, allocations: 76 kB / 0.626 GB, free: 11.64 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01075/0.5789, allocations: 6.415 MB / 0.6323 GB, free: 5.195 MB / 478.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.02401/0.6029, allocations: 10.46 MB / 0.6425 GB, free: 10.58 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007674/0.6106, allocations: 3.721 MB / 0.6461 GB, free: 6.84 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0023/0.6129, allocations: 1.167 MB / 0.6473 GB, free: 5.664 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01707/0.6299, allocations: 6.294 MB / 0.6534 GB, free: 15.33 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.302e-05/0.63, allocations: 52.06 kB / 0.6535 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=182): time 4.759e-06/0.63, allocations: 0 / 0.6535 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of matching and sorting (n=227): time 0.04993/0.6799, allocations: 9.41 MB / 0.6627 GB, free: 5.746 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000128/0.6801, allocations: 128.8 kB / 0.6628 GB, free: 5.594 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005012/0.6851, allocations: 3.28 MB / 0.666 GB, free: 2.277 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0004659/0.6855, allocations: 61.7 kB / 0.6661 GB, free: 2.211 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001393/0.6869, allocations: 1.652 MB / 0.6677 GB, free: 0.543 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001023/0.688, allocations: 0.8369 MB / 0.6685 GB, free: 15.7 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001183/0.6891, allocations: 0.6878 MB / 0.6692 GB, free: 15 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001532/0.6893, allocations: 305.1 kB / 0.6694 GB, free: 14.7 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00241/0.6917, allocations: 1.424 MB / 0.6708 GB, free: 13.27 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003473/0.6952, allocations: 2.515 MB / 0.6733 GB, free: 10.28 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00565/0.7008, allocations: 3.627 MB / 0.6768 GB, free: 6.16 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.27e-05/0.7009, allocations: 11.94 kB / 0.6768 GB, free: 6.148 MB / 0.5137 GB Notification: Performance of matching and sorting (n=458) (initialization): time 0.01755/0.7184, allocations: 5.039 MB / 0.6818 GB, free: 1.086 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 5.153e-05/0.7185, allocations: 20 kB / 0.6818 GB, free: 1.066 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.546e-05/0.7185, allocations: 36 kB / 0.6818 GB, free: 1.031 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006861/0.7254, allocations: 0.7037 MB / 0.6825 GB, free: 316 kB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003643/0.729, allocations: 0.8386 MB / 0.6833 GB, free: 15.47 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01858/0.7476, allocations: 10.71 MB / 0.6938 GB, free: 4.152 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003122/0.7508, allocations: 120 kB / 0.6939 GB, free: 4.035 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005622/0.7513, allocations: 199.9 kB / 0.6941 GB, free: 3.84 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 159 * 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 (440): * Single equations (assignments): 434 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,3,100.0%), (1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,3), (1,3), (1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.00134/0.7527, allocations: 0.5436 MB / 0.6946 GB, free: 3.285 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007752/0.7534, allocations: 254.3 kB / 0.6949 GB, free: 3.035 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0129/0.7663, allocations: 3.197 MB / 0.698 GB, free: 15.81 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.431e-05/0.7664, allocations: 20 kB / 0.698 GB, free: 15.79 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.61e-05/0.7664, allocations: 4 kB / 0.698 GB, free: 15.79 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.258e-05/0.7665, allocations: 15.95 kB / 0.698 GB, free: 15.77 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00475/0.7712, allocations: 1.93 MB / 0.6999 GB, free: 13.76 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.21e-05/0.7712, allocations: 4 kB / 0.6999 GB, free: 13.76 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00209/0.7733, allocations: 451.8 kB / 0.7003 GB, free: 13.32 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006694/0.78, allocations: 0.6683 MB / 0.701 GB, free: 12.63 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000385/0.7804, allocations: 83.89 kB / 0.7011 GB, free: 12.55 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01705/0.7974, allocations: 10.43 MB / 0.7113 GB, free: 1.508 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.373e-06/0.7974, allocations: 7.938 kB / 0.7113 GB, free: 1.5 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01983/0.8173, allocations: 4.137 MB / 0.7153 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009719/0.8183, allocations: 234.3 kB / 0.7155 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006299/0.8189, allocations: 51.98 kB / 0.7156 GB, free: 13 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002439/0.8213, allocations: 52 kB / 0.7156 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006771/0.822, allocations: 205.5 kB / 0.7158 GB, free: 12.75 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003123/0.8223, allocations: 91.97 kB / 0.7159 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.004346/0.8267, allocations: 2.267 MB / 0.7181 GB, free: 10.37 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8267, allocations: 0 / 0.7181 GB, free: 10.37 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.009845/0.8365, allocations: 2.119 MB / 0.7202 GB, free: 8.246 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 12 (water_solution_37degC1.temperature,CO2_0.logn,O2_0.logn,water_0.logn,water_solution_37degC.temperature,CO2_37.logn,O2_37.logn,water_37.logn,water_solution_25degC.temperature,CO2_25.logn,O2_25.logn,water_25.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 (236): * Single equations (assignments): 230 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,3,100.0%), (1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,3), (1,3), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00721/0.8437, allocations: 2.31 MB / 0.7225 GB, free: 5.922 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.009728/0.8534, allocations: 3.646 MB / 0.726 GB, free: 2.207 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.052e-05/0.8534, allocations: 0 / 0.726 GB, free: 2.207 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.004637/0.8581, allocations: 1.77 MB / 0.7277 GB, free: 372 kB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.2216/1.08, allocations: 479.2 kB / 0.7282 GB, free: 173.4 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009659/1.089, allocations: 5.222 MB / 0.7333 GB, free: 171.5 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00151/1.091, allocations: 1.167 MB / 0.7344 GB, free: 171.3 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.002559/1.093, allocations: 0.5887 MB / 0.735 GB, free: 171.2 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001105/1.095, allocations: 400.7 kB / 0.7354 GB, free: 171.2 MB / 0.5606 GB Notification: Performance of SimCode: time 1.232e-06/1.095, allocations: 2.625 kB / 0.7354 GB, free: 171.2 MB / 0.5606 GB Notification: Performance of Templates: time 0.09092/1.185, allocations: 75.09 MB / 0.8087 GB, free: 118.5 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f Chemical_master_Chemical.Obsolete.Examples.GasSolubility_NIST.makefile [Timeout 660] (rm -f Chemical_master_Chemical.Obsolete.Examples.GasSolubility_NIST.pipe ; mkfifo Chemical_master_Chemical.Obsolete.Examples.GasSolubility_NIST.pipe ; head -c 1048576 < Chemical_master_Chemical.Obsolete.Examples.GasSolubility_NIST.pipe >> ../files/Chemical_master_Chemical.Obsolete.Examples.GasSolubility_NIST.sim & ./Chemical_master_Chemical.Obsolete.Examples.GasSolubility_NIST -abortSlowSimulation -alarm=480 -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.GasSolubility_NIST.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.60279572987929] Failed to read output from testmodel.py, exit status != 0: 1.1947680348530412 1.20332579 0.663023866 Calling exit ...