Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_Chemical.Examples.GasSolubility_NIST_2.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.001288/0.001288, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001558/0.001558, allocations: 216 kB / 22.25 MB, free: 4.855 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.45/1.45, allocations: 230.6 MB / 256 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.1423/0.1423, allocations: 23.88 MB / 336.3 MB, free: 10.97 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.Examples.GasSolubility_NIST_2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.GasSolubility_NIST_2") translateModel(Chemical.Examples.GasSolubility_NIST_2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.GasSolubility_NIST_2") [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.002307/0.002307, allocations: 63.91 kB / 471.6 MB, free: 7.035 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3958/0.3981, allocations: 59.86 MB / 0.519 GB, free: 9.762 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/Interfaces.mo:1819:5-1819:47:writable] Warning: An inner declaration for outer component dropOfCommons could not be found and was automatically generated. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/Interfaces.mo:1819:5-1819:47:writable] Notification: The diagnostics message for the missing inner is: Your model is using an outer \"dropOfCommons\" component but an inner \"dropOfCommons\" component is not defined. Use Chemical.DropOfCommons in your model to specify system properties. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/Boundaries.mo:1328:7-1328:66:writable] Warning: An inner declaration for outer component system could not be found and was automatically generated. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/Boundaries.mo:1328:7-1328:66:writable] Notification: The diagnostics message for the missing inner is: Your model is using an outer \"system\" component but an inner \"system\" component is not defined. For simulation drag Modelica.Fluid.System into your model to specify system properties. Notification: Performance of NFInst.instantiate(Chemical.Examples.GasSolubility_NIST_2): time 0.08032/0.4784, allocations: 28.71 MB / 0.547 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.1856/0.664, allocations: 128.8 MB / 0.6729 GB, free: 11.93 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002973/0.6669, allocations: 31.88 kB / 0.6729 GB, free: 11.89 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.004387/0.6713, allocations: 0.9866 MB / 0.6739 GB, free: 10.9 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.00416/0.6755, allocations: 0.8727 MB / 0.6747 GB, free: 10.02 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.004705/0.6802, allocations: 1.334 MB / 0.676 GB, free: 8.684 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.005114/0.6853, allocations: 2.283 MB / 0.6782 GB, free: 6.391 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001075/0.6864, allocations: 419.5 kB / 0.6786 GB, free: 5.938 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001557/0.6879, allocations: 0.7901 MB / 0.6794 GB, free: 5.145 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001793/0.6897, allocations: 0.8202 MB / 0.6802 GB, free: 4.32 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0006633/0.6904, allocations: 212 kB / 0.6804 GB, free: 4.113 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004122/0.6945, allocations: 1.143 MB / 0.6815 GB, free: 2.969 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0009436/0.6955, allocations: 0.6619 MB / 0.6822 GB, free: 2.305 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.001894/0.6974, allocations: 0.9169 MB / 0.6831 GB, free: 1.383 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.007634/0.705, allocations: 4.091 MB / 0.6871 GB, free: 13.28 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.705, allocations: 4 kB / 0.6871 GB, free: 13.27 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.675e-06/0.705, allocations: 0 / 0.6871 GB, free: 13.27 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.0001251/0.7051, allocations: 0 / 0.6871 GB, free: 13.27 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 615 * Number of variables: 615 Notification: Performance of Generate backend data structure: time 0.006261/0.7114, allocations: 2.678 MB / 0.6897 GB, free: 10.55 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.362e-05/0.7114, allocations: 16.03 kB / 0.6897 GB, free: 10.54 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002132/0.7136, allocations: 0.5495 MB / 0.6902 GB, free: 9.984 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002216/0.7158, allocations: 1.154 MB / 0.6914 GB, free: 8.789 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003898/0.7162, allocations: 363.2 kB / 0.6917 GB, free: 8.41 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002674/0.7164, allocations: 196.3 kB / 0.6919 GB, free: 8.219 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0103/0.7267, allocations: 8.391 MB / 0.7001 GB, free: 15.77 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.16e-05/0.7268, allocations: 0 / 0.7001 GB, free: 15.77 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001555/0.7269, allocations: 83.97 kB / 0.7002 GB, free: 15.68 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003938/0.7273, allocations: 340.5 kB / 0.7005 GB, free: 15.35 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01556/0.7429, allocations: 13.92 MB / 0.7141 GB, free: 1.41 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3301/1.073, allocations: 18.88 MB / 0.7325 GB, free: 186.6 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005819/1.079, allocations: 3.824 MB / 0.7363 GB, free: 185.2 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003757/1.083, allocations: 2.677 MB / 0.7389 GB, free: 184.1 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001821/1.084, allocations: 0.5754 MB / 0.7394 GB, free: 183.9 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.59e-05/1.084, allocations: 48.3 kB / 0.7395 GB, free: 183.9 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=82): time 3.086e-06/1.084, allocations: 0 / 0.7395 GB, free: 183.9 MB / 0.5606 GB Notification: Performance of matching and sorting (n=102): time 0.03387/1.118, allocations: 15 MB / 0.7541 GB, free: 177.9 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.004308/1.123, allocations: 3.212 MB / 0.7573 GB, free: 175.7 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002044/1.125, allocations: 1.284 MB / 0.7585 GB, free: 175.2 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0002742/1.125, allocations: 42.8 kB / 0.7586 GB, free: 175.2 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.000678/1.126, allocations: 1.106 MB / 0.7597 GB, free: 174.5 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004967/1.126, allocations: 373.7 kB / 0.76 GB, free: 174.2 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001067/1.127, allocations: 382.1 kB / 0.7604 GB, free: 174.1 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 7.823e-05/1.127, allocations: 344.7 kB / 0.7607 GB, free: 173.8 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00392/1.131, allocations: 3.302 MB / 0.7639 GB, free: 172 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003751/1.135, allocations: 3.52 MB / 0.7674 GB, free: 169.9 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02089/1.156, allocations: 9.516 MB / 0.7767 GB, free: 161.7 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.036e-05/1.156, allocations: 2.656 kB / 0.7767 GB, free: 161.7 MB / 0.5606 GB Notification: Performance of matching and sorting (n=130) (initialization): time 0.009102/1.165, allocations: 6.614 MB / 0.7831 GB, free: 155.1 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.292e-05/1.165, allocations: 9.625 kB / 0.7831 GB, free: 155.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.91e-05/1.165, allocations: 10.62 kB / 0.7831 GB, free: 155.1 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007363/1.166, allocations: 461.7 kB / 0.7836 GB, free: 154.6 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008605/1.174, allocations: 1.08 MB / 0.7846 GB, free: 153.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006894/1.181, allocations: 8.312 MB / 0.7928 GB, free: 144.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001697/1.183, allocations: 54.97 kB / 0.7928 GB, free: 144.9 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006272/1.184, allocations: 283.9 kB / 0.7931 GB, free: 144.6 MB / 0.5606 GB Warning: Assuming fixed start value for the following 1 variables: CO2_dissolutionP.rear.n_flow:VARIABLE(flow=true unit = \"mol/s\" fixed = true ) \"Molar change of the substance\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * 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 (124): * Single equations (assignments): 120 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,4,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001754/1.185, allocations: 0.6305 MB / 0.7937 GB, free: 144 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007596/1.186, allocations: 139.1 kB / 0.7938 GB, free: 143.8 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006883/1.193, allocations: 3.178 MB / 0.7969 GB, free: 140.6 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.094e-05/1.193, allocations: 8 kB / 0.7969 GB, free: 140.6 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.117e-06/1.193, allocations: 7.125 kB / 0.7969 GB, free: 140.6 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.818e-06/1.193, allocations: 6.641 kB / 0.7969 GB, free: 140.6 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01059/1.204, allocations: 5.718 MB / 0.8025 GB, free: 134.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.6e-05/1.204, allocations: 10.66 kB / 0.8025 GB, free: 134.7 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005598/1.209, allocations: 495.3 kB / 0.803 GB, free: 134.3 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001071/1.21, allocations: 220.2 kB / 0.8032 GB, free: 134.1 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001276/1.21, allocations: 27.98 kB / 0.8032 GB, free: 134 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005954/1.216, allocations: 6.329 MB / 0.8094 GB, free: 127.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.002234/1.219, allocations: 1.831 MB / 0.8112 GB, free: 125.4 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00489/1.223, allocations: 2.173 MB / 0.8133 GB, free: 123.1 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005053/1.224, allocations: 145.7 kB / 0.8135 GB, free: 123 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000511/1.224, allocations: 20.31 kB / 0.8135 GB, free: 123 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001115/1.226, allocations: 47.95 kB / 0.8135 GB, free: 122.9 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002584/1.226, allocations: 100.4 kB / 0.8136 GB, free: 122.8 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.674e-05/1.226, allocations: 35.98 kB / 0.8137 GB, free: 122.8 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002859/1.229, allocations: 2.655 MB / 0.8163 GB, free: 120.1 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/1.229, allocations: 0 / 0.8163 GB, free: 120.1 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.002982/1.232, allocations: 0.6582 MB / 0.8169 GB, free: 119.5 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * Number of states: 2 ($STATESET1.x,CO2_dissolutionP.rear.n_flow) * Number of discrete variables: 2 ($cse18,$cse11) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (79): * Single equations (assignments): 75 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,4,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008225/1.233, allocations: 388.7 kB / 0.8173 GB, free: 119.2 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.00719/1.24, allocations: 4.041 MB / 0.8212 GB, free: 115.1 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.005e-05/1.24, allocations: 0 / 0.8212 GB, free: 115.1 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.003897/1.244, allocations: 1.111 MB / 0.8223 GB, free: 114 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002411/1.246, allocations: 339.3 kB / 0.8226 GB, free: 113.7 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006897/1.253, allocations: 4.141 MB / 0.8267 GB, free: 109.5 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001401/1.254, allocations: 1.106 MB / 0.8278 GB, free: 108.4 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001385/1.256, allocations: 393.7 kB / 0.8281 GB, free: 108 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008684/1.257, allocations: 194 kB / 0.8283 GB, free: 107.8 MB / 0.5606 GB Notification: Performance of SimCode: time 8.81e-07/1.257, allocations: 3.938 kB / 0.8283 GB, free: 107.8 MB / 0.5606 GB Notification: Performance of Templates: time 0.06091/1.318, allocations: 57.46 MB / 0.8844 GB, free: 51.51 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f Chemical_Chemical.Examples.GasSolubility_NIST_2.makefile [Timeout 660] (rm -f Chemical_Chemical.Examples.GasSolubility_NIST_2.pipe ; mkfifo Chemical_Chemical.Examples.GasSolubility_NIST_2.pipe ; head -c 1048576 < Chemical_Chemical.Examples.GasSolubility_NIST_2.pipe >> ../files/Chemical_Chemical.Examples.GasSolubility_NIST_2.sim & ./Chemical_Chemical.Examples.GasSolubility_NIST_2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Chemical_Chemical.Examples.GasSolubility_NIST_2.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.162712290883064] Failed to read output from testmodel.py, exit status != 0: 1.326465791091323 1.334537166 0.627309068 Calling exit ...