Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_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.001285/0.001285, allocations: 102.1 kB / 19.7 MB, free: 2.246 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.001477/0.001477, allocations: 222.5 kB / 23.01 MB, free: 5.086 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.428/1.428, allocations: 230.6 MB / 256.8 MB, free: 7.992 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.1386/0.1386, allocations: 23.85 MB / 337 MB, free: 11.18 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_NIST,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Obsolete.Examples.GasSolubility_NIST") translateModel(Chemical.Obsolete.Examples.GasSolubility_NIST,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_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.002029/0.002029, allocations: 63.91 kB / 472.4 MB, free: 7.164 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2997/0.3017, allocations: 59.85 MB / 0.5198 GB, free: 9.859 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.GasSolubility_NIST): time 0.01389/0.3156, allocations: 14.94 MB / 0.5344 GB, free: 15.2 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.06574/0.3813, allocations: 49.44 MB / 0.5827 GB, free: 9.23 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003128/0.3845, allocations: 45.91 kB / 0.5827 GB, free: 9.207 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0039/0.3884, allocations: 1.105 MB / 0.5838 GB, free: 8.309 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01184/0.4002, allocations: 3.476 MB / 0.5872 GB, free: 4.809 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02293/0.4231, allocations: 7.06 MB / 0.5941 GB, free: 13.71 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.00775/0.4309, allocations: 4.503 MB / 0.5985 GB, free: 9.188 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003787/0.4347, allocations: 1.913 MB / 0.6004 GB, free: 7.219 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003762/0.4384, allocations: 2.092 MB / 0.6024 GB, free: 5.121 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00434/0.4428, allocations: 2.328 MB / 0.6047 GB, free: 2.785 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001077/0.4439, allocations: 384 kB / 0.605 GB, free: 2.41 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01963/0.4635, allocations: 5.585 MB / 0.6105 GB, free: 12.81 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001598/0.4651, allocations: 0.8801 MB / 0.6113 GB, free: 11.93 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003803/0.4689, allocations: 1.956 MB / 0.6133 GB, free: 9.965 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02929/0.4982, allocations: 10.25 MB / 0.6233 GB, free: 15.68 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.441e-06/0.4982, allocations: 0 / 0.6233 GB, free: 15.68 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.4982, allocations: 0 / 0.6233 GB, free: 15.68 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0001649/0.4984, allocations: 0 / 0.6233 GB, free: 15.68 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.01137/0.5097, allocations: 4.747 MB / 0.6279 GB, free: 10.87 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.768e-05/0.5098, allocations: 8.031 kB / 0.6279 GB, free: 10.86 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004591/0.5144, allocations: 0.9425 MB / 0.6288 GB, free: 9.918 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003745/0.5181, allocations: 1.543 MB / 0.6303 GB, free: 8.332 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002528/0.5184, allocations: 234.6 kB / 0.6306 GB, free: 8.102 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007402/0.5191, allocations: 324.3 kB / 0.6309 GB, free: 7.785 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008092/0.5272, allocations: 4.527 MB / 0.6353 GB, free: 3.188 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.636e-05/0.5273, allocations: 4 kB / 0.6353 GB, free: 3.184 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003203/0.5276, allocations: 120 kB / 0.6354 GB, free: 3.066 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.617e-05/0.5277, allocations: 76 kB / 0.6355 GB, free: 2.992 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01027/0.5379, allocations: 6.478 MB / 0.6418 GB, free: 12.49 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.02365/0.5616, allocations: 12.64 MB / 0.6542 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007384/0.5689, allocations: 3.805 MB / 0.6579 GB, free: 11.61 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002099/0.571, allocations: 1.178 MB / 0.659 GB, free: 10.43 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01615/0.5872, allocations: 6.728 MB / 0.6656 GB, free: 3.664 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.739e-05/0.5872, allocations: 52.06 kB / 0.6656 GB, free: 3.605 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=182): time 3.947e-06/0.5872, allocations: 3.938 kB / 0.6656 GB, free: 3.602 MB / 0.4981 GB Notification: Performance of matching and sorting (n=227): time 0.04633/0.6336, allocations: 9.414 MB / 0.6748 GB, free: 10.07 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001045/0.6337, allocations: 132.8 kB / 0.675 GB, free: 9.918 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004864/0.6385, allocations: 3.393 MB / 0.6783 GB, free: 6.5 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0003012/0.6388, allocations: 65.7 kB / 0.6783 GB, free: 6.43 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.001371/0.6402, allocations: 1.645 MB / 0.6799 GB, free: 4.77 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009338/0.6412, allocations: 0.8212 MB / 0.6807 GB, free: 3.941 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00129/0.6424, allocations: 0.6956 MB / 0.6814 GB, free: 3.238 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001477/0.6426, allocations: 301.1 kB / 0.6817 GB, free: 2.941 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002402/0.645, allocations: 1.417 MB / 0.6831 GB, free: 1.523 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003481/0.6485, allocations: 2.523 MB / 0.6856 GB, free: 14.52 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005492/0.654, allocations: 3.623 MB / 0.6891 GB, free: 10.4 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.211e-05/0.654, allocations: 12 kB / 0.6891 GB, free: 10.39 MB / 0.5294 GB Notification: Performance of matching and sorting (n=458) (initialization): time 0.01453/0.6685, allocations: 5.047 MB / 0.694 GB, free: 5.32 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 5.281e-05/0.6686, allocations: 20 kB / 0.6941 GB, free: 5.301 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.436e-05/0.6687, allocations: 36 kB / 0.6941 GB, free: 5.266 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006114/0.6748, allocations: 0.7114 MB / 0.6948 GB, free: 4.539 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00323/0.678, allocations: 0.8347 MB / 0.6956 GB, free: 3.703 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01781/0.6958, allocations: 10.94 MB / 0.7063 GB, free: 8.082 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003018/0.6988, allocations: 112 kB / 0.7064 GB, free: 7.973 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006654/0.6995, allocations: 199.9 kB / 0.7066 GB, free: 7.777 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.001559/0.7011, allocations: 0.5558 MB / 0.7071 GB, free: 7.211 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008824/0.7019, allocations: 266.3 kB / 0.7074 GB, free: 6.949 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01202/0.714, allocations: 3.21 MB / 0.7105 GB, free: 3.711 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.074e-05/0.714, allocations: 24 kB / 0.7105 GB, free: 3.688 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.857e-05/0.714, allocations: 4 kB / 0.7105 GB, free: 3.684 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.444e-05/0.7141, allocations: 15.95 kB / 0.7106 GB, free: 3.668 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004891/0.7189, allocations: 2.589 MB / 0.7131 GB, free: 0.9922 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.158e-05/0.719, allocations: 4 kB / 0.7131 GB, free: 0.9883 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001899/0.7209, allocations: 447.4 kB / 0.7135 GB, free: 0.5508 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005998/0.7269, allocations: 0.6725 MB / 0.7142 GB, free: 15.86 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000282/0.7271, allocations: 75.97 kB / 0.7142 GB, free: 15.79 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01638/0.7435, allocations: 10.67 MB / 0.7247 GB, free: 4.43 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.861e-06/0.7435, allocations: 8.062 kB / 0.7247 GB, free: 4.422 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01304/0.7566, allocations: 4.145 MB / 0.7287 GB, free: 204 kB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.2215/0.9781, allocations: 256.3 kB / 0.729 GB, free: 174.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009469/0.979, allocations: 54.14 kB / 0.729 GB, free: 174.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00169/0.9807, allocations: 53.92 kB / 0.7291 GB, free: 174.3 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000573/0.9813, allocations: 207.6 kB / 0.7293 GB, free: 174.3 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002155/0.9815, allocations: 95.86 kB / 0.7294 GB, free: 174.3 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002838/0.9844, allocations: 2.393 MB / 0.7317 GB, free: 174.1 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.9844, allocations: 0 / 0.7317 GB, free: 174.1 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.006186/0.9906, allocations: 2.111 MB / 0.7338 GB, free: 174.1 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.004409/0.995, allocations: 2.308 MB / 0.736 GB, free: 174 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.006226/1.001, allocations: 3.646 MB / 0.7396 GB, free: 172.5 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.09e-06/1.001, allocations: 0 / 0.7396 GB, free: 172.5 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.002603/1.004, allocations: 1.778 MB / 0.7413 GB, free: 171.5 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002616/1.006, allocations: 0.4976 MB / 0.7418 GB, free: 171.3 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008045/1.014, allocations: 5.301 MB / 0.747 GB, free: 168.6 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001344/1.016, allocations: 1.717 MB / 0.7486 GB, free: 167.9 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001326/1.017, allocations: 0.5197 MB / 0.7492 GB, free: 167.8 MB / 0.5606 GB Notification: Performance of SimCode: time 8.12e-07/1.017, allocations: 0 / 0.7492 GB, free: 167.8 MB / 0.5606 GB Notification: Performance of Templates: time 0.09726/1.114, allocations: 123.5 MB / 0.8697 GB, free: 58.51 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f Chemical_Chemical.Obsolete.Examples.GasSolubility_NIST.makefile [Timeout 660] (rm -f Chemical_Chemical.Obsolete.Examples.GasSolubility_NIST.pipe ; mkfifo Chemical_Chemical.Obsolete.Examples.GasSolubility_NIST.pipe ; head -c 1048576 < Chemical_Chemical.Obsolete.Examples.GasSolubility_NIST.pipe >> ../files/Chemical_Chemical.Obsolete.Examples.GasSolubility_NIST.sim & ./Chemical_Chemical.Obsolete.Examples.GasSolubility_NIST -abortSlowSimulation -alarm=480 -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.GasSolubility_NIST.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 13.906238655094057] Failed to read output from testmodel.py, exit status != 0: 1.123935618903488 1.132493113 0.631819157 Calling exit ...