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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0-master/package.mo): time 0.1094/0.1094, allocations: 15.26 MB / 22.73 MB, free: 0.9727 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.001208/0.001208, allocations: 185 kB / 27.52 MB, free: 6.117 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.411/1.411, allocations: 221.5 MB / 253.7 MB, free: 10.45 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.0009699/0.0009699, allocations: 104 kB / 308.8 MB, free: 10.45 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.459e-05/1.47e-05, allocations: 2.906 kB / 369.6 MB, free: 54.06 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1111/0.1112, allocations: 54.63 MB / 424.2 MB, free: 13.84 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3914/0.5026, allocations: 103 MB / 0.5149 GB, free: 12.34 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002307/0.5029, allocations: 70.69 kB / 0.5149 GB, free: 12.34 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3499/0.8529, allocations: 136 MB / 0.6478 GB, free: 7.234 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.432e-06/0.8529, allocations: 0 / 0.6478 GB, free: 7.234 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0002393/0.8532, allocations: 71.98 kB / 0.6479 GB, free: 7.164 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.01234/0.8655, allocations: 3.609 MB / 0.6514 GB, free: 3.496 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.061e-05/0.8656, allocations: 12.02 kB / 0.6514 GB, free: 3.484 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005168/0.8708, allocations: 1.027 MB / 0.6524 GB, free: 2.453 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004698/0.8755, allocations: 1.749 MB / 0.6541 GB, free: 0.6484 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001849/0.8757, allocations: 107.9 kB / 0.6542 GB, free: 0.543 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001135/0.8769, allocations: 191.9 kB / 0.6544 GB, free: 364 kB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01308/0.89, allocations: 8.653 MB / 0.6628 GB, free: 7.691 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008288/0.8983, allocations: 4.18 MB / 0.6669 GB, free: 3.445 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.376e-05/0.8984, allocations: 0 / 0.6669 GB, free: 3.445 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002017/0.8986, allocations: 0 / 0.6669 GB, free: 3.445 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.842e-05/0.8987, allocations: 76 kB / 0.667 GB, free: 3.371 MB / 474.7 MB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.379/1.278, allocations: 15.34 MB / 0.682 GB, free: 63.66 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006556/1.284, allocations: 5.915 MB / 0.6878 GB, free: 62.71 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002349/1.287, allocations: 2.111 MB / 0.6898 GB, free: 62.66 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001166/1.288, allocations: 0.7358 MB / 0.6905 GB, free: 62.64 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.671e-05/1.288, allocations: 70.47 kB / 0.6906 GB, free: 62.6 MB / 474.7 MB Notification: Performance of pre-optimization done (n=305): time 5.4e-06/1.288, allocations: 0 / 0.6906 GB, free: 62.6 MB / 474.7 MB Notification: Performance of matching and sorting (n=416): time 0.07264/1.361, allocations: 20.85 MB / 0.711 GB, free: 60.22 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.322e-05/1.361, allocations: 146.6 kB / 0.7111 GB, free: 60.09 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003576/1.364, allocations: 2.763 MB / 0.7138 GB, free: 59.92 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008631/1.365, allocations: 25.7 kB / 0.7138 GB, free: 59.89 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007657/1.366, allocations: 1.248 MB / 0.715 GB, free: 59.43 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001432/1.367, allocations: 1.342 MB / 0.7163 GB, free: 58.71 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002786/1.368, allocations: 6.219 kB / 0.7164 GB, free: 58.71 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001849/1.368, allocations: 472 kB / 0.7168 GB, free: 58.39 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003334/1.371, allocations: 3.052 MB / 0.7198 GB, free: 58.38 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003589/1.375, allocations: 3.598 MB / 0.7233 GB, free: 57.88 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008812/1.384, allocations: 4.209 MB / 0.7274 GB, free: 57.75 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.214e-05/1.384, allocations: 12.22 kB / 0.7274 GB, free: 57.74 MB / 474.7 MB Notification: Performance of matching and sorting (n=557) (initialization): time 0.02263/1.406, allocations: 9.156 MB / 0.7364 GB, free: 57.29 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.469e-05/1.406, allocations: 13.06 kB / 0.7364 GB, free: 57.29 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.22e-05/1.406, allocations: 12.34 kB / 0.7364 GB, free: 57.29 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006663/1.413, allocations: 1.078 MB / 0.7374 GB, free: 57.22 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004068/1.417, allocations: 0.9263 MB / 0.7383 GB, free: 57.22 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01355/1.431, allocations: 12.29 MB / 0.7503 GB, free: 46.98 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005551/1.436, allocations: 321.9 kB / 0.7506 GB, free: 46.97 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001027/1.437, allocations: 214.3 kB / 0.7509 GB, free: 46.94 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.0008023/1.438, allocations: 200.6 kB / 0.751 GB, free: 46.83 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008544/1.439, allocations: 272.5 kB / 0.7513 GB, free: 46.69 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02453/1.464, allocations: 8.528 MB / 0.7596 GB, free: 44.05 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0233/1.487, allocations: 7.757 MB / 0.7672 GB, free: 41.66 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.128e-05/1.487, allocations: 3.594 kB / 0.7672 GB, free: 41.66 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002094/1.487, allocations: 25.19 kB / 0.7672 GB, free: 41.66 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03915/1.526, allocations: 20.33 MB / 0.7871 GB, free: 32.01 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.903e-05/1.527, allocations: 22.69 kB / 0.7871 GB, free: 31.99 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002789/1.529, allocations: 0.7086 MB / 0.7878 GB, free: 31.43 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01227/1.542, allocations: 2.149 MB / 0.7899 GB, free: 29.99 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009412/1.543, allocations: 89.78 kB / 0.79 GB, free: 29.93 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02266/1.565, allocations: 16.95 MB / 0.8065 GB, free: 14.18 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.01486/1.58, allocations: 6.883 MB / 0.8133 GB, free: 7.625 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02848/1.609, allocations: 13.43 MB / 0.8264 GB, free: 11.6 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001383/1.61, allocations: 443.8 kB / 0.8268 GB, free: 11.19 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005958/1.611, allocations: 39.66 kB / 0.8268 GB, free: 11.16 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002645/1.613, allocations: 192.1 kB / 0.827 GB, free: 11.05 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006791/1.614, allocations: 392.1 kB / 0.8274 GB, free: 10.81 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003016/1.614, allocations: 163.7 kB / 0.8276 GB, free: 10.67 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.002401/1.617, allocations: 2.154 MB / 0.8297 GB, free: 8.695 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.5e-07/1.617, allocations: 0 / 0.8297 GB, free: 8.695 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.008395/1.625, allocations: 2.669 MB / 0.8323 GB, free: 6.461 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 90 * 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.005296/1.631, allocations: 2.441 MB / 0.8346 GB, free: 4.785 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0106/1.641, allocations: 7.036 MB / 0.8415 GB, free: 14.24 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.705e-05/1.641, allocations: 0 / 0.8415 GB, free: 14.24 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.006255/1.647, allocations: 4.013 MB / 0.8454 GB, free: 10.58 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003312/1.651, allocations: 466.1 kB / 0.8459 GB, free: 10.22 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01051/1.661, allocations: 6.4 MB / 0.8521 GB, free: 4 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001806/1.663, allocations: 2.022 MB / 0.8541 GB, free: 2.41 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.003138/1.666, allocations: 0.5855 MB / 0.8547 GB, free: 1.945 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001054/1.667, allocations: 327.3 kB / 0.855 GB, free: 1.691 MB / 0.4948 GB Notification: Performance of SimCode: time 8.91e-07/1.667, allocations: 0 / 0.855 GB, free: 1.691 MB / 0.4948 GB Notification: Performance of Templates: time 0.4099/2.077, allocations: 80.64 MB / 0.9337 GB, free: 81.2 MB / 0.4948 GB 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)