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.001279/0.001279, allocations: 110.1 kB / 19.7 MB, free: 2.262 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.00142/0.00142, allocations: 214.3 kB / 23 MB, free: 5.113 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.433/1.433, allocations: 230.6 MB / 256.8 MB, free: 8.039 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.1623/0.1623, allocations: 23.85 MB / 337 MB, free: 11.23 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.00206/0.00206, allocations: 71.89 kB / 472.4 MB, free: 7.234 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3414/0.3434, allocations: 59.86 MB / 0.5198 GB, free: 9.844 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.04501/0.3885, allocations: 29.83 MB / 0.5489 GB, free: 10.2 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.1775/0.566, allocations: 150.5 MB / 0.6959 GB, free: 5.258 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001838/0.5678, allocations: 27.88 kB / 0.696 GB, free: 5.23 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.003574/0.5714, allocations: 1.068 MB / 0.697 GB, free: 4.156 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.003277/0.5747, allocations: 0.8804 MB / 0.6979 GB, free: 3.27 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.004066/0.5788, allocations: 1.4 MB / 0.6992 GB, free: 1.863 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.004612/0.5834, allocations: 2.295 MB / 0.7015 GB, free: 15.56 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008899/0.5843, allocations: 427.4 kB / 0.7019 GB, free: 15.1 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001428/0.5857, allocations: 0.7823 MB / 0.7026 GB, free: 14.32 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001906/0.5876, allocations: 0.9492 MB / 0.7036 GB, free: 13.36 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0004829/0.5881, allocations: 212 kB / 0.7038 GB, free: 13.16 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004516/0.5926, allocations: 1.755 MB / 0.7055 GB, free: 11.4 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0007801/0.5934, allocations: 0.6619 MB / 0.7061 GB, free: 10.73 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.001825/0.5952, allocations: 1.224 MB / 0.7073 GB, free: 9.504 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.007633/0.6028, allocations: 4.258 MB / 0.7115 GB, free: 5.23 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.968e-06/0.6028, allocations: 0 / 0.7115 GB, free: 5.23 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.613e-06/0.6028, allocations: 0 / 0.7115 GB, free: 5.23 MB / 0.545 GB Notification: Performance of Transformations before backend: time 8.584e-05/0.6029, allocations: 0 / 0.7115 GB, free: 5.23 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.005457/0.6084, allocations: 2.682 MB / 0.7141 GB, free: 2.504 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.259e-05/0.6084, allocations: 8.031 kB / 0.7141 GB, free: 2.496 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001186/0.6096, allocations: 462.8 kB / 0.7146 GB, free: 2.043 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001985/0.6116, allocations: 1.154 MB / 0.7157 GB, free: 0.8477 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003578/0.6119, allocations: 363.3 kB / 0.716 GB, free: 480 kB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002548/0.6122, allocations: 196.3 kB / 0.7162 GB, free: 284 kB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009923/0.6221, allocations: 8.36 MB / 0.7244 GB, free: 7.855 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.781e-05/0.6222, allocations: 3.938 kB / 0.7244 GB, free: 7.852 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000174/0.6223, allocations: 75.98 kB / 0.7245 GB, free: 7.777 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004104/0.6227, allocations: 344.6 kB / 0.7248 GB, free: 7.438 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.248/0.8707, allocations: 13.9 MB / 0.7384 GB, free: 188.3 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02953/0.9003, allocations: 20.51 MB / 0.7584 GB, free: 178.9 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004457/0.9047, allocations: 3.797 MB / 0.7621 GB, free: 176.8 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002692/0.9074, allocations: 2.642 MB / 0.7647 GB, free: 175.4 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001847/0.9093, allocations: 0.6637 MB / 0.7653 GB, free: 175.1 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.071e-05/0.9093, allocations: 42.78 kB / 0.7654 GB, free: 175 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=82): time 2.665e-06/0.9093, allocations: 2.906 kB / 0.7654 GB, free: 175 MB / 0.5606 GB Notification: Performance of matching and sorting (n=102): time 0.02904/0.9383, allocations: 14.98 MB / 0.78 GB, free: 160.7 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.003715/0.942, allocations: 3.277 MB / 0.7832 GB, free: 157.3 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003373/0.9454, allocations: 3.195 MB / 0.7863 GB, free: 154.1 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0004736/0.9459, allocations: 41.7 kB / 0.7864 GB, free: 154 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006453/0.9465, allocations: 1.049 MB / 0.7874 GB, free: 153 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.000359/0.9469, allocations: 369.4 kB / 0.7877 GB, free: 152.7 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007104/0.9476, allocations: 378.8 kB / 0.7881 GB, free: 152.3 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 5.521e-05/0.9476, allocations: 345.9 kB / 0.7884 GB, free: 152 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003052/0.9507, allocations: 3.258 MB / 0.7916 GB, free: 148.7 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003174/0.9539, allocations: 3.487 MB / 0.795 GB, free: 145.2 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02913/0.983, allocations: 10.33 MB / 0.8051 GB, free: 134.9 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.001e-05/0.983, allocations: 4 kB / 0.8051 GB, free: 134.9 MB / 0.5606 GB Notification: Performance of matching and sorting (n=130) (initialization): time 0.008321/0.9913, allocations: 6.682 MB / 0.8116 GB, free: 128.2 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.013e-05/0.9914, allocations: 4 kB / 0.8116 GB, free: 128.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.912e-05/0.9914, allocations: 8 kB / 0.8116 GB, free: 128.2 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007658/0.9922, allocations: 459.4 kB / 0.8121 GB, free: 127.7 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008835/1.001, allocations: 1.06 MB / 0.8131 GB, free: 126.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006552/1.008, allocations: 8.453 MB / 0.8214 GB, free: 117.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001777/1.009, allocations: 43.97 kB / 0.8214 GB, free: 117.8 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003548/1.01, allocations: 279.9 kB / 0.8217 GB, free: 117.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.001228/1.011, allocations: 0.6274 MB / 0.8223 GB, free: 116.9 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005129/1.011, allocations: 266.2 kB / 0.8225 GB, free: 116.7 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006168/1.018, allocations: 3.228 MB / 0.8257 GB, free: 113.4 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.203e-06/1.018, allocations: 8 kB / 0.8257 GB, free: 113.4 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/1.018, allocations: 4 kB / 0.8257 GB, free: 113.4 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.826e-06/1.018, allocations: 7.922 kB / 0.8257 GB, free: 113.4 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00747/1.025, allocations: 5.912 MB / 0.8315 GB, free: 107.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.823e-06/1.025, allocations: 4 kB / 0.8315 GB, free: 107.3 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00593/1.031, allocations: 482.6 kB / 0.832 GB, free: 106.9 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001093/1.032, allocations: 230.5 kB / 0.8322 GB, free: 106.7 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.387e-05/1.032, allocations: 27.98 kB / 0.8322 GB, free: 106.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005517/1.038, allocations: 6.488 MB / 0.8385 GB, free: 99.71 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.002296/1.04, allocations: 1.903 MB / 0.8404 GB, free: 97.69 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004128/1.044, allocations: 2.217 MB / 0.8426 GB, free: 95.39 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008157/1.045, allocations: 362.2 kB / 0.8429 GB, free: 95.04 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004502/1.045, allocations: 27.39 kB / 0.8429 GB, free: 95.01 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000876/1.046, allocations: 27.98 kB / 0.843 GB, free: 94.98 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002145/1.046, allocations: 103 kB / 0.8431 GB, free: 94.89 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.19e-05/1.047, allocations: 35.92 kB / 0.8431 GB, free: 94.85 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.003963/1.05, allocations: 4.016 MB / 0.847 GB, free: 90.84 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/1.05, allocations: 0 / 0.847 GB, free: 90.84 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001936/1.052, allocations: 0.6948 MB / 0.8477 GB, free: 90.14 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.0005954/1.053, allocations: 403.7 kB / 0.8481 GB, free: 89.76 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.006504/1.06, allocations: 3.953 MB / 0.8519 GB, free: 85.77 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.241e-06/1.06, allocations: 0 / 0.8519 GB, free: 85.77 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.003842/1.063, allocations: 1.076 MB / 0.853 GB, free: 84.67 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003018/1.066, allocations: 0.657 MB / 0.8536 GB, free: 84.09 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005479/1.072, allocations: 4.529 MB / 0.858 GB, free: 79.48 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009518/1.073, allocations: 1.676 MB / 0.8597 GB, free: 77.8 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001026/1.074, allocations: 259.4 kB / 0.8599 GB, free: 77.54 MB / 0.5606 GB Notification: Performance of SimCode: time 2.274e-06/1.074, allocations: 0 / 0.8599 GB, free: 77.54 MB / 0.5606 GB Notification: Performance of Templates: time 0.1062/1.18, allocations: 89.61 MB / 0.9474 GB, free: 4.566 MB / 0.5762 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: 15.313349738018587] Failed to read output from testmodel.py, exit status != 0: 1.1892235539853573 1.392635467 0.7868233490000001 Calling exit ...