Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Chemical_Chemical.Examples.WaterVaporization.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.WaterVaporization,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.WaterVaporization") translateModel(Chemical.Examples.WaterVaporization,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.WaterVaporization") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0-master/package.mo): time 0.09283/0.09283, allocations: 15.26 MB / 30.21 MB, free: 3.305 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.001021/0.001021, allocations: 177.1 kB / 35.29 MB, free: 2.379 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.426/1.426, allocations: 223.2 MB / 263.4 MB, free: 6.918 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.0008668/0.000867, allocations: 96.31 kB / 318.8 MB, free: 3.863 MB / 250.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.0003982/0.0003982, allocations: 15.22 kB / 383.9 MB, free: 50.45 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1126/0.113, allocations: 54.64 MB / 438.6 MB, free: 492 kB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3926/0.5057, allocations: 103.5 MB / 0.5294 GB, free: 15.57 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003322/0.5061, allocations: 74.14 kB / 0.5295 GB, free: 15.57 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09617/0.6022, allocations: 43.24 MB / 0.5717 GB, free: 21.39 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.306e-06/0.6023, allocations: 0 / 0.5717 GB, free: 21.39 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.158e-05/0.6023, allocations: 35.08 kB / 0.5717 GB, free: 21.38 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 325 * Number of variables: 325 Notification: Performance of Generate backend data structure: time 0.002942/0.6053, allocations: 1.547 MB / 0.5732 GB, free: 20.33 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.216e-05/0.6053, allocations: 11.59 kB / 0.5732 GB, free: 20.33 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001201/0.6066, allocations: 358.9 kB / 0.5736 GB, free: 20.18 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001177/0.6077, allocations: 0.7255 MB / 0.5743 GB, free: 19.74 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.143e-05/0.6078, allocations: 99.72 kB / 0.5744 GB, free: 19.74 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001549/0.608, allocations: 132.8 kB / 0.5745 GB, free: 19.73 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002277/0.6103, allocations: 1.983 MB / 0.5764 GB, free: 19.29 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.375e-05/0.6103, allocations: 0 / 0.5764 GB, free: 19.29 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000101/0.6104, allocations: 55.58 kB / 0.5765 GB, free: 19.28 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.741e-05/0.6104, allocations: 31.03 kB / 0.5765 GB, free: 19.28 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002756/0.6132, allocations: 2.67 MB / 0.5791 GB, free: 18.9 MB / 394.7 MB Warning: The model contains alias variables with redundant start and/or conflicting 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.007156/0.6204, allocations: 5.701 MB / 0.5847 GB, free: 16.27 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001924/0.6223, allocations: 1.984 MB / 0.5866 GB, free: 15.59 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004103/0.6227, allocations: 322.5 kB / 0.5869 GB, free: 15.45 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.973e-05/0.6228, allocations: 43.19 kB / 0.587 GB, free: 15.4 MB / 394.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003844/0.6232, allocations: 93.67 kB / 0.5871 GB, free: 15.33 MB / 394.7 MB Notification: Performance of pre-optimization done (n=114): time 3.556e-06/0.6232, allocations: 0 / 0.5871 GB, free: 15.33 MB / 394.7 MB Notification: Performance of matching and sorting (n=146): time 0.02691/0.6501, allocations: 7.727 MB / 0.5946 GB, free: 9.918 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.08e-05/0.6502, allocations: 64.72 kB / 0.5947 GB, free: 9.844 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007818/0.651, allocations: 0.5177 MB / 0.5952 GB, free: 9.32 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002488/0.6512, allocations: 53.7 kB / 0.5952 GB, free: 9.262 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003231/0.6516, allocations: 496 kB / 0.5957 GB, free: 8.77 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004853/0.6521, allocations: 0.489 MB / 0.5962 GB, free: 8.273 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.758e-05/0.6521, allocations: 28 kB / 0.5962 GB, free: 8.246 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002001/0.6524, allocations: 402.7 kB / 0.5966 GB, free: 7.844 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001214/0.6536, allocations: 0.859 MB / 0.5974 GB, free: 6.984 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001291/0.6549, allocations: 1.101 MB / 0.5985 GB, free: 5.801 MB / 394.7 MB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: liquid.temperature = liquid.temperature_start (gas.temperature_start = liquid.temperature_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.03875/0.6936, allocations: 6.262 MB / 0.6046 GB, free: 15.52 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.671e-06/0.6937, allocations: 4 kB / 0.6046 GB, free: 15.51 MB / 410.7 MB Notification: Performance of matching and sorting (n=180) (initialization): time 0.0079/0.7016, allocations: 2.767 MB / 0.6073 GB, free: 12.73 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.448e-05/0.7016, allocations: 11.95 kB / 0.6073 GB, free: 12.71 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.26e-05/0.7016, allocations: 4 kB / 0.6074 GB, free: 12.71 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005312/0.707, allocations: 0.7294 MB / 0.6081 GB, free: 11.97 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001255/0.7082, allocations: 295.6 kB / 0.6083 GB, free: 11.68 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009253/0.7175, allocations: 5.934 MB / 0.6141 GB, free: 5.422 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001252/0.7188, allocations: 79.86 kB / 0.6142 GB, free: 5.344 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001225/0.7189, allocations: 59.97 kB / 0.6143 GB, free: 5.285 MB / 410.7 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: liquid.temperature = liquid.temperature_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * 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 (160): * Single equations (assignments): 156 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 12} * Non-linear torn systems: 3 {1 1,1 2,1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0006544/0.7196, allocations: 281.5 kB / 0.6145 GB, free: 5 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000207/0.7198, allocations: 94.88 kB / 0.6146 GB, free: 4.906 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008907/0.7287, allocations: 2.811 MB / 0.6174 GB, free: 2.07 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.715e-05/0.7287, allocations: 16 kB / 0.6174 GB, free: 2.055 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.107e-06/0.7288, allocations: 0 / 0.6174 GB, free: 2.055 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.496e-05/0.7288, allocations: 11.97 kB / 0.6174 GB, free: 2.043 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01231/0.7411, allocations: 5.066 MB / 0.6224 GB, free: 12.84 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.291e-05/0.7412, allocations: 7.969 kB / 0.6224 GB, free: 12.84 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001049/0.7422, allocations: 255.6 kB / 0.6226 GB, free: 12.59 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006275/0.7485, allocations: 0.726 MB / 0.6233 GB, free: 11.84 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002313/0.7488, allocations: 39.98 kB / 0.6234 GB, free: 11.8 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009366/0.7581, allocations: 6.696 MB / 0.6299 GB, free: 4.652 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.442e-06/0.7582, allocations: 8 kB / 0.6299 GB, free: 4.645 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01116/0.7693, allocations: 4.18 MB / 0.634 GB, free: 300 kB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006438/0.7701, allocations: 167.9 kB / 0.6341 GB, free: 112 kB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001585/0.7702, allocations: 32 kB / 0.6342 GB, free: 80 kB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007823/0.771, allocations: 63.95 kB / 0.6342 GB, free: 16 kB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002635/0.7713, allocations: 121 kB / 0.6343 GB, free: 15.9 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.606e-05/0.7714, allocations: 47.98 kB / 0.6344 GB, free: 15.85 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0005506/0.772, allocations: 418.8 kB / 0.6348 GB, free: 15.44 MB / 442.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.772, allocations: 0 / 0.6348 GB, free: 15.44 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002067/0.774, allocations: 0.6831 MB / 0.6355 GB, free: 14.76 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 4 (H2O_gaseuous.logn,otherSubstances.logn,liquidWater.amountOfBonds,liquidWater.logn) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (139): * Single equations (assignments): 134 * 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: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 12} * Non-linear torn systems: 4 {1 4,1 1,1 1,2 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.001392/0.7754, allocations: 0.7303 MB / 0.6362 GB, free: 14.02 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.003444/0.7789, allocations: 2.356 MB / 0.6385 GB, free: 11.64 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.589e-06/0.7789, allocations: 0 / 0.6385 GB, free: 11.64 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001828/0.7807, allocations: 1.457 MB / 0.6399 GB, free: 10.15 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001034/0.7818, allocations: 202.2 kB / 0.6401 GB, free: 9.953 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004207/0.786, allocations: 3.247 MB / 0.6433 GB, free: 6.637 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006895/0.7867, allocations: 1.131 MB / 0.6444 GB, free: 5.473 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0007069/0.7874, allocations: 175.8 kB / 0.6445 GB, free: 5.297 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002804/0.7877, allocations: 111.4 kB / 0.6446 GB, free: 5.188 MB / 442.7 MB Notification: Performance of SimCode: time 1.994e-06/0.7877, allocations: 0 / 0.6446 GB, free: 5.188 MB / 442.7 MB Notification: Performance of Templates: time 0.04061/0.8284, allocations: 27.67 MB / 0.6717 GB, free: 9.645 MB / 474.7 MB make -j1 -f Chemical_Chemical.Examples.WaterVaporization.makefile (rm -f Chemical_Chemical.Examples.WaterVaporization.pipe ; mkfifo Chemical_Chemical.Examples.WaterVaporization.pipe ; head -c 1048576 < Chemical_Chemical.Examples.WaterVaporization.pipe >> ../files/Chemical_Chemical.Examples.WaterVaporization.sim & ./Chemical_Chemical.Examples.WaterVaporization -abortSlowSimulation -alarm=480 -lv LOG_STATS > Chemical_Chemical.Examples.WaterVaporization.pipe 2>&1)