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.001521/0.001521, allocations: 109.2 kB / 18.94 MB, free: 2.949 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.001698/0.001698, allocations: 219.1 kB / 22.26 MB, free: 5.125 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.37/1.37, allocations: 230.6 MB / 256 MB, free: 7.969 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.1266/0.1266, allocations: 23.85 MB / 336.3 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.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.002103/0.002103, allocations: 67.89 kB / 471.6 MB, free: 7.207 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2847/0.2868, allocations: 59.86 MB / 0.519 GB, free: 10.07 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.03719/0.324, allocations: 29.84 MB / 0.5482 GB, free: 10.37 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.1723/0.4962, allocations: 150.5 MB / 0.6952 GB, free: 5.398 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001657/0.4979, allocations: 27.88 kB / 0.6952 GB, free: 5.371 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.003682/0.5016, allocations: 1.072 MB / 0.6963 GB, free: 4.293 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.003005/0.5046, allocations: 0.8765 MB / 0.6971 GB, free: 3.41 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.003816/0.5084, allocations: 1.396 MB / 0.6985 GB, free: 2.008 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.00425/0.5126, allocations: 2.291 MB / 0.7007 GB, free: 15.71 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007926/0.5134, allocations: 423.4 kB / 0.7011 GB, free: 15.25 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001179/0.5146, allocations: 0.7862 MB / 0.7019 GB, free: 14.46 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001523/0.5161, allocations: 0.9492 MB / 0.7028 GB, free: 13.51 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0004402/0.5166, allocations: 216 kB / 0.703 GB, free: 13.3 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00396/0.5205, allocations: 1.759 MB / 0.7047 GB, free: 11.54 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0007093/0.5212, allocations: 0.658 MB / 0.7054 GB, free: 10.88 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.001569/0.5228, allocations: 1.22 MB / 0.7066 GB, free: 9.652 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.00614/0.5289, allocations: 4.262 MB / 0.7107 GB, free: 5.375 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.636e-06/0.5289, allocations: 0 / 0.7107 GB, free: 5.375 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.373e-06/0.5289, allocations: 0 / 0.7107 GB, free: 5.375 MB / 0.545 GB Notification: Performance of Transformations before backend: time 7.924e-05/0.529, allocations: 0 / 0.7107 GB, free: 5.375 MB / 0.545 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.004615/0.5336, allocations: 2.678 MB / 0.7134 GB, free: 2.652 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.501e-05/0.5337, allocations: 8.031 kB / 0.7134 GB, free: 2.645 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001088/0.5348, allocations: 470.8 kB / 0.7138 GB, free: 2.184 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001728/0.5365, allocations: 1.147 MB / 0.7149 GB, free: 0.9961 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003318/0.5368, allocations: 367.2 kB / 0.7153 GB, free: 0.6133 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002483/0.5371, allocations: 196.3 kB / 0.7155 GB, free: 432 kB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01111/0.5482, allocations: 8.356 MB / 0.7236 GB, free: 8.004 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.55e-05/0.5482, allocations: 3.984 kB / 0.7236 GB, free: 8 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001437/0.5484, allocations: 79.98 kB / 0.7237 GB, free: 7.922 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003627/0.5487, allocations: 340.5 kB / 0.724 GB, free: 7.586 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2098/0.7585, allocations: 13.9 MB / 0.7376 GB, free: 188.6 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02399/0.7825, allocations: 20.51 MB / 0.7576 GB, free: 179.1 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003932/0.7865, allocations: 3.803 MB / 0.7614 GB, free: 177 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002429/0.7889, allocations: 2.637 MB / 0.7639 GB, free: 175.6 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001719/0.7906, allocations: 0.6698 MB / 0.7646 GB, free: 175.2 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.689e-05/0.7906, allocations: 38.84 kB / 0.7646 GB, free: 175.2 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=82): time 2.846e-06/0.7906, allocations: 1.734 kB / 0.7646 GB, free: 175.2 MB / 0.5606 GB Notification: Performance of matching and sorting (n=102): time 0.02684/0.8175, allocations: 14.98 MB / 0.7792 GB, free: 161 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.003383/0.8209, allocations: 3.269 MB / 0.7824 GB, free: 157.6 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002954/0.8238, allocations: 3.194 MB / 0.7856 GB, free: 154.4 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0002654/0.8241, allocations: 45.69 kB / 0.7856 GB, free: 154.3 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005963/0.8247, allocations: 1.044 MB / 0.7866 GB, free: 153.3 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003192/0.825, allocations: 365.2 kB / 0.787 GB, free: 153 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006933/0.8257, allocations: 386.7 kB / 0.7873 GB, free: 152.6 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 4.927e-05/0.8257, allocations: 344.6 kB / 0.7877 GB, free: 152.2 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002918/0.8287, allocations: 3.264 MB / 0.7909 GB, free: 149 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00301/0.8317, allocations: 3.48 MB / 0.7943 GB, free: 145.4 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02746/0.8591, allocations: 10.34 MB / 0.8043 GB, free: 135.1 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.242e-06/0.8591, allocations: 4 kB / 0.8044 GB, free: 135.1 MB / 0.5606 GB Notification: Performance of matching and sorting (n=130) (initialization): time 0.007945/0.8671, allocations: 6.677 MB / 0.8109 GB, free: 128.5 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.037e-05/0.8671, allocations: 10.66 kB / 0.8109 GB, free: 128.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.214e-05/0.8671, allocations: 4 kB / 0.8109 GB, free: 128.4 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000634/0.8677, allocations: 470.1 kB / 0.8113 GB, free: 128 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008483/0.8762, allocations: 1.056 MB / 0.8124 GB, free: 126.9 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006046/0.8823, allocations: 8.444 MB / 0.8206 GB, free: 118.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001535/0.8838, allocations: 39.98 kB / 0.8207 GB, free: 118.1 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003275/0.8841, allocations: 286.5 kB / 0.8209 GB, free: 117.8 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.001099/0.8852, allocations: 0.6249 MB / 0.8215 GB, free: 117.2 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000479/0.8857, allocations: 276.8 kB / 0.8218 GB, free: 116.9 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00598/0.8917, allocations: 3.219 MB / 0.8249 GB, free: 113.7 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.183e-06/0.8917, allocations: 12 kB / 0.825 GB, free: 113.6 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.8917, allocations: 3.984 kB / 0.825 GB, free: 113.6 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.607e-06/0.8917, allocations: 3.984 kB / 0.825 GB, free: 113.6 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00689/0.8986, allocations: 5.921 MB / 0.8307 GB, free: 107.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.051e-06/0.8986, allocations: 4 kB / 0.8307 GB, free: 107.6 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005633/0.9042, allocations: 482 kB / 0.8312 GB, free: 107.1 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001048/0.9053, allocations: 231.6 kB / 0.8314 GB, free: 106.9 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.628e-05/0.9053, allocations: 23.98 kB / 0.8315 GB, free: 106.9 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005195/0.9105, allocations: 6.493 MB / 0.8378 GB, free: 99.96 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.002162/0.9127, allocations: 1.901 MB / 0.8396 GB, free: 97.93 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003761/0.9165, allocations: 2.212 MB / 0.8418 GB, free: 95.64 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006413/0.9171, allocations: 370.1 kB / 0.8422 GB, free: 95.28 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003681/0.9175, allocations: 27.94 kB / 0.8422 GB, free: 95.25 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008323/0.9183, allocations: 23.98 kB / 0.8422 GB, free: 95.23 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001771/0.9185, allocations: 103 kB / 0.8423 GB, free: 95.13 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.98e-05/0.9185, allocations: 35.98 kB / 0.8423 GB, free: 95.1 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.003615/0.9221, allocations: 4.014 MB / 0.8463 GB, free: 91.09 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.9221, allocations: 0 / 0.8463 GB, free: 91.09 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001701/0.9238, allocations: 0.6898 MB / 0.8469 GB, free: 90.4 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.0005224/0.9244, allocations: 407.2 kB / 0.8473 GB, free: 90.02 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.006352/0.9307, allocations: 3.971 MB / 0.8512 GB, free: 86.01 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.659e-06/0.9307, allocations: 0 / 0.8512 GB, free: 86.01 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.003649/0.9344, allocations: 1.077 MB / 0.8523 GB, free: 84.9 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002707/0.9371, allocations: 0.6552 MB / 0.8529 GB, free: 84.32 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004814/0.9419, allocations: 4.398 MB / 0.8572 GB, free: 79.86 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008577/0.9428, allocations: 1.673 MB / 0.8588 GB, free: 78.17 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.00131/0.9441, allocations: 0.5534 MB / 0.8594 GB, free: 77.66 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007576/0.9448, allocations: 251.4 kB / 0.8596 GB, free: 77.41 MB / 0.5606 GB Notification: Performance of SimCode: time 7.21e-07/0.9448, allocations: 0 / 0.8596 GB, free: 77.41 MB / 0.5606 GB Notification: Performance of Templates: time 0.06819/1.013, allocations: 63.22 MB / 0.9213 GB, free: 14.94 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: 6.765634226147085] Failed to read output from testmodel.py, exit status != 0: 1.0211689369753003 1.030068781 0.498919224 Calling exit ...