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.001771/0.001771, allocations: 89.47 kB / 19.44 MB, free: 340 kB / 13.93 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.002256/0.002256, allocations: 177.2 kB / 22.76 MB, free: 1.66 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 1.672/1.672, allocations: 177.1 MB / 203.1 MB, free: 5.621 MB / 186.7 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.1458/0.1458, allocations: 17.37 MB / 276.9 MB, free: 11.7 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 1.533e-06/1.533e-06, allocations: 0 / 352.7 MB, free: 10.36 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.126e-05/3.279e-05, allocations: 8.641 kB / 352.7 MB, free: 10.35 MB / 282.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.04885/0.04889, allocations: 30.27 MB / 383 MB, free: 12.21 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.3681/0.417, allocations: 141.9 MB / 0.5126 GB, free: 12.49 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00161/0.4186, allocations: 23.88 kB / 0.5126 GB, free: 12.46 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003993/0.4226, allocations: 0.9949 MB / 0.5136 GB, free: 11.49 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003369/0.426, allocations: 0.9111 MB / 0.5145 GB, free: 10.57 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004044/0.43, allocations: 1.392 MB / 0.5158 GB, free: 9.176 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.004612/0.4347, allocations: 2.359 MB / 0.5181 GB, free: 6.809 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001015/0.4357, allocations: 427.4 kB / 0.5185 GB, free: 6.348 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002365/0.438, allocations: 1.197 MB / 0.5197 GB, free: 5.148 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001528/0.4396, allocations: 0.6856 MB / 0.5204 GB, free: 4.461 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005044/0.4401, allocations: 212 kB / 0.5206 GB, free: 4.254 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003457/0.4435, allocations: 1.162 MB / 0.5217 GB, free: 3.09 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008613/0.4444, allocations: 0.6697 MB / 0.5224 GB, free: 2.418 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00148/0.4459, allocations: 0.7219 MB / 0.5231 GB, free: 1.695 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007598/0.4535, allocations: 4.124 MB / 0.5271 GB, free: 13.56 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.4535, allocations: 0 / 0.5271 GB, free: 13.56 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.133e-06/0.4535, allocations: 0 / 0.5271 GB, free: 13.56 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.922e-05/0.4536, allocations: 0 / 0.5271 GB, free: 13.56 MB / 410.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.006489/0.4601, allocations: 3.086 MB / 0.5301 GB, free: 10.42 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.253e-05/0.4601, allocations: 12.02 kB / 0.5301 GB, free: 10.41 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002711/0.4628, allocations: 1.039 MB / 0.5311 GB, free: 9.371 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002234/0.465, allocations: 1.053 MB / 0.5322 GB, free: 8.277 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004191/0.4655, allocations: 359.3 kB / 0.5325 GB, free: 7.902 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002988/0.4658, allocations: 200.3 kB / 0.5327 GB, free: 7.707 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006136/0.4719, allocations: 3.292 MB / 0.5359 GB, free: 4.352 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.716e-05/0.4719, allocations: 12.17 kB / 0.5359 GB, free: 4.34 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001721/0.4721, allocations: 80.36 kB / 0.536 GB, free: 4.262 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004613/0.4726, allocations: 344.5 kB / 0.5363 GB, free: 3.922 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008766/0.4813, allocations: 5.885 MB / 0.5421 GB, free: 14.02 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02828/0.5096, allocations: 14.53 MB / 0.5563 GB, free: 15.18 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003261/0.5129, allocations: 1.164 MB / 0.5574 GB, free: 14.01 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001968/0.5149, allocations: 0.7124 MB / 0.5581 GB, free: 13.29 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001661/0.5165, allocations: 0.567 MB / 0.5586 GB, free: 12.73 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.626e-05/0.5166, allocations: 46.05 kB / 0.5587 GB, free: 12.67 MB / 442.7 MB Notification: Performance of pre-optimization done (n=82): time 3.266e-06/0.5166, allocations: 0 / 0.5587 GB, free: 12.67 MB / 442.7 MB Notification: Performance of matching and sorting (n=102): time 0.03037/0.5469, allocations: 6.962 MB / 0.5655 GB, free: 5.684 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.005447/0.5524, allocations: 2.885 MB / 0.5683 GB, free: 2.645 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002525/0.5549, allocations: 1.388 MB / 0.5697 GB, free: 1.242 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004146/0.5553, allocations: 41.7 kB / 0.5697 GB, free: 1.195 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.1705/0.7259, allocations: 1.256 MB / 0.5709 GB, free: 167.7 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007501/0.7266, allocations: 386.9 kB / 0.5713 GB, free: 167.7 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001026/0.7276, allocations: 404 kB / 0.5717 GB, free: 167.7 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.00015/0.7278, allocations: 0.5402 MB / 0.5722 GB, free: 167.2 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002155/0.7299, allocations: 0.8372 MB / 0.573 GB, free: 167.2 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002554/0.7325, allocations: 1.151 MB / 0.5742 GB, free: 166.9 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005279/0.7378, allocations: 2.464 MB / 0.5766 GB, free: 166.2 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.193e-06/0.7378, allocations: 2.719 kB / 0.5766 GB, free: 166.2 MB / 442.7 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.007026/0.7448, allocations: 2.547 MB / 0.579 GB, free: 165.3 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.789e-05/0.7448, allocations: 11.44 kB / 0.5791 GB, free: 165.3 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.636e-05/0.7448, allocations: 7.25 kB / 0.5791 GB, free: 165.3 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009272/0.7458, allocations: 328.6 kB / 0.5794 GB, free: 165.2 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01013/0.7559, allocations: 1.073 MB / 0.5804 GB, free: 165.1 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006358/0.7623, allocations: 7.942 MB / 0.5882 GB, free: 158 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001448/0.7637, allocations: 49.27 kB / 0.5882 GB, free: 158 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004014/0.7641, allocations: 288 kB / 0.5885 GB, free: 157.9 MB / 442.7 MB 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.001023/0.7651, allocations: 372.1 kB / 0.5889 GB, free: 157.6 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006189/0.7658, allocations: 166.4 kB / 0.589 GB, free: 157.6 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007009/0.7728, allocations: 3.293 MB / 0.5922 GB, free: 156.2 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.756e-06/0.7728, allocations: 10.44 kB / 0.5922 GB, free: 156.2 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.618e-06/0.7728, allocations: 0 / 0.5922 GB, free: 156.2 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.047e-05/0.7728, allocations: 3.938 kB / 0.5922 GB, free: 156.2 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008648/0.7814, allocations: 5.305 MB / 0.5974 GB, free: 152.9 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.514e-06/0.7814, allocations: 4 kB / 0.5974 GB, free: 152.9 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006081/0.7875, allocations: 496.2 kB / 0.5979 GB, free: 152.6 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001679/0.7892, allocations: 266 kB / 0.5982 GB, free: 152.4 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.63e-05/0.7893, allocations: 29.91 kB / 0.5982 GB, free: 152.3 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005868/0.7952, allocations: 8.392 MB / 0.6064 GB, free: 143.5 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.002385/0.7976, allocations: 2.373 MB / 0.6087 GB, free: 141 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004295/0.8018, allocations: 1.879 MB / 0.6105 GB, free: 139.1 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003898/0.8022, allocations: 143.1 kB / 0.6107 GB, free: 138.9 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003042/0.8025, allocations: 25.97 kB / 0.6107 GB, free: 138.9 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007692/0.8033, allocations: 38.66 kB / 0.6107 GB, free: 138.9 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002479/0.8036, allocations: 100.4 kB / 0.6108 GB, free: 138.8 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.081e-05/0.8036, allocations: 31.98 kB / 0.6109 GB, free: 138.7 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001893/0.8055, allocations: 1.741 MB / 0.6126 GB, free: 137 MB / 442.7 MB Notification: Performance of sort global known variables: time 6e-08/0.8055, allocations: 0 / 0.6126 GB, free: 137 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002703/0.8082, allocations: 0.655 MB / 0.6132 GB, free: 136.4 MB / 442.7 MB 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.0006912/0.8089, allocations: 408.8 kB / 0.6136 GB, free: 136.1 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.006035/0.8149, allocations: 2.133 MB / 0.6157 GB, free: 133.9 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 7.684e-06/0.8149, allocations: 0 / 0.6157 GB, free: 133.9 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003806/0.8188, allocations: 1.199 MB / 0.6168 GB, free: 132.6 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002012/0.8208, allocations: 424.7 kB / 0.6172 GB, free: 132.3 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005455/0.8262, allocations: 3.947 MB / 0.6211 GB, free: 128.2 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009509/0.8272, allocations: 1.075 MB / 0.6221 GB, free: 127.1 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001213/0.8284, allocations: 353.6 kB / 0.6225 GB, free: 126.8 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007253/0.8291, allocations: 196.4 kB / 0.6227 GB, free: 126.6 MB / 442.7 MB Notification: Performance of SimCode: time 1.402e-06/0.8291, allocations: 0 / 0.6227 GB, free: 126.6 MB / 442.7 MB Notification: Performance of Templates: time 0.06129/0.8904, allocations: 54.52 MB / 0.6759 GB, free: 73.43 MB / 442.7 MB " [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=240 -lv LOG_STATS > Chemical_Chemical.Examples.GasSolubility_NIST_2.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.343617927981541]