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.1031/0.1032, allocations: 15.26 MB / 31.21 MB, free: 3.094 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.0009003/0.0009004, allocations: 181.6 kB / 36.3 MB, free: 2.246 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.564/1.564, allocations: 223.3 MB / 264.5 MB, free: 6.262 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.0008884/0.0008885, allocations: 103.7 kB / 319.9 MB, free: 3.137 MB / 250.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.0004082/0.0004083, allocations: 11.52 kB / 385.2 MB, free: 50.52 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1124/0.1128, allocations: 54.64 MB / 439.8 MB, free: 56 kB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4295/0.5424, allocations: 103.5 MB / 0.5306 GB, free: 15.52 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002461/0.5427, allocations: 71.81 kB / 0.5307 GB, free: 15.52 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1001/0.6428, allocations: 43.05 MB / 0.5728 GB, free: 21.24 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.366e-06/0.6428, allocations: 4 kB / 0.5728 GB, free: 21.23 MB / 394.7 MB Notification: Performance of Transformations before backend: time 7.52e-05/0.6429, allocations: 23.75 kB / 0.5728 GB, free: 21.23 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.00395/0.6468, allocations: 1.543 MB / 0.5743 GB, free: 20.18 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.179e-05/0.6469, allocations: 12.31 kB / 0.5743 GB, free: 20.18 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001537/0.6484, allocations: 355.9 kB / 0.5746 GB, free: 20.04 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001571/0.65, allocations: 0.7535 MB / 0.5754 GB, free: 19.58 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.965e-05/0.6501, allocations: 95.81 kB / 0.5755 GB, free: 19.57 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003459/0.6505, allocations: 127.2 kB / 0.5756 GB, free: 19.57 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002943/0.6534, allocations: 1.989 MB / 0.5775 GB, free: 19.13 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.46e-05/0.6535, allocations: 3.938 kB / 0.5775 GB, free: 19.13 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001076/0.6536, allocations: 54.28 kB / 0.5776 GB, free: 19.12 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.474e-05/0.6536, allocations: 30.47 kB / 0.5776 GB, free: 19.12 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003171/0.6568, allocations: 2.684 MB / 0.5802 GB, free: 18.73 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.008228/0.6651, allocations: 5.698 MB / 0.5858 GB, free: 16.1 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002124/0.6672, allocations: 1.988 MB / 0.5877 GB, free: 15.27 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009361/0.6682, allocations: 0.8349 MB / 0.5886 GB, free: 14.83 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004719/0.6687, allocations: 327.4 kB / 0.5889 GB, free: 14.69 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.773e-05/0.6687, allocations: 42.75 kB / 0.5889 GB, free: 14.64 MB / 394.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005276/0.6693, allocations: 78.28 kB / 0.589 GB, free: 14.58 MB / 394.7 MB Notification: Performance of pre-optimization done (n=114): time 6.573e-06/0.6693, allocations: 4 kB / 0.589 GB, free: 14.57 MB / 394.7 MB Notification: Performance of matching and sorting (n=146): time 0.02546/0.6948, allocations: 7.729 MB / 0.5965 GB, free: 8.816 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.649e-05/0.6949, allocations: 72.66 kB / 0.5966 GB, free: 8.734 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009267/0.6958, allocations: 0.581 MB / 0.5972 GB, free: 8.145 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002693/0.6961, allocations: 49.7 kB / 0.5972 GB, free: 8.09 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000463/0.6966, allocations: 499.9 kB / 0.5977 GB, free: 7.594 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007227/0.6973, allocations: 0.4929 MB / 0.5982 GB, free: 7.094 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001118/0.6974, allocations: 28 kB / 0.5982 GB, free: 7.066 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002539/0.6977, allocations: 402.7 kB / 0.5986 GB, free: 6.664 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001587/0.6993, allocations: 0.859 MB / 0.5994 GB, free: 5.805 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001672/0.701, allocations: 1.105 MB / 0.6005 GB, free: 4.621 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: gas.temperature = gas.temperature_start (liquid.temperature_start = gas.temperature_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.03833/0.7393, allocations: 8.219 MB / 0.6085 GB, free: 12.3 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.75e-06/0.7394, allocations: 3.938 kB / 0.6085 GB, free: 12.3 MB / 410.7 MB Notification: Performance of matching and sorting (n=180) (initialization): time 0.00735/0.7467, allocations: 2.759 MB / 0.6112 GB, free: 9.516 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.346e-05/0.7468, allocations: 8.781 kB / 0.6112 GB, free: 9.508 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.419e-05/0.7468, allocations: 8 kB / 0.6112 GB, free: 9.5 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004602/0.7514, allocations: 0.7213 MB / 0.612 GB, free: 8.766 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001265/0.7527, allocations: 303.6 kB / 0.6122 GB, free: 8.469 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008479/0.7612, allocations: 5.845 MB / 0.6179 GB, free: 2.301 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001229/0.7625, allocations: 71.88 kB / 0.618 GB, free: 2.23 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00012/0.7626, allocations: 63.97 kB / 0.6181 GB, free: 2.168 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: gas.temperature = gas.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.0006455/0.7632, allocations: 286.1 kB / 0.6184 GB, free: 1.879 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001711/0.7634, allocations: 94.81 kB / 0.6184 GB, free: 1.785 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008422/0.7719, allocations: 2.792 MB / 0.6212 GB, free: 14.97 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.907e-05/0.7719, allocations: 16 kB / 0.6212 GB, free: 14.95 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.542e-05/0.7719, allocations: 8 kB / 0.6212 GB, free: 14.95 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.192e-05/0.772, allocations: 11.95 kB / 0.6212 GB, free: 14.93 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.012/0.784, allocations: 5.074 MB / 0.6262 GB, free: 9.727 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.246e-05/0.7841, allocations: 4 kB / 0.6262 GB, free: 9.723 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009591/0.785, allocations: 248.1 kB / 0.6264 GB, free: 9.48 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005238/0.7903, allocations: 0.7299 MB / 0.6271 GB, free: 8.734 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001815/0.7905, allocations: 39.98 kB / 0.6271 GB, free: 8.695 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008954/0.7995, allocations: 6.602 MB / 0.6336 GB, free: 1.637 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.031e-06/0.7995, allocations: 12.12 kB / 0.6336 GB, free: 1.625 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009907/0.8094, allocations: 4.01 MB / 0.6375 GB, free: 13.54 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004271/0.8099, allocations: 167.9 kB / 0.6377 GB, free: 13.35 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001546/0.8101, allocations: 32 kB / 0.6377 GB, free: 13.32 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007118/0.8108, allocations: 63.95 kB / 0.6378 GB, free: 13.26 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000282/0.8111, allocations: 125 kB / 0.6379 GB, free: 13.14 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.445e-05/0.8112, allocations: 51.97 kB / 0.6379 GB, free: 13.09 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0005449/0.8117, allocations: 410.8 kB / 0.6383 GB, free: 12.68 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.8117, allocations: 0 / 0.6383 GB, free: 12.68 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002052/0.8138, allocations: 0.687 MB / 0.639 GB, free: 12 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.001317/0.8151, allocations: 0.7345 MB / 0.6397 GB, free: 11.25 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.003433/0.8186, allocations: 2.345 MB / 0.642 GB, free: 8.883 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.42e-06/0.8186, allocations: 7.938 kB / 0.642 GB, free: 8.875 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001914/0.8205, allocations: 1.461 MB / 0.6434 GB, free: 7.379 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001527/0.8221, allocations: 218 kB / 0.6437 GB, free: 7.168 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004633/0.8267, allocations: 3.266 MB / 0.6468 GB, free: 3.836 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006889/0.8274, allocations: 1.102 MB / 0.6479 GB, free: 2.707 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0008014/0.8282, allocations: 175.8 kB / 0.6481 GB, free: 2.531 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002735/0.8285, allocations: 107.4 kB / 0.6482 GB, free: 2.426 MB / 442.7 MB Notification: Performance of SimCode: time 1.293e-06/0.8285, allocations: 0 / 0.6482 GB, free: 2.426 MB / 442.7 MB Notification: Performance of Templates: time 0.04745/0.876, allocations: 28.13 MB / 0.6757 GB, free: 6.422 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)