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.0007547/0.0007547, allocations: 76.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0008051/0.0008051, allocations: 174.3 kB / 23.21 MB, free: 1.352 MB / 18.57 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 0.8555/0.8555, allocations: 177.1 MB / 203.5 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 179] 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.08138/0.08138, allocations: 17.37 MB / 277.3 MB, free: 11.86 MB / 266.7 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: Performance of FrontEnd - loaded program: time 2.154e-06/2.154e-06, allocations: 4 kB / 412.7 MB, free: 15.93 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.869e-05/2.085e-05, allocations: 6.219 kB / 412.7 MB, free: 15.93 MB / 394.7 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.02442/0.02444, allocations: 28.98 MB / 441.7 MB, free: 3.012 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.2536/0.278, allocations: 128.9 MB / 0.5572 GB, free: 5.531 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001043/0.279, allocations: 27.88 kB / 0.5572 GB, free: 5.504 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00192/0.281, allocations: 1.007 MB / 0.5582 GB, free: 4.492 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001477/0.2824, allocations: 0.8995 MB / 0.5591 GB, free: 3.586 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002235/0.2847, allocations: 1.361 MB / 0.5604 GB, free: 2.219 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.001824/0.2865, allocations: 2.349 MB / 0.5627 GB, free: 15.87 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004177/0.2869, allocations: 423.4 kB / 0.5631 GB, free: 15.41 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006919/0.2876, allocations: 1.193 MB / 0.5643 GB, free: 14.21 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005296/0.2881, allocations: 0.6934 MB / 0.5649 GB, free: 13.52 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001459/0.2883, allocations: 212 kB / 0.5651 GB, free: 13.31 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001581/0.2899, allocations: 1.158 MB / 0.5663 GB, free: 12.16 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003108/0.2902, allocations: 0.6735 MB / 0.5669 GB, free: 11.48 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005598/0.2907, allocations: 0.7246 MB / 0.5676 GB, free: 10.75 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002642/0.2934, allocations: 4.121 MB / 0.5716 GB, free: 6.621 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.2934, allocations: 0 / 0.5716 GB, free: 6.621 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.304e-06/0.2934, allocations: 0 / 0.5716 GB, free: 6.621 MB / 458.7 MB Notification: Performance of Transformations before backend: time 1.711e-05/0.2934, allocations: 0 / 0.5716 GB, free: 6.621 MB / 458.7 MB 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.002309/0.2957, allocations: 2.655 MB / 0.5742 GB, free: 3.926 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.344e-05/0.2957, allocations: 8.031 kB / 0.5742 GB, free: 3.918 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001029/0.2968, allocations: 0.541 MB / 0.5748 GB, free: 3.379 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001048/0.2978, allocations: 1.153 MB / 0.5759 GB, free: 2.188 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002018/0.298, allocations: 367.2 kB / 0.5763 GB, free: 1.805 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001674/0.2982, allocations: 204.3 kB / 0.5764 GB, free: 1.605 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005374/0.3036, allocations: 8.38 MB / 0.5846 GB, free: 9.168 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.822e-05/0.3036, allocations: 4.188 kB / 0.5846 GB, free: 9.164 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.737e-05/0.3037, allocations: 80.36 kB / 0.5847 GB, free: 9.086 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002057/0.3039, allocations: 340.5 kB / 0.585 GB, free: 8.75 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008406/0.3123, allocations: 13.93 MB / 0.5986 GB, free: 10.8 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01567/0.328, allocations: 18.88 MB / 0.6171 GB, free: 7.852 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003373/0.3313, allocations: 3.817 MB / 0.6208 GB, free: 4.023 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002214/0.3335, allocations: 2.689 MB / 0.6234 GB, free: 1.332 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007467/0.3343, allocations: 0.567 MB / 0.624 GB, free: 0.7656 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.128e-05/0.3343, allocations: 43.22 kB / 0.624 GB, free: 0.7148 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=82): time 2.765e-06/0.3343, allocations: 0 / 0.624 GB, free: 0.7148 MB / 0.4948 GB Notification: Performance of matching and sorting (n=102): time 0.1858/0.5201, allocations: 15.01 MB / 0.6387 GB, free: 153.4 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002403/0.5225, allocations: 3.203 MB / 0.6418 GB, free: 151.2 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008951/0.5234, allocations: 1.281 MB / 0.6431 GB, free: 150.7 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001095/0.5235, allocations: 48.17 kB / 0.6431 GB, free: 150.7 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.000328/0.5238, allocations: 1.106 MB / 0.6442 GB, free: 150 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002166/0.524, allocations: 360 kB / 0.6445 GB, free: 149.7 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004837/0.5245, allocations: 391.1 kB / 0.6449 GB, free: 149.6 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 3.997e-05/0.5245, allocations: 345.1 kB / 0.6452 GB, free: 149.3 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002327/0.5269, allocations: 3.301 MB / 0.6485 GB, free: 147.9 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002521/0.5294, allocations: 3.519 MB / 0.6519 GB, free: 146.3 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01246/0.5419, allocations: 9.514 MB / 0.6612 GB, free: 142.8 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.78e-06/0.5419, allocations: 5.438 kB / 0.6612 GB, free: 142.8 MB / 0.4948 GB Notification: Performance of matching and sorting (n=130) (initialization): time 0.00666/0.5485, allocations: 6.623 MB / 0.6677 GB, free: 140 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.365e-05/0.5485, allocations: 8.281 kB / 0.6677 GB, free: 140 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.287e-05/0.5486, allocations: 8.219 kB / 0.6677 GB, free: 140 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000526/0.5491, allocations: 448.4 kB / 0.6681 GB, free: 139.8 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004366/0.5535, allocations: 1.073 MB / 0.6692 GB, free: 139.8 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005002/0.5585, allocations: 8.316 MB / 0.6773 GB, free: 133.7 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006926/0.5591, allocations: 54.77 kB / 0.6773 GB, free: 133.7 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002822/0.5594, allocations: 285.1 kB / 0.6776 GB, free: 133.6 MB / 0.4948 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.001102/0.5605, allocations: 0.6324 MB / 0.6782 GB, free: 133.2 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002442/0.5608, allocations: 131 kB / 0.6783 GB, free: 133.2 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004229/0.565, allocations: 3.183 MB / 0.6814 GB, free: 131.9 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.348e-06/0.565, allocations: 10.38 kB / 0.6815 GB, free: 131.9 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.426e-06/0.565, allocations: 4.641 kB / 0.6815 GB, free: 131.9 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.566e-06/0.565, allocations: 6.031 kB / 0.6815 GB, free: 131.9 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005626/0.5706, allocations: 5.722 MB / 0.6871 GB, free: 127.9 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.029e-06/0.5706, allocations: 4 kB / 0.6871 GB, free: 127.9 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002557/0.5732, allocations: 493.5 kB / 0.6875 GB, free: 127.6 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005281/0.5737, allocations: 235.4 kB / 0.6878 GB, free: 127.4 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.413e-05/0.5738, allocations: 24.78 kB / 0.6878 GB, free: 127.4 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003217/0.577, allocations: 6.309 MB / 0.6939 GB, free: 120.9 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001394/0.5784, allocations: 1.833 MB / 0.6957 GB, free: 119.1 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002606/0.581, allocations: 2.158 MB / 0.6978 GB, free: 117.1 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001293/0.5811, allocations: 147.7 kB / 0.698 GB, free: 117 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001326/0.5813, allocations: 33 kB / 0.698 GB, free: 116.9 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003868/0.5816, allocations: 42.31 kB / 0.698 GB, free: 116.9 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001846/0.5818, allocations: 100.2 kB / 0.6981 GB, free: 116.8 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.971e-05/0.5819, allocations: 32.92 kB / 0.6982 GB, free: 116.8 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.001861/0.5837, allocations: 2.655 MB / 0.7008 GB, free: 114.4 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6e-08/0.5837, allocations: 2.688 kB / 0.7008 GB, free: 114.4 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.001383/0.5851, allocations: 0.6542 MB / 0.7014 GB, free: 113.8 MB / 0.4948 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.0005066/0.5856, allocations: 408.1 kB / 0.7018 GB, free: 113.5 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.003929/0.5895, allocations: 4.025 MB / 0.7057 GB, free: 109.8 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.5896, allocations: 0 / 0.7057 GB, free: 109.8 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.001734/0.5913, allocations: 1.103 MB / 0.7068 GB, free: 108.8 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009379/0.5922, allocations: 346.2 kB / 0.7071 GB, free: 108.6 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003527/0.5958, allocations: 4.21 MB / 0.7112 GB, free: 104.6 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006673/0.5964, allocations: 1.105 MB / 0.7123 GB, free: 103.8 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000516/0.5969, allocations: 198.9 kB / 0.7125 GB, free: 103.6 MB / 0.4948 GB Notification: Performance of SimCode: time 1.733e-06/0.5969, allocations: 0 / 0.7125 GB, free: 103.6 MB / 0.4948 GB Notification: Performance of Templates: time 0.03902/0.636, allocations: 81.48 MB / 0.7921 GB, free: 22.99 MB / 0.4948 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: 9.203659484162927] Failed to read output from testmodel.py, exit status != 0: 0.6410156656056643 0.6469749539999999 0.35227103 Calling exit ...