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.001334/0.001334, allocations: 80.3 kB / 19.18 MB, free: 2.516 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.001505/0.001505, allocations: 159.5 kB / 22.45 MB, free: 5.375 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.463/1.463, allocations: 177.2 MB / 202.8 MB, free: 9.16 MB / 190.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.141/0.141, allocations: 17.45 MB / 276.6 MB, free: 15.2 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: Performance of FrontEnd - loaded program: time 1.773e-06/1.773e-06, allocations: 0 / 412.1 MB, free: 4.27 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.897e-05/3.075e-05, allocations: 5.656 kB / 412.1 MB, free: 4.266 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.GasSolubility_NIST): time 0.01871/0.01874, allocations: 12.86 MB / 425 MB, free: 7.363 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.244/0.2627, allocations: 43.17 MB / 468.1 MB, free: 15 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00297/0.2657, allocations: 47 kB / 468.2 MB, free: 15 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00344/0.2691, allocations: 1.011 MB / 469.2 MB, free: 14.86 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01104/0.2802, allocations: 3.557 MB / 472.7 MB, free: 13.41 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01969/0.2999, allocations: 7.281 MB / 480 MB, free: 9.574 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.005814/0.3057, allocations: 4.661 MB / 484.7 MB, free: 6.887 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002282/0.308, allocations: 1.902 MB / 486.6 MB, free: 5.484 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003368/0.3113, allocations: 2.932 MB / 489.5 MB, free: 3.871 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003128/0.3144, allocations: 1.839 MB / 491.4 MB, free: 2.938 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008075/0.3153, allocations: 386.7 kB / 491.7 MB, free: 2.934 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01436/0.3296, allocations: 5.277 MB / 497 MB, free: 15.34 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001475/0.3311, allocations: 0.8994 MB / 497.9 MB, free: 14.44 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002842/0.3339, allocations: 1.419 MB / 499.3 MB, free: 13.02 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02818/0.3621, allocations: 10.87 MB / 0.4982 GB, free: 2.113 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.412e-06/0.3621, allocations: 4 kB / 0.4982 GB, free: 2.109 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.3621, allocations: 0 / 0.4982 GB, free: 2.109 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001334/0.3623, allocations: 0 / 0.4982 GB, free: 2.109 MB / 382.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.009932/0.3722, allocations: 4.687 MB / 0.5028 GB, free: 13.36 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.646e-05/0.3722, allocations: 11.97 kB / 0.5028 GB, free: 13.35 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004182/0.3764, allocations: 0.9484 MB / 0.5038 GB, free: 12.4 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003004/0.3794, allocations: 1.542 MB / 0.5053 GB, free: 10.82 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002059/0.3796, allocations: 234.6 kB / 0.5055 GB, free: 10.59 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005719/0.3802, allocations: 316.3 kB / 0.5058 GB, free: 10.29 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007665/0.3879, allocations: 4.527 MB / 0.5102 GB, free: 5.688 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.324e-05/0.3879, allocations: 192 / 0.5102 GB, free: 5.688 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003206/0.3882, allocations: 128.6 kB / 0.5103 GB, free: 5.562 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.835e-05/0.3883, allocations: 75.94 kB / 0.5104 GB, free: 5.488 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01003/0.3983, allocations: 6.415 MB / 0.5167 GB, free: 15.05 MB / 414.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.02425/0.4226, allocations: 10.47 MB / 0.5269 GB, free: 4.43 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007567/0.4301, allocations: 3.721 MB / 0.5305 GB, free: 0.6992 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002335/0.4325, allocations: 1.172 MB / 0.5317 GB, free: 15.51 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01554/0.448, allocations: 6.301 MB / 0.5378 GB, free: 9.172 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.508e-05/0.4481, allocations: 52.06 kB / 0.5379 GB, free: 9.113 MB / 430.1 MB Notification: Performance of pre-optimization done (n=182): time 4.138e-06/0.4481, allocations: 0 / 0.5379 GB, free: 9.113 MB / 430.1 MB Notification: Performance of matching and sorting (n=227): time 0.04576/0.4938, allocations: 9.395 MB / 0.5471 GB, free: 15.61 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.972e-05/0.4939, allocations: 128.8 kB / 0.5472 GB, free: 15.46 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004619/0.4985, allocations: 3.28 MB / 0.5504 GB, free: 12.14 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004047/0.499, allocations: 61.7 kB / 0.5504 GB, free: 12.08 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001371/0.5003, allocations: 1.648 MB / 0.552 GB, free: 10.41 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000901/0.5012, allocations: 0.8251 MB / 0.5529 GB, free: 9.582 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001107/0.5023, allocations: 0.6839 MB / 0.5535 GB, free: 8.891 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001382/0.5025, allocations: 301.1 kB / 0.5538 GB, free: 8.594 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002416/0.5049, allocations: 1.42 MB / 0.5552 GB, free: 7.172 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003449/0.5083, allocations: 2.515 MB / 0.5576 GB, free: 4.168 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005515/0.5139, allocations: 3.627 MB / 0.5612 GB, free: 52 kB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.295e-05/0.5139, allocations: 12 kB / 0.5612 GB, free: 40 kB / 446.1 MB Notification: Performance of matching and sorting (n=458) (initialization): time 0.01396/0.5278, allocations: 5.031 MB / 0.5661 GB, free: 10.98 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.384e-05/0.5279, allocations: 24.19 kB / 0.5661 GB, free: 10.96 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.94e-05/0.5279, allocations: 36 kB / 0.5662 GB, free: 10.92 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005924/0.5339, allocations: 0.7112 MB / 0.5669 GB, free: 10.19 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003242/0.5371, allocations: 0.8347 MB / 0.5677 GB, free: 9.355 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01793/0.555, allocations: 10.71 MB / 0.5781 GB, free: 14.05 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002885/0.5579, allocations: 116 kB / 0.5783 GB, free: 13.94 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004957/0.5584, allocations: 199.9 kB / 0.5784 GB, free: 13.74 MB / 478.1 MB 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.001354/0.5598, allocations: 0.548 MB / 0.579 GB, free: 13.18 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007174/0.5605, allocations: 250.4 kB / 0.5792 GB, free: 12.94 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01197/0.5725, allocations: 3.193 MB / 0.5823 GB, free: 9.723 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.473e-05/0.5725, allocations: 24 kB / 0.5824 GB, free: 9.699 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.611e-05/0.5725, allocations: 8 kB / 0.5824 GB, free: 9.691 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.586e-05/0.5726, allocations: 11.95 kB / 0.5824 GB, free: 9.68 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00404/0.5766, allocations: 1.927 MB / 0.5843 GB, free: 7.668 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.261e-05/0.5766, allocations: 4 kB / 0.5843 GB, free: 7.664 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001853/0.5785, allocations: 451.8 kB / 0.5847 GB, free: 7.223 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005995/0.5845, allocations: 0.6644 MB / 0.5853 GB, free: 6.539 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003987/0.5849, allocations: 83.95 kB / 0.5854 GB, free: 6.457 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01664/0.6015, allocations: 10.43 MB / 0.5956 GB, free: 11.43 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.33e-06/0.6015, allocations: 8.062 kB / 0.5956 GB, free: 11.42 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01305/0.6145, allocations: 4.133 MB / 0.5996 GB, free: 7.203 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006907/0.6152, allocations: 242.2 kB / 0.5999 GB, free: 6.965 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004267/0.6157, allocations: 48 kB / 0.5999 GB, free: 6.918 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001463/0.6171, allocations: 52 kB / 0.6 GB, free: 6.867 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004782/0.6176, allocations: 205.5 kB / 0.6002 GB, free: 6.664 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000218/0.6178, allocations: 91.97 kB / 0.6003 GB, free: 6.574 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.002871/0.6207, allocations: 2.27 MB / 0.6025 GB, free: 4.285 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.6207, allocations: 4 kB / 0.6025 GB, free: 4.281 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.006563/0.6273, allocations: 2.107 MB / 0.6045 GB, free: 2.168 MB / 494.1 MB 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.005317/0.6326, allocations: 2.395 MB / 0.6069 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.007284/0.6399, allocations: 3.645 MB / 0.6104 GB, free: 12.05 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 8.466e-06/0.6399, allocations: 4 kB / 0.6104 GB, free: 12.04 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.003351/0.6432, allocations: 1.77 MB / 0.6122 GB, free: 10.2 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002763/0.646, allocations: 485.2 kB / 0.6126 GB, free: 9.715 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009051/0.655, allocations: 5.057 MB / 0.6176 GB, free: 4.586 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001346/0.6564, allocations: 1.158 MB / 0.6187 GB, free: 3.395 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.002329/0.6587, allocations: 0.5937 MB / 0.6193 GB, free: 2.805 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009354/0.6596, allocations: 399.2 kB / 0.6197 GB, free: 2.414 MB / 0.4981 GB Notification: Performance of SimCode: time 7.62e-07/0.6596, allocations: 4 kB / 0.6197 GB, free: 2.41 MB / 0.4981 GB Notification: Performance of Templates: time 0.2603/0.9199, allocations: 69.83 MB / 0.6879 GB, free: 149.8 MB / 0.5137 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.175199013203382] Failed to read output from testmodel.py, exit status != 0: 0.9295835047960281 0.937697847 0.5730546860000001 Calling exit ...