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.001918/0.001918, allocations: 80.53 kB / 19.18 MB, free: 2.52 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.002572/0.002572, allocations: 159.1 kB / 22.45 MB, free: 5.375 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.532/1.532, allocations: 177.2 MB / 202.8 MB, free: 9.168 MB / 190.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.135/0.135, allocations: 17.37 MB / 276.6 MB, free: 15.29 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: Performance of FrontEnd - loaded program: time 1.143e-06/1.143e-06, allocations: 0 / 411.9 MB, free: 4.445 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.078e-05/2.192e-05, allocations: 2.281 kB / 411.9 MB, free: 4.441 MB / 334.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.03697/0.03699, allocations: 29.01 MB / 441 MB, free: 7.559 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.4158/0.4528, allocations: 128.9 MB / 0.5565 GB, free: 10.89 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002075/0.4549, allocations: 23.88 kB / 0.5565 GB, free: 10.87 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00398/0.4588, allocations: 1.01 MB / 0.5575 GB, free: 9.867 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003412/0.4623, allocations: 0.8995 MB / 0.5584 GB, free: 8.961 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003977/0.4662, allocations: 1.349 MB / 0.5597 GB, free: 7.605 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.004149/0.4704, allocations: 2.358 MB / 0.562 GB, free: 5.238 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007685/0.4712, allocations: 427.2 kB / 0.5624 GB, free: 4.773 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001588/0.4727, allocations: 1.197 MB / 0.5636 GB, free: 3.574 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001133/0.4739, allocations: 0.6856 MB / 0.5642 GB, free: 2.887 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002982/0.4742, allocations: 216 kB / 0.5644 GB, free: 2.676 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003539/0.4777, allocations: 1.158 MB / 0.5656 GB, free: 1.516 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006414/0.4784, allocations: 0.6697 MB / 0.5662 GB, free: 0.8438 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008934/0.4792, allocations: 0.7285 MB / 0.5669 GB, free: 116 kB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006152/0.4854, allocations: 4.121 MB / 0.571 GB, free: 11.98 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.534e-06/0.4854, allocations: 0 / 0.571 GB, free: 11.98 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.213e-06/0.4854, allocations: 0 / 0.571 GB, free: 11.98 MB / 462.1 MB Notification: Performance of Transformations before backend: time 3.725e-05/0.4854, allocations: 0 / 0.571 GB, free: 11.98 MB / 462.1 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.004695/0.4901, allocations: 2.654 MB / 0.5736 GB, free: 9.281 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.476e-05/0.4902, allocations: 17.05 kB / 0.5736 GB, free: 9.266 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001971/0.4922, allocations: 0.5407 MB / 0.5741 GB, free: 8.727 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00192/0.4941, allocations: 1.158 MB / 0.5752 GB, free: 7.527 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003873/0.4945, allocations: 364.2 kB / 0.5756 GB, free: 7.148 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002973/0.4948, allocations: 196.4 kB / 0.5758 GB, free: 6.957 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01037/0.5051, allocations: 8.376 MB / 0.5839 GB, free: 14.52 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.117e-05/0.5052, allocations: 4.172 kB / 0.5839 GB, free: 14.52 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001821/0.5054, allocations: 84.36 kB / 0.584 GB, free: 14.44 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004053/0.5058, allocations: 340.5 kB / 0.5844 GB, free: 14.1 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01591/0.5217, allocations: 13.93 MB / 0.598 GB, free: 160 kB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03015/0.5518, allocations: 18.87 MB / 0.6164 GB, free: 13.18 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005939/0.5578, allocations: 3.832 MB / 0.6201 GB, free: 9.34 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003932/0.5617, allocations: 2.673 MB / 0.6227 GB, free: 6.664 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001636/0.5633, allocations: 0.5749 MB / 0.6233 GB, free: 6.09 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.227e-05/0.5634, allocations: 43.22 kB / 0.6233 GB, free: 6.039 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=82): time 2.505e-06/0.5634, allocations: 0 / 0.6233 GB, free: 6.039 MB / 0.4981 GB Notification: Performance of matching and sorting (n=102): time 0.3541/0.9175, allocations: 15 MB / 0.638 GB, free: 64.57 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.004871/0.9224, allocations: 3.216 MB / 0.6411 GB, free: 63.12 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001933/0.9243, allocations: 1.279 MB / 0.6424 GB, free: 62.96 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0004908/0.9248, allocations: 40.23 kB / 0.6424 GB, free: 62.93 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007308/0.9255, allocations: 1.112 MB / 0.6435 GB, free: 62.54 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004803/0.926, allocations: 357.5 kB / 0.6438 GB, free: 62.35 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009972/0.927, allocations: 390.8 kB / 0.6442 GB, free: 62.33 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 8.483e-05/0.9271, allocations: 343.6 kB / 0.6445 GB, free: 62.02 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004152/0.9313, allocations: 3.301 MB / 0.6478 GB, free: 62.01 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004416/0.9357, allocations: 3.513 MB / 0.6512 GB, free: 61.77 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02487/0.9605, allocations: 9.528 MB / 0.6605 GB, free: 61.48 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.313e-05/0.9606, allocations: 0 / 0.6605 GB, free: 61.48 MB / 0.4981 GB Notification: Performance of matching and sorting (n=130) (initialization): time 0.0102/0.9708, allocations: 6.621 MB / 0.667 GB, free: 58.77 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.96e-05/0.9708, allocations: 8.438 kB / 0.667 GB, free: 58.77 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.877e-05/0.9708, allocations: 6.094 kB / 0.667 GB, free: 58.77 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007707/0.9716, allocations: 452.2 kB / 0.6674 GB, free: 58.6 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009895/0.9815, allocations: 1.083 MB / 0.6685 GB, free: 58.55 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007739/0.9892, allocations: 8.307 MB / 0.6766 GB, free: 52.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001796/0.991, allocations: 58.98 kB / 0.6766 GB, free: 52.48 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004274/0.9914, allocations: 285.8 kB / 0.6769 GB, free: 52.43 MB / 0.4981 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.001795/0.9932, allocations: 0.6252 MB / 0.6775 GB, free: 52.06 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005221/0.9937, allocations: 130.9 kB / 0.6776 GB, free: 51.99 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007191/1.001, allocations: 3.189 MB / 0.6808 GB, free: 50.75 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.558e-06/1.001, allocations: 15.16 kB / 0.6808 GB, free: 50.75 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/1.001, allocations: 0 / 0.6808 GB, free: 50.75 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.076e-05/1.001, allocations: 5.438 kB / 0.6808 GB, free: 50.75 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01058/1.012, allocations: 5.72 MB / 0.6864 GB, free: 46.63 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.416e-06/1.012, allocations: 5.656 kB / 0.6864 GB, free: 46.63 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006181/1.018, allocations: 499.8 kB / 0.6868 GB, free: 46.27 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001104/1.019, allocations: 226 kB / 0.6871 GB, free: 46.09 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.969e-05/1.019, allocations: 27.94 kB / 0.6871 GB, free: 46.07 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005858/1.025, allocations: 6.311 MB / 0.6933 GB, free: 39.67 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.00226/1.027, allocations: 1.832 MB / 0.695 GB, free: 37.84 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004973/1.032, allocations: 2.168 MB / 0.6972 GB, free: 35.82 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004853/1.033, allocations: 143.2 kB / 0.6973 GB, free: 35.69 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003273/1.033, allocations: 27.23 kB / 0.6973 GB, free: 35.66 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008375/1.034, allocations: 48.2 kB / 0.6974 GB, free: 35.63 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002804/1.034, allocations: 99.59 kB / 0.6975 GB, free: 35.58 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.213e-05/1.034, allocations: 36.33 kB / 0.6975 GB, free: 35.55 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.002619/1.037, allocations: 2.648 MB / 0.7001 GB, free: 33.16 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/1.037, allocations: 0.5312 kB / 0.7001 GB, free: 33.16 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002429/1.039, allocations: 0.6551 MB / 0.7007 GB, free: 32.54 MB / 0.4981 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.0007222/1.04, allocations: 406 kB / 0.7011 GB, free: 32.26 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.007194/1.047, allocations: 4.034 MB / 0.705 GB, free: 28.23 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 7.884e-06/1.047, allocations: 1.156 kB / 0.705 GB, free: 28.23 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.003946/1.051, allocations: 1.115 MB / 0.7061 GB, free: 27.12 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002129/1.053, allocations: 337.8 kB / 0.7065 GB, free: 26.82 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006986/1.06, allocations: 4.046 MB / 0.7104 GB, free: 22.74 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001048/1.061, allocations: 1.116 MB / 0.7115 GB, free: 21.61 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001452/1.063, allocations: 392.6 kB / 0.7119 GB, free: 21.24 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007547/1.063, allocations: 196.4 kB / 0.7121 GB, free: 21.05 MB / 0.4981 GB Notification: Performance of SimCode: time 9.92e-07/1.063, allocations: 1.094 kB / 0.7121 GB, free: 21.05 MB / 0.4981 GB Notification: Performance of Templates: time 0.08158/1.145, allocations: 54.11 MB / 0.7649 GB, free: 15.61 MB / 0.545 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: 7.21234729886055] Failed to read output from testmodel.py, exit status != 0: 1.1549615189433098 1.171463737 0.6827687299999999 Calling exit ...