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.1231/0.1231, allocations: 15.25 MB / 27.81 MB, free: 5.395 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.00119/0.00119, allocations: 192.4 kB / 32.71 MB, free: 0.5078 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.52/1.52, allocations: 221.4 MB / 258.8 MB, free: 68 kB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009028/0.000903, allocations: 106.8 kB / 314 MB, free: 15.78 MB / 250.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 3.435e-05/3.437e-05, allocations: 4 kB / 376.5 MB, free: 1.453 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3337/0.3337, allocations: 54.61 MB / 431.1 MB, free: 50.12 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1442/0.478, allocations: 103.5 MB / 0.522 GB, free: 11.82 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002158/0.4783, allocations: 68.53 kB / 0.5221 GB, free: 11.75 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.109/0.5873, allocations: 43.1 MB / 0.5642 GB, free: 0.75 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.246e-06/0.5873, allocations: 4 kB / 0.5642 GB, free: 0.7461 MB / 426.7 MB Notification: Performance of Transformations before backend: time 5.428e-05/0.5874, allocations: 24 kB / 0.5642 GB, free: 0.7227 MB / 426.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.00301/0.5904, allocations: 1.472 MB / 0.5656 GB, free: 15.2 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.413e-05/0.5905, allocations: 12.03 kB / 0.5656 GB, free: 15.19 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001247/0.5917, allocations: 357.6 kB / 0.566 GB, free: 14.84 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001308/0.593, allocations: 0.7371 MB / 0.5667 GB, free: 14.06 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.666e-05/0.5931, allocations: 94.56 kB / 0.5668 GB, free: 13.96 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002088/0.5933, allocations: 139.8 kB / 0.5669 GB, free: 13.83 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002825/0.5962, allocations: 1.944 MB / 0.5688 GB, free: 11.85 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.325e-05/0.5962, allocations: 0 / 0.5688 GB, free: 11.85 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001135/0.5963, allocations: 56 kB / 0.5689 GB, free: 11.79 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.645e-05/0.5964, allocations: 32 kB / 0.5689 GB, free: 11.76 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003448/0.5998, allocations: 2.626 MB / 0.5715 GB, free: 9.129 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.008503/0.6083, allocations: 5.697 MB / 0.577 GB, free: 3.203 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002495/0.6109, allocations: 1.951 MB / 0.5789 GB, free: 1.246 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001016/0.6119, allocations: 0.8199 MB / 0.5797 GB, free: 432 kB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004579/0.6123, allocations: 320.3 kB / 0.5801 GB, free: 108 kB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.503e-05/0.6124, allocations: 47.5 kB / 0.5801 GB, free: 52 kB / 442.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.2913/0.9037, allocations: 87.42 kB / 0.5802 GB, free: 102.6 MB / 442.7 MB Notification: Performance of pre-optimization done (n=114): time 6.702e-06/0.9038, allocations: 1.219 kB / 0.5802 GB, free: 102.6 MB / 442.7 MB Notification: Performance of matching and sorting (n=150): time 0.02713/0.931, allocations: 7.179 MB / 0.5872 GB, free: 102.1 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.006939/0.9379, allocations: 3.98 MB / 0.5911 GB, free: 99.36 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009177/0.9389, allocations: 0.5127 MB / 0.5916 GB, free: 99.25 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003301/0.9392, allocations: 50.73 kB / 0.5916 GB, free: 99.21 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003942/0.9396, allocations: 497.5 kB / 0.5921 GB, free: 99 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005404/0.9402, allocations: 0.4982 MB / 0.5926 GB, free: 98.75 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.718e-05/0.9403, allocations: 29.44 kB / 0.5926 GB, free: 98.75 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002001/0.9405, allocations: 401 kB / 0.593 GB, free: 98.43 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001529/0.942, allocations: 0.891 MB / 0.5939 GB, free: 98.43 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001577/0.9436, allocations: 1.117 MB / 0.595 GB, free: 98.2 MB / 442.7 MB Notification: It was not possible to check the given initialization system for consistency symbolically, because the relevant equations are part of an algebraic loop. This is not supported yet. Notification: Performance of analyzeInitialSystem (initialization): time 0.03548/0.9791, allocations: 5.405 MB / 0.6002 GB, free: 98.14 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.105e-06/0.9791, allocations: 2.812 kB / 0.6002 GB, free: 98.14 MB / 442.7 MB Notification: Performance of matching and sorting (n=186) (initialization): time 0.009258/0.9884, allocations: 2.811 MB / 0.603 GB, free: 98 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.377e-05/0.9885, allocations: 8 kB / 0.603 GB, free: 98 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.046e-05/0.9885, allocations: 5.469 kB / 0.603 GB, free: 98 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004537/0.993, allocations: 0.6951 MB / 0.6037 GB, free: 97.96 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0015/0.9946, allocations: 305.3 kB / 0.604 GB, free: 97.96 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008116/1.003, allocations: 5.786 MB / 0.6096 GB, free: 94.33 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001564/1.004, allocations: 103.1 kB / 0.6097 GB, free: 94.33 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001802/1.004, allocations: 68.19 kB / 0.6098 GB, free: 94.33 MB / 442.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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (164): * Single equations (assignments): 158 * Array equations: 2 * 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.000337/1.005, allocations: 184.7 kB / 0.61 GB, free: 94.22 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002169/1.005, allocations: 91.91 kB / 0.6101 GB, free: 94.18 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00829/1.013, allocations: 2.904 MB / 0.6129 GB, free: 93.59 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.007405/1.021, allocations: 2.557 MB / 0.6154 GB, free: 92.71 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.374e-05/1.021, allocations: 4.188 kB / 0.6154 GB, free: 92.71 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.099e-05/1.021, allocations: 10.36 kB / 0.6154 GB, free: 92.71 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01145/1.032, allocations: 5.452 MB / 0.6207 GB, free: 90.38 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.407e-05/1.032, allocations: 7.469 kB / 0.6207 GB, free: 90.38 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001014/1.033, allocations: 250.7 kB / 0.621 GB, free: 90.36 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005838/1.039, allocations: 0.799 MB / 0.6217 GB, free: 90.21 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002496/1.04, allocations: 42.67 kB / 0.6218 GB, free: 90.19 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007937/1.048, allocations: 5.883 MB / 0.6275 GB, free: 85.61 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.004272/1.052, allocations: 2.087 MB / 0.6296 GB, free: 83.94 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009244/1.061, allocations: 4.321 MB / 0.6338 GB, free: 81.87 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000503/1.062, allocations: 172.6 kB / 0.634 GB, free: 81.72 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001343/1.062, allocations: 34.53 kB / 0.634 GB, free: 81.7 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007599/1.063, allocations: 73.44 kB / 0.6341 GB, free: 81.68 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000269/1.063, allocations: 131 kB / 0.6342 GB, free: 81.65 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.847e-05/1.063, allocations: 54 kB / 0.6342 GB, free: 81.64 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0004632/1.063, allocations: 404.4 kB / 0.6346 GB, free: 81.44 MB / 442.7 MB Notification: Performance of sort global known variables: time 3.31e-07/1.063, allocations: 0 / 0.6346 GB, free: 81.44 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.00219/1.066, allocations: 0.7291 MB / 0.6353 GB, free: 81.36 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 4 ($STATESET1.x[2],$STATESET1.x[1],H2O_gaseuous.logn,otherSubstances.logn) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (140): * Single equations (assignments): 136 * 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 4,1 1,3 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.001351/1.067, allocations: 0.7189 MB / 0.636 GB, free: 81.14 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.003354/1.07, allocations: 2.404 MB / 0.6384 GB, free: 80.06 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.368e-06/1.07, allocations: 3.188 kB / 0.6384 GB, free: 80.06 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001884/1.072, allocations: 1.424 MB / 0.6398 GB, free: 79.36 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00106/1.073, allocations: 201.8 kB / 0.64 GB, free: 79.3 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003296/1.077, allocations: 2.226 MB / 0.6421 GB, free: 78.14 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005489/1.077, allocations: 1.144 MB / 0.6433 GB, free: 77.42 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.000884/1.078, allocations: 190.4 kB / 0.6434 GB, free: 77.38 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003007/1.078, allocations: 107.6 kB / 0.6435 GB, free: 77.36 MB / 442.7 MB Notification: Performance of SimCode: time 1.323e-06/1.078, allocations: 4 kB / 0.6435 GB, free: 77.36 MB / 442.7 MB Notification: Performance of Templates: time 0.03688/1.115, allocations: 27.5 MB / 0.6704 GB, free: 58.56 MB / 442.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)