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.001438/0.001438, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.001779/0.001779, allocations: 218.7 kB / 23.01 MB, free: 4.609 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.511/1.511, allocations: 230.6 MB / 256.8 MB, free: 8.023 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.1452/0.1452, allocations: 23.89 MB / 337.1 MB, free: 11.19 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.002328/0.002328, allocations: 70.69 kB / 472.5 MB, free: 7.156 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3856/0.3879, allocations: 59.86 MB / 0.5199 GB, free: 9.855 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.GasSolubility_NIST): time 0.01465/0.4025, allocations: 14.95 MB / 0.5345 GB, free: 15.19 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.06657/0.4691, allocations: 49.43 MB / 0.5827 GB, free: 9.199 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004311/0.4734, allocations: 46.81 kB / 0.5828 GB, free: 9.176 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004452/0.4779, allocations: 1.097 MB / 0.5839 GB, free: 8.27 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01611/0.494, allocations: 3.484 MB / 0.5873 GB, free: 4.762 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02666/0.5206, allocations: 7.071 MB / 0.5942 GB, free: 13.65 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.009052/0.5297, allocations: 4.495 MB / 0.5986 GB, free: 9.137 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003452/0.5332, allocations: 1.913 MB / 0.6004 GB, free: 7.168 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004033/0.5372, allocations: 2.092 MB / 0.6025 GB, free: 5.07 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004783/0.542, allocations: 2.324 MB / 0.6047 GB, free: 2.738 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001461/0.5434, allocations: 384 kB / 0.6051 GB, free: 2.363 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02577/0.5692, allocations: 5.589 MB / 0.6106 GB, free: 12.76 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001747/0.5709, allocations: 0.8801 MB / 0.6114 GB, free: 11.88 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003731/0.5747, allocations: 1.96 MB / 0.6133 GB, free: 9.91 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03397/0.6087, allocations: 10.25 MB / 0.6233 GB, free: 15.62 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.823e-06/0.6087, allocations: 0 / 0.6233 GB, free: 15.62 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.093e-06/0.6087, allocations: 0 / 0.6233 GB, free: 15.62 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0001871/0.6088, allocations: 0 / 0.6233 GB, free: 15.62 MB / 478.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.01405/0.6229, allocations: 4.745 MB / 0.628 GB, free: 10.82 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.692e-05/0.623, allocations: 16.03 kB / 0.628 GB, free: 10.8 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004838/0.6278, allocations: 0.9268 MB / 0.6289 GB, free: 9.871 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004582/0.6324, allocations: 1.547 MB / 0.6304 GB, free: 8.281 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002783/0.6327, allocations: 242.6 kB / 0.6306 GB, free: 8.043 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008746/0.6335, allocations: 324.3 kB / 0.631 GB, free: 7.727 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009032/0.6426, allocations: 4.523 MB / 0.6354 GB, free: 3.133 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.599e-05/0.6426, allocations: 4 kB / 0.6354 GB, free: 3.129 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000306/0.6429, allocations: 127.9 kB / 0.6355 GB, free: 3.004 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.016e-05/0.643, allocations: 76 kB / 0.6356 GB, free: 2.93 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0108/0.6538, allocations: 6.478 MB / 0.6419 GB, free: 12.42 MB / 494.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.02589/0.6797, allocations: 12.63 MB / 0.6542 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007676/0.6874, allocations: 3.8 MB / 0.6579 GB, free: 11.57 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002489/0.6899, allocations: 1.175 MB / 0.6591 GB, free: 10.38 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0168/0.7067, allocations: 6.724 MB / 0.6657 GB, free: 3.621 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.226e-05/0.7067, allocations: 59.98 kB / 0.6657 GB, free: 3.555 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=182): time 3.908e-06/0.7067, allocations: 0 / 0.6657 GB, free: 3.555 MB / 0.4981 GB Notification: Performance of matching and sorting (n=227): time 0.04528/0.752, allocations: 9.415 MB / 0.6749 GB, free: 10.03 MB / 0.5138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001033/0.7521, allocations: 136.7 kB / 0.675 GB, free: 9.867 MB / 0.5138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004741/0.7568, allocations: 3.397 MB / 0.6784 GB, free: 6.445 MB / 0.5138 GB Notification: Performance of collectPreVariables (initialization): time 0.0004187/0.7573, allocations: 61.7 kB / 0.6784 GB, free: 6.379 MB / 0.5138 GB Notification: Performance of collectInitialEqns (initialization): time 0.001367/0.7586, allocations: 1.641 MB / 0.68 GB, free: 4.723 MB / 0.5138 GB Notification: Performance of collectInitialBindings (initialization): time 0.001079/0.7597, allocations: 0.8251 MB / 0.6808 GB, free: 3.891 MB / 0.5138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001135/0.7608, allocations: 0.6956 MB / 0.6815 GB, free: 3.188 MB / 0.5138 GB Notification: Performance of setup shared object (initialization): time 0.0001406/0.761, allocations: 305.1 kB / 0.6818 GB, free: 2.887 MB / 0.5138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002339/0.7633, allocations: 1.413 MB / 0.6832 GB, free: 1.473 MB / 0.5138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003525/0.7668, allocations: 2.523 MB / 0.6856 GB, free: 14.47 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005627/0.7725, allocations: 3.623 MB / 0.6892 GB, free: 10.36 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.075e-05/0.7725, allocations: 12 kB / 0.6892 GB, free: 10.34 MB / 0.5294 GB Notification: Performance of matching and sorting (n=458) (initialization): time 0.01446/0.787, allocations: 5.043 MB / 0.6941 GB, free: 5.277 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 4.68e-05/0.787, allocations: 20 kB / 0.6941 GB, free: 5.258 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.57e-05/0.7871, allocations: 36 kB / 0.6942 GB, free: 5.223 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005577/0.7926, allocations: 0.7153 MB / 0.6949 GB, free: 4.488 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003228/0.7959, allocations: 0.8347 MB / 0.6957 GB, free: 3.652 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01735/0.8132, allocations: 10.94 MB / 0.7064 GB, free: 8.035 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003085/0.8163, allocations: 120 kB / 0.7065 GB, free: 7.918 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006008/0.8169, allocations: 191.9 kB / 0.7067 GB, free: 7.73 MB / 0.545 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.001347/0.8182, allocations: 0.5519 MB / 0.7072 GB, free: 7.168 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008054/0.819, allocations: 274.2 kB / 0.7075 GB, free: 6.898 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01129/0.8303, allocations: 3.214 MB / 0.7106 GB, free: 3.66 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.976e-05/0.8304, allocations: 24 kB / 0.7106 GB, free: 3.637 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.847e-05/0.8304, allocations: 4 kB / 0.7106 GB, free: 3.633 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.143e-05/0.8305, allocations: 11.95 kB / 0.7106 GB, free: 3.621 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004847/0.8353, allocations: 2.581 MB / 0.7132 GB, free: 0.9531 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.009e-05/0.8353, allocations: 0 / 0.7132 GB, free: 0.9531 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001758/0.8371, allocations: 447.4 kB / 0.7136 GB, free: 0.5156 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005849/0.8429, allocations: 0.6685 MB / 0.7142 GB, free: 15.83 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003987/0.8433, allocations: 83.95 kB / 0.7143 GB, free: 15.75 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01613/0.8595, allocations: 10.68 MB / 0.7247 GB, free: 4.387 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.73e-06/0.8595, allocations: 4 kB / 0.7247 GB, free: 4.383 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01277/0.8722, allocations: 4.149 MB / 0.7288 GB, free: 160 kB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.2443/1.117, allocations: 251.9 kB / 0.729 GB, free: 174.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009707/1.117, allocations: 53.86 kB / 0.7291 GB, free: 174.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00174/1.119, allocations: 55.73 kB / 0.7291 GB, free: 174.2 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005808/1.12, allocations: 210 kB / 0.7293 GB, free: 174.2 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002336/1.12, allocations: 98.7 kB / 0.7294 GB, free: 174.2 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.003076/1.123, allocations: 2.391 MB / 0.7318 GB, free: 174 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/1.123, allocations: 0 / 0.7318 GB, free: 174 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.007159/1.13, allocations: 2.11 MB / 0.7338 GB, free: 174 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.005378/1.136, allocations: 2.31 MB / 0.7361 GB, free: 173.9 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.008359/1.144, allocations: 3.647 MB / 0.7396 GB, free: 172.5 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 9.097e-06/1.144, allocations: 0.9375 kB / 0.7396 GB, free: 172.5 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.003088/1.147, allocations: 1.773 MB / 0.7414 GB, free: 171.4 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002963/1.15, allocations: 0.5025 MB / 0.7419 GB, free: 171.2 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009229/1.159, allocations: 5.289 MB / 0.747 GB, free: 168.6 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001668/1.161, allocations: 1.717 MB / 0.7487 GB, free: 167.9 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00179/1.163, allocations: 0.5228 MB / 0.7492 GB, free: 167.8 MB / 0.5606 GB Notification: Performance of SimCode: time 1.352e-06/1.163, allocations: 3.938 kB / 0.7492 GB, free: 167.8 MB / 0.5606 GB Notification: Performance of Templates: time 0.1151/1.278, allocations: 123.5 MB / 0.8698 GB, free: 58.43 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: 14.837980557989795] Failed to read output from testmodel.py, exit status != 0: 1.2883079510065727 1.297837395 0.68642433 Calling exit ...