Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Chemical_Chemical.Examples.GasSolubility_NIST.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Chemical with version 1.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0-master/package.mo) Running command: translateModel(Chemical.Examples.GasSolubility_NIST,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.GasSolubility_NIST") translateModel(Chemical.Examples.GasSolubility_NIST,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.GasSolubility_NIST") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0-master/package.mo): time 0.06291/0.06291, allocations: 15.27 MB / 22.54 MB, free: 1.09 MB / 18.57 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008677/0.0008677, allocations: 191.5 kB / 27.31 MB, free: 6.168 MB / 24.77 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.096/1.096, allocations: 221.4 MB / 253.3 MB, free: 11.29 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008115/0.0008114, allocations: 96.66 kB / 308.4 MB, free: 11.18 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 5.771e-06/5.791e-06, allocations: 0.9062 kB / 369 MB, free: 54.25 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06847/0.06849, allocations: 54.63 MB / 423.7 MB, free: 14.88 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2337/0.3022, allocations: 102.9 MB / 0.5143 GB, free: 8.418 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001552/0.3024, allocations: 70.23 kB / 0.5143 GB, free: 8.418 MB / 362.7 MB Notification: Performance of FrontEnd: time 0.3196/0.622, allocations: 136.7 MB / 0.6478 GB, free: 3.52 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0001586/0.6222, allocations: 68 kB / 0.6479 GB, free: 3.453 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: 791 * Number of variables: 791 Notification: Performance of Generate backend data structure: time 0.008476/0.6307, allocations: 3.668 MB / 0.6514 GB, free: 15.75 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.667e-05/0.6307, allocations: 15.91 kB / 0.6515 GB, free: 15.73 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004091/0.6348, allocations: 1.07 MB / 0.6525 GB, free: 14.66 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003356/0.6382, allocations: 1.759 MB / 0.6542 GB, free: 12.87 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.5e-05/0.6383, allocations: 100 kB / 0.6543 GB, free: 12.77 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004601/0.6388, allocations: 187.9 kB / 0.6545 GB, free: 12.59 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.009814/0.6486, allocations: 8.704 MB / 0.663 GB, free: 3.875 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1174/0.766, allocations: 4.201 MB / 0.6671 GB, free: 98.68 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.73e-05/0.7661, allocations: 3.375 kB / 0.6671 GB, free: 98.68 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001951/0.7663, allocations: 0 / 0.6671 GB, free: 98.68 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.032e-05/0.7663, allocations: 76.09 kB / 0.6672 GB, free: 98.68 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01753/0.7839, allocations: 15.53 MB / 0.6823 GB, free: 95.85 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003622/0.7875, allocations: 4.372 MB / 0.6866 GB, free: 95.73 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001753/0.7893, allocations: 2.104 MB / 0.6887 GB, free: 95.7 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007634/0.79, allocations: 0.7401 MB / 0.6894 GB, free: 95.68 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.585e-05/0.7901, allocations: 65.91 kB / 0.6895 GB, free: 95.64 MB / 474.7 MB Notification: Performance of pre-optimization done (n=305): time 4.047e-06/0.7901, allocations: 7.594 kB / 0.6895 GB, free: 95.64 MB / 474.7 MB Notification: Performance of matching and sorting (n=416): time 0.07087/0.861, allocations: 21.02 MB / 0.71 GB, free: 93.31 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.65e-05/0.861, allocations: 144.2 kB / 0.7101 GB, free: 93.18 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00253/0.8636, allocations: 2.776 MB / 0.7128 GB, free: 93.02 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000483/0.8641, allocations: 25.7 kB / 0.7129 GB, free: 92.98 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003412/0.8644, allocations: 0.9947 MB / 0.7138 GB, free: 92.53 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009129/0.8653, allocations: 1.337 MB / 0.7151 GB, free: 91.8 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002153/0.8656, allocations: 0 / 0.7151 GB, free: 91.8 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001395/0.8657, allocations: 472.5 kB / 0.7156 GB, free: 91.49 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003101/0.8688, allocations: 3.08 MB / 0.7186 GB, free: 91.48 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003179/0.872, allocations: 3.622 MB / 0.7221 GB, free: 90.98 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008496/0.8805, allocations: 4.325 MB / 0.7264 GB, free: 90.85 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.261e-05/0.8805, allocations: 3.781 kB / 0.7264 GB, free: 90.85 MB / 474.7 MB Notification: Performance of matching and sorting (n=557) (initialization): time 0.02046/0.901, allocations: 9.351 MB / 0.7355 GB, free: 90.4 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.821e-05/0.9011, allocations: 7.812 kB / 0.7355 GB, free: 90.4 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.291e-05/0.9011, allocations: 17.84 kB / 0.7355 GB, free: 90.4 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007387/0.9085, allocations: 1.078 MB / 0.7366 GB, free: 90.33 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004118/0.9126, allocations: 0.9462 MB / 0.7375 GB, free: 90.33 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01361/0.9262, allocations: 12.13 MB / 0.7493 GB, free: 81.12 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004277/0.9305, allocations: 242.4 kB / 0.7496 GB, free: 81.11 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000376/0.9309, allocations: 212.7 kB / 0.7498 GB, free: 81.11 MB / 474.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: CO2_25.solution.n:DUMMY_STATE(flow=false min = 0.0 max = 0.0 unit = "mol" ) "Amount of the solution" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: CO2_25.solution.I:VARIABLE(flow=false min = 0.0 max = 0.0 unit = "1" ) "Mole fraction based ionic strength of the solution" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: CO2_37.solution.n:DUMMY_STATE(flow=false min = 0.0 max = 0.0 unit = "mol" ) "Amount of the solution" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: CO2_37.solution.I:VARIABLE(flow=false min = 0.0 max = 0.0 unit = "1" ) "Mole fraction based ionic strength of the solution" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: CO2_0.solution.n:DUMMY_STATE(flow=false min = 0.0 max = 0.0 unit = "mol" ) "Amount of the solution" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: CO2_0.solution.I:VARIABLE(flow=false min = 0.0 max = 0.0 unit = "1" ) "Mole fraction based ionic strength of the solution" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 57 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (503): * Single equations (assignments): 488 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 6 {1 6,1 3,1 6,1 3,1 6,1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0005974/0.9315, allocations: 193.7 kB / 0.75 GB, free: 81.01 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004611/0.932, allocations: 266.5 kB / 0.7502 GB, free: 80.87 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02357/0.9556, allocations: 8.705 MB / 0.7587 GB, free: 78.46 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.02152/0.9771, allocations: 7.813 MB / 0.7664 GB, free: 76.07 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.725e-05/0.9772, allocations: 3.875 kB / 0.7664 GB, free: 76.07 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-05/0.9772, allocations: 21.33 kB / 0.7664 GB, free: 76.07 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03435/1.012, allocations: 21.05 MB / 0.7869 GB, free: 67.91 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.312e-05/1.012, allocations: 24.55 kB / 0.787 GB, free: 67.91 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002529/1.014, allocations: 0.7174 MB / 0.7877 GB, free: 67.89 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01355/1.028, allocations: 2.142 MB / 0.7897 GB, free: 67.57 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002439/1.028, allocations: 89.78 kB / 0.7898 GB, free: 67.56 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02156/1.05, allocations: 16.67 MB / 0.8061 GB, free: 55.92 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.01549/1.065, allocations: 6.73 MB / 0.8127 GB, free: 49.53 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.02425/1.089, allocations: 13.59 MB / 0.8259 GB, free: 36.82 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001017/1.09, allocations: 438.6 kB / 0.8264 GB, free: 36.41 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004805/1.091, allocations: 39.27 kB / 0.8264 GB, free: 36.38 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002532/1.093, allocations: 152 kB / 0.8265 GB, free: 36.29 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003284/1.094, allocations: 312.7 kB / 0.8268 GB, free: 36.1 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002375/1.094, allocations: 162.2 kB / 0.827 GB, free: 35.96 MB / 474.7 MB Notification: Performance of sort global known variables: time 0.001718/1.096, allocations: 2.167 MB / 0.8291 GB, free: 33.97 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.006064/1.102, allocations: 2.646 MB / 0.8317 GB, free: 31.7 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 96 * Number of states: 12 ($STATESET3.x[4],$STATESET3.x[3],$STATESET3.x[2],$STATESET3.x[1],$STATESET2.x[4],$STATESET2.x[3],$STATESET2.x[2],$STATESET2.x[1],$STATESET1.x[4],$STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (395): * Single equations (assignments): 386 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 6 {1 6,5 8,1 6,5 8,1 6,5 8} Notification: Performance of Backend phase and start with SimCode phase: time 0.003572/1.105, allocations: 2.49 MB / 0.8341 GB, free: 29.85 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.008393/1.114, allocations: 7.193 MB / 0.8412 GB, free: 23.2 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 8.726e-06/1.114, allocations: 4 kB / 0.8412 GB, free: 23.2 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004571/1.118, allocations: 3.876 MB / 0.8449 GB, free: 19.64 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002475/1.121, allocations: 451.6 kB / 0.8454 GB, free: 19.32 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008574/1.129, allocations: 6.596 MB / 0.8518 GB, free: 12.96 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002145/1.132, allocations: 2.387 MB / 0.8541 GB, free: 11.08 MB / 474.7 MB Notification: Performance of SimCode: time 3.7e-07/1.132, allocations: 0 / 0.8541 GB, free: 11.08 MB / 474.7 MB Notification: Performance of Templates: time 0.2161/1.348, allocations: 88.91 MB / 0.941 GB, free: 86.6 MB / 474.7 MB make -j1 -f Chemical_Chemical.Examples.GasSolubility_NIST.makefile (rm -f Chemical_Chemical.Examples.GasSolubility_NIST.pipe ; mkfifo Chemical_Chemical.Examples.GasSolubility_NIST.pipe ; head -c 1048576 < Chemical_Chemical.Examples.GasSolubility_NIST.pipe >> ../files/Chemical_Chemical.Examples.GasSolubility_NIST.sim & ./Chemical_Chemical.Examples.GasSolubility_NIST -abortSlowSimulation -alarm=480 -lv LOG_STATS > Chemical_Chemical.Examples.GasSolubility_NIST.pipe 2>&1)