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.00171/0.00171, allocations: 104.3 kB / 19.7 MB, free: 2.008 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.002637/0.002637, allocations: 214.8 kB / 22.99 MB, free: 4.41 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.553/1.553, allocations: 230.6 MB / 256.8 MB, free: 7.777 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.1489/0.1489, allocations: 23.88 MB / 337.1 MB, free: 10.96 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.002101/0.002101, allocations: 79.86 kB / 472.4 MB, free: 7.02 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3838/0.3859, allocations: 59.86 MB / 0.5197 GB, free: 9.766 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.07998/0.4659, allocations: 28.63 MB / 0.5477 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.1883/0.6542, allocations: 128.8 MB / 0.6735 GB, free: 11.99 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002529/0.6567, allocations: 23.88 kB / 0.6735 GB, free: 11.97 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.003631/0.6603, allocations: 0.9905 MB / 0.6745 GB, free: 10.97 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.003239/0.6636, allocations: 0.8766 MB / 0.6754 GB, free: 10.09 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.003955/0.6675, allocations: 1.338 MB / 0.6767 GB, free: 8.746 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.004063/0.6716, allocations: 2.291 MB / 0.6789 GB, free: 6.445 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007254/0.6723, allocations: 423.5 kB / 0.6793 GB, free: 5.988 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00116/0.6735, allocations: 0.7862 MB / 0.6801 GB, free: 5.199 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001216/0.6747, allocations: 0.9492 MB / 0.681 GB, free: 4.246 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.00031/0.675, allocations: 212 kB / 0.6812 GB, free: 4.039 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003291/0.6783, allocations: 1.178 MB / 0.6824 GB, free: 2.859 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0006248/0.6789, allocations: 0.6619 MB / 0.683 GB, free: 2.195 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0009396/0.6798, allocations: 0.913 MB / 0.6839 GB, free: 1.277 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.006098/0.6859, allocations: 4.102 MB / 0.6879 GB, free: 13.16 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.6859, allocations: 0 / 0.6879 GB, free: 13.16 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.843e-06/0.6859, allocations: 0 / 0.6879 GB, free: 13.16 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 3.461e-05/0.686, allocations: 0 / 0.6879 GB, free: 13.16 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.004885/0.6909, allocations: 2.678 MB / 0.6905 GB, free: 10.44 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.513e-05/0.6909, allocations: 12.03 kB / 0.6905 GB, free: 10.43 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002016/0.6929, allocations: 0.5495 MB / 0.6911 GB, free: 9.875 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002006/0.6949, allocations: 1.162 MB / 0.6922 GB, free: 8.672 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003944/0.6953, allocations: 363.2 kB / 0.6926 GB, free: 8.293 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002733/0.6956, allocations: 196.3 kB / 0.6927 GB, free: 8.102 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01069/0.7063, allocations: 8.38 MB / 0.7009 GB, free: 15.66 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.217e-05/0.7063, allocations: 0 / 0.7009 GB, free: 15.66 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001566/0.7065, allocations: 79.98 kB / 0.701 GB, free: 15.59 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003886/0.7069, allocations: 344.6 kB / 0.7013 GB, free: 15.25 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01587/0.7228, allocations: 13.92 MB / 0.7149 GB, free: 1.305 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3901/1.113, allocations: 18.88 MB / 0.7334 GB, free: 186.6 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006072/1.119, allocations: 3.821 MB / 0.7371 GB, free: 185.3 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003986/1.123, allocations: 2.684 MB / 0.7397 GB, free: 184.1 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001878/1.125, allocations: 0.5714 MB / 0.7403 GB, free: 183.9 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.388e-05/1.125, allocations: 42.59 kB / 0.7403 GB, free: 183.9 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=82): time 4.148e-06/1.125, allocations: 0 / 0.7403 GB, free: 183.9 MB / 0.5606 GB Notification: Performance of matching and sorting (n=102): time 0.03615/1.161, allocations: 15.01 MB / 0.755 GB, free: 177.9 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.004213/1.165, allocations: 3.21 MB / 0.7581 GB, free: 175.8 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001852/1.167, allocations: 1.279 MB / 0.7594 GB, free: 175.2 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0004627/1.168, allocations: 40.8 kB / 0.7594 GB, free: 175.2 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007442/1.168, allocations: 1.104 MB / 0.7605 GB, free: 174.5 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004742/1.169, allocations: 371.4 kB / 0.7608 GB, free: 174.3 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009072/1.17, allocations: 383.2 kB / 0.7612 GB, free: 174.1 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 8.424e-05/1.17, allocations: 350.2 kB / 0.7615 GB, free: 173.8 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004175/1.174, allocations: 3.299 MB / 0.7647 GB, free: 172 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003914/1.178, allocations: 3.523 MB / 0.7682 GB, free: 170 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02131/1.199, allocations: 9.519 MB / 0.7775 GB, free: 161.7 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.971e-05/1.199, allocations: 0 / 0.7775 GB, free: 161.7 MB / 0.5606 GB Notification: Performance of matching and sorting (n=130) (initialization): time 0.009673/1.209, allocations: 6.613 MB / 0.7839 GB, free: 155.1 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.099e-05/1.209, allocations: 8 kB / 0.784 GB, free: 155.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.097e-05/1.209, allocations: 11.84 kB / 0.784 GB, free: 155.1 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007556/1.21, allocations: 456.9 kB / 0.7844 GB, free: 154.6 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008659/1.218, allocations: 1.076 MB / 0.7854 GB, free: 153.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007134/1.225, allocations: 8.325 MB / 0.7936 GB, free: 144.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001868/1.227, allocations: 55.95 kB / 0.7936 GB, free: 144.9 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007582/1.228, allocations: 279.9 kB / 0.7939 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.002263/1.23, allocations: 0.6375 MB / 0.7945 GB, free: 143.9 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008884/1.231, allocations: 131.2 kB / 0.7946 GB, free: 143.8 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006821/1.238, allocations: 3.167 MB / 0.7977 GB, free: 140.6 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.05e-05/1.238, allocations: 11.94 kB / 0.7977 GB, free: 140.6 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.057e-06/1.238, allocations: 4 kB / 0.7978 GB, free: 140.6 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.106e-05/1.238, allocations: 3.984 kB / 0.7978 GB, free: 140.6 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01034/1.248, allocations: 5.722 MB / 0.8033 GB, free: 134.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.55e-05/1.248, allocations: 5.641 kB / 0.8034 GB, free: 134.7 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005434/1.254, allocations: 494.2 kB / 0.8038 GB, free: 134.3 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001016/1.255, allocations: 226.5 kB / 0.804 GB, free: 134 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.779e-05/1.255, allocations: 27.98 kB / 0.8041 GB, free: 134 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005721/1.261, allocations: 6.321 MB / 0.8102 GB, free: 127.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.002141/1.263, allocations: 1.824 MB / 0.812 GB, free: 125.4 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004716/1.268, allocations: 2.177 MB / 0.8141 GB, free: 123.1 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006512/1.268, allocations: 147.1 kB / 0.8143 GB, free: 123 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006035/1.269, allocations: 31.36 kB / 0.8143 GB, free: 122.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001135/1.27, allocations: 42.62 kB / 0.8144 GB, free: 122.9 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002908/1.27, allocations: 104.1 kB / 0.8145 GB, free: 122.8 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.189e-05/1.27, allocations: 31.98 kB / 0.8145 GB, free: 122.8 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002933/1.273, allocations: 2.647 MB / 0.8171 GB, free: 120.1 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/1.273, allocations: 0 / 0.8171 GB, free: 120.1 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.002672/1.276, allocations: 0.6588 MB / 0.8177 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.0008658/1.277, allocations: 394.8 kB / 0.8181 GB, free: 119.2 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.007013/1.284, allocations: 4.033 MB / 0.822 GB, free: 115.1 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.176e-05/1.284, allocations: 0 / 0.822 GB, free: 115.1 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.003664/1.287, allocations: 1.098 MB / 0.8231 GB, free: 114 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002516/1.29, allocations: 344.2 kB / 0.8234 GB, free: 113.7 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008293/1.298, allocations: 4.288 MB / 0.8276 GB, free: 109.3 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001518/1.3, allocations: 1.1 MB / 0.8287 GB, free: 108.2 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00111/1.301, allocations: 206 kB / 0.8289 GB, free: 108 MB / 0.5606 GB Notification: Performance of SimCode: time 9.01e-07/1.301, allocations: 0 / 0.8289 GB, free: 108 MB / 0.5606 GB Notification: Performance of Templates: time 0.0739/1.375, allocations: 81.42 MB / 0.9084 GB, free: 27.31 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: 14.13262896303786] Failed to read output from testmodel.py, exit status != 0: 1.384126870019827 1.392521992 0.704324206 Calling exit ...