Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Chemical_Chemical.Examples.GasSolubility.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,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.GasSolubility") translateModel(Chemical.Examples.GasSolubility,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.GasSolubility") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0-master/package.mo): time 0.1208/0.1208, allocations: 15.25 MB / 27.81 MB, free: 5.41 MB / 24.77 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001064/0.001064, allocations: 184.4 kB / 32.7 MB, free: 0.5273 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.452/1.452, allocations: 221.4 MB / 258.8 MB, free: 15.98 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008084/0.0008085, allocations: 102.4 kB / 314 MB, free: 15.74 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 3.603e-05/3.605e-05, allocations: 7.938 kB / 376.5 MB, free: 1.426 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3247/0.3247, allocations: 54.6 MB / 431.1 MB, free: 50.07 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1322/0.457, allocations: 103.1 MB / 0.5217 GB, free: 12.12 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001794/0.4572, allocations: 68.72 kB / 0.5218 GB, free: 12.05 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5771/1.034, allocations: 91.51 MB / 0.6111 GB, free: 91.75 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.545e-06/1.034, allocations: 0 / 0.6111 GB, free: 91.75 MB / 442.7 MB Notification: Performance of Transformations before backend: time 9.74e-05/1.034, allocations: 45.25 kB / 0.6112 GB, free: 91.75 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 539 * Number of variables: 539 Notification: Performance of Generate backend data structure: time 0.008007/1.042, allocations: 2.5 MB / 0.6136 GB, free: 90.47 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.619e-05/1.043, allocations: 9.375 kB / 0.6136 GB, free: 90.47 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003085/1.046, allocations: 0.6429 MB / 0.6143 GB, free: 90.33 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003079/1.049, allocations: 1.269 MB / 0.6155 GB, free: 89.91 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001086/1.049, allocations: 162.1 kB / 0.6156 GB, free: 89.9 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003394/1.049, allocations: 221.2 kB / 0.6159 GB, free: 89.9 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00577/1.055, allocations: 3.866 MB / 0.6196 GB, free: 89.69 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.397e-05/1.055, allocations: 3.469 kB / 0.6196 GB, free: 89.69 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002017/1.055, allocations: 82.25 kB / 0.6197 GB, free: 89.69 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.444e-05/1.055, allocations: 54.16 kB / 0.6198 GB, free: 89.69 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00657/1.062, allocations: 5.715 MB / 0.6253 GB, free: 88.59 MB / 442.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.01715/1.079, allocations: 10.83 MB / 0.6359 GB, free: 83.01 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005675/1.085, allocations: 4.918 MB / 0.6407 GB, free: 80.58 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001949/1.087, allocations: 1.715 MB / 0.6424 GB, free: 79.85 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000914/1.088, allocations: 0.5674 MB / 0.643 GB, free: 79.69 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.849e-05/1.088, allocations: 68.28 kB / 0.643 GB, free: 79.63 MB / 442.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001259/1.089, allocations: 193.1 kB / 0.6432 GB, free: 79.51 MB / 442.7 MB Notification: Performance of pre-optimization done (n=233): time 5.58e-06/1.089, allocations: 4 kB / 0.6432 GB, free: 79.5 MB / 442.7 MB Notification: Performance of matching and sorting (n=325): time 0.04979/1.139, allocations: 15.37 MB / 0.6582 GB, free: 70.96 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.01144/1.15, allocations: 5.608 MB / 0.6637 GB, free: 65.59 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001886/1.152, allocations: 1.489 MB / 0.6651 GB, free: 64.21 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007096/1.153, allocations: 78.64 kB / 0.6652 GB, free: 64.13 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003839/1.153, allocations: 0.7736 MB / 0.666 GB, free: 63.43 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009224/1.154, allocations: 1.088 MB / 0.667 GB, free: 62.45 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001694/1.155, allocations: 60 kB / 0.6671 GB, free: 62.39 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001651/1.155, allocations: 419.7 kB / 0.6675 GB, free: 62.01 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002608/1.157, allocations: 2.201 MB / 0.6696 GB, free: 59.99 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002686/1.16, allocations: 2.593 MB / 0.6722 GB, free: 57.51 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00273/1.163, allocations: 2.4 MB / 0.6745 GB, free: 55.37 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.007e-05/1.163, allocations: 4 kB / 0.6745 GB, free: 55.37 MB / 442.7 MB Notification: Performance of matching and sorting (n=402) (initialization): time 0.01142/1.174, allocations: 6.047 MB / 0.6804 GB, free: 49.44 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.609e-05/1.174, allocations: 8 kB / 0.6804 GB, free: 49.43 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.099e-05/1.174, allocations: 8 kB / 0.6804 GB, free: 49.43 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005065/1.179, allocations: 0.8095 MB / 0.6812 GB, free: 48.6 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003153/1.183, allocations: 0.6748 MB / 0.6819 GB, free: 47.92 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0103/1.193, allocations: 8.557 MB / 0.6903 GB, free: 38.8 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004212/1.197, allocations: 323.1 kB / 0.6906 GB, free: 38.49 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004762/1.198, allocations: 151.9 kB / 0.6907 GB, free: 38.34 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 36 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (362): * Single equations (assignments): 352 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 4 {1 8,1 3,1 6,1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0005511/1.198, allocations: 268.3 kB / 0.691 GB, free: 38.07 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004573/1.199, allocations: 193.6 kB / 0.6911 GB, free: 37.88 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01557/1.214, allocations: 6.466 MB / 0.6975 GB, free: 31.37 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01509/1.229, allocations: 5.787 MB / 0.7031 GB, free: 25.53 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.609e-05/1.23, allocations: 0 / 0.7031 GB, free: 25.53 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001184/1.23, allocations: 19.94 kB / 0.7031 GB, free: 25.51 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02685/1.256, allocations: 16.41 MB / 0.7192 GB, free: 8.809 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.968e-05/1.257, allocations: 16 kB / 0.7192 GB, free: 8.793 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002496/1.259, allocations: 0.5656 MB / 0.7197 GB, free: 8.227 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.009168/1.268, allocations: 1.687 MB / 0.7214 GB, free: 6.523 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007018/1.269, allocations: 107.9 kB / 0.7215 GB, free: 6.418 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01731/1.286, allocations: 12.07 MB / 0.7333 GB, free: 9.758 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.01171/1.298, allocations: 4.866 MB / 0.738 GB, free: 4.605 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02024/1.318, allocations: 9.887 MB / 0.7477 GB, free: 9.949 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001117/1.32, allocations: 338.3 kB / 0.748 GB, free: 9.598 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00046/1.32, allocations: 87.98 kB / 0.7481 GB, free: 9.512 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00206/1.322, allocations: 211.6 kB / 0.7483 GB, free: 9.305 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000591/1.323, allocations: 305.6 kB / 0.7486 GB, free: 9.004 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002236/1.323, allocations: 131.9 kB / 0.7487 GB, free: 8.875 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.001505/1.324, allocations: 1.158 MB / 0.7498 GB, free: 7.707 MB / 474.7 MB Notification: Performance of sort global known variables: time 3.3e-07/1.324, allocations: 8 kB / 0.7498 GB, free: 7.699 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.006365/1.331, allocations: 1.905 MB / 0.7517 GB, free: 5.793 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 75 * Number of states: 9 ($STATESET2.x[5],$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 (317): * Single equations (assignments): 311 * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 4 {1 8,6 9,1 6,5 8} Notification: Performance of Backend phase and start with SimCode phase: time 0.004041/1.335, allocations: 1.734 MB / 0.7534 GB, free: 4.281 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.2982/1.633, allocations: 5.341 MB / 0.7586 GB, free: 111.4 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.902e-05/1.633, allocations: 1.469 kB / 0.7586 GB, free: 111.4 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005994/1.639, allocations: 3.201 MB / 0.7617 GB, free: 110.9 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002705/1.642, allocations: 408.7 kB / 0.7621 GB, free: 110.9 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00916/1.651, allocations: 4.945 MB / 0.767 GB, free: 109.2 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00179/1.653, allocations: 1.618 MB / 0.7685 GB, free: 108.5 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.00301/1.656, allocations: 452.5 kB / 0.769 GB, free: 108.5 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001072/1.657, allocations: 252.6 kB / 0.7692 GB, free: 108.5 MB / 474.7 MB Notification: Performance of SimCode: time 1.613e-06/1.657, allocations: 0.9688 kB / 0.7692 GB, free: 108.5 MB / 474.7 MB Notification: Performance of Templates: time 0.09655/1.754, allocations: 63.44 MB / 0.8312 GB, free: 89.4 MB / 474.7 MB make -j1 -f Chemical_Chemical.Examples.GasSolubility.makefile (rm -f Chemical_Chemical.Examples.GasSolubility.pipe ; mkfifo Chemical_Chemical.Examples.GasSolubility.pipe ; head -c 1048576 < Chemical_Chemical.Examples.GasSolubility.pipe >> ../files/Chemical_Chemical.Examples.GasSolubility.sim & ./Chemical_Chemical.Examples.GasSolubility -abortSlowSimulation -alarm=480 -lv LOG_STATS > Chemical_Chemical.Examples.GasSolubility.pipe 2>&1)