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.1114/0.1114, allocations: 15.26 MB / 22.73 MB, free: 0.9531 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.001168/0.001168, allocations: 185 kB / 27.52 MB, free: 6.113 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.46/1.46, allocations: 221.5 MB / 253.7 MB, free: 10.39 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.0009735/0.0009734, allocations: 108 kB / 308.8 MB, free: 10.45 MB / 250.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 1.819e-05/1.821e-05, allocations: 5.969 kB / 369.6 MB, free: 53.98 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1016/0.1016, allocations: 54.63 MB / 424.2 MB, free: 13.83 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.419/0.5206, allocations: 102.8 MB / 0.5147 GB, free: 12.43 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001423/0.5208, allocations: 69.73 kB / 0.5147 GB, free: 12.43 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08797/0.6088, allocations: 42.52 MB / 0.5562 GB, free: 17.15 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.423e-06/0.6088, allocations: 0 / 0.5562 GB, free: 17.15 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.386e-05/0.6089, allocations: 26.58 kB / 0.5563 GB, free: 17.15 MB / 378.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.002452/0.6113, allocations: 1.471 MB / 0.5577 GB, free: 16.17 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.7e-05/0.6114, allocations: 15.95 kB / 0.5577 GB, free: 16.16 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001073/0.6124, allocations: 358.8 kB / 0.5581 GB, free: 16.02 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001114/0.6136, allocations: 0.7415 MB / 0.5588 GB, free: 15.59 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.308e-05/0.6136, allocations: 39.19 kB / 0.5588 GB, free: 15.59 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001355/0.6138, allocations: 76.44 kB / 0.5589 GB, free: 15.59 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002762/0.6165, allocations: 2.556 MB / 0.5614 GB, free: 14.84 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002056/0.6186, allocations: 1.461 MB / 0.5628 GB, free: 13.65 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.356e-05/0.6186, allocations: 0 / 0.5628 GB, free: 13.65 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.883e-05/0.6187, allocations: 0 / 0.5628 GB, free: 13.65 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.436e-05/0.6187, allocations: 32 kB / 0.5628 GB, free: 13.62 MB / 378.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.007631/0.6264, allocations: 5.478 MB / 0.5682 GB, free: 7.977 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00212/0.6285, allocations: 1.908 MB / 0.5701 GB, free: 6.062 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001086/0.6296, allocations: 0.7895 MB / 0.5708 GB, free: 5.273 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004827/0.6301, allocations: 323.4 kB / 0.5711 GB, free: 4.969 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.282e-05/0.6301, allocations: 47.83 kB / 0.5712 GB, free: 4.91 MB / 378.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003903/0.6305, allocations: 59.12 kB / 0.5712 GB, free: 4.852 MB / 378.7 MB Notification: Performance of pre-optimization done (n=114): time 5.27e-06/0.6306, allocations: 0 / 0.5712 GB, free: 4.852 MB / 378.7 MB Notification: Performance of matching and sorting (n=146): time 0.02556/0.6561, allocations: 6.766 MB / 0.5779 GB, free: 14.05 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.919e-05/0.6562, allocations: 68.72 kB / 0.5779 GB, free: 13.97 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005702/0.6568, allocations: 458 kB / 0.5784 GB, free: 13.52 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001534/0.6569, allocations: 33.64 kB / 0.5784 GB, free: 13.48 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003042/0.6572, allocations: 491.8 kB / 0.5789 GB, free: 12.98 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004206/0.6577, allocations: 480.7 kB / 0.5793 GB, free: 12.51 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.966e-05/0.6577, allocations: 4 kB / 0.5793 GB, free: 12.5 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001775/0.6579, allocations: 394.7 kB / 0.5797 GB, free: 12.11 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00105/0.659, allocations: 0.8435 MB / 0.5805 GB, free: 11.27 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001169/0.6602, allocations: 1.07 MB / 0.5816 GB, free: 10.11 MB / 394.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.02806/0.6882, allocations: 3.937 MB / 0.5854 GB, free: 6.18 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.599e-06/0.6883, allocations: 0 / 0.5854 GB, free: 6.18 MB / 394.7 MB Notification: Performance of matching and sorting (n=182) (initialization): time 0.008474/0.6967, allocations: 2.801 MB / 0.5881 GB, free: 3.363 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.451e-05/0.6968, allocations: 4 kB / 0.5881 GB, free: 3.359 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.434e-05/0.6968, allocations: 8 kB / 0.5882 GB, free: 3.352 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004489/0.7013, allocations: 0.6632 MB / 0.5888 GB, free: 2.676 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001218/0.7026, allocations: 311.5 kB / 0.5891 GB, free: 2.371 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007871/0.7104, allocations: 5.604 MB / 0.5946 GB, free: 12.49 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001317/0.7118, allocations: 68.11 kB / 0.5946 GB, free: 12.42 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001472/0.7119, allocations: 67.95 kB / 0.5947 GB, free: 12.36 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. Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: H2O_gaseuous.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: liquidWater.z:DUMMY_STATE(unit = "1" protected = true ) "Charge number of ion" type: Real 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 (160): * Single equations (assignments): 154 * 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.000341/0.7123, allocations: 135.9 kB / 0.5948 GB, free: 12.22 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001728/0.7125, allocations: 90.97 kB / 0.5949 GB, free: 12.13 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009685/0.7222, allocations: 2.902 MB / 0.5978 GB, free: 9.199 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009026/0.7312, allocations: 2.612 MB / 0.6003 GB, free: 6.57 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.08e-05/0.7313, allocations: 4 kB / 0.6003 GB, free: 6.566 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.574e-05/0.7313, allocations: 7.969 kB / 0.6003 GB, free: 6.559 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01304/0.7443, allocations: 5.315 MB / 0.6055 GB, free: 1.152 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.139e-05/0.7444, allocations: 4 kB / 0.6055 GB, free: 1.148 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001148/0.7455, allocations: 243.7 kB / 0.6057 GB, free: 0.9102 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006356/0.7519, allocations: 0.7642 MB / 0.6065 GB, free: 140 kB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002695/0.7522, allocations: 27.97 kB / 0.6065 GB, free: 112 kB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00927/0.7615, allocations: 5.78 MB / 0.6122 GB, free: 10.05 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.004578/0.7661, allocations: 2.011 MB / 0.6141 GB, free: 7.914 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01112/0.7772, allocations: 4.322 MB / 0.6183 GB, free: 3.422 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004902/0.7778, allocations: 164.1 kB / 0.6185 GB, free: 3.242 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001704/0.778, allocations: 15.97 kB / 0.6185 GB, free: 3.227 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007852/0.7787, allocations: 48.2 kB / 0.6186 GB, free: 3.18 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002867/0.779, allocations: 129 kB / 0.6187 GB, free: 3.055 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001002/0.7791, allocations: 55.97 kB / 0.6187 GB, free: 3 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.000457/0.7796, allocations: 342.9 kB / 0.6191 GB, free: 2.664 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.7796, allocations: 0 / 0.6191 GB, free: 2.664 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002318/0.7819, allocations: 0.6831 MB / 0.6197 GB, free: 1.98 MB / 426.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 (136): * Single equations (assignments): 132 * 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.001312/0.7833, allocations: 0.6957 MB / 0.6204 GB, free: 1.309 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.003301/0.7866, allocations: 2.279 MB / 0.6226 GB, free: 15.01 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.849e-06/0.7866, allocations: 0 / 0.6226 GB, free: 15.01 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001831/0.7884, allocations: 1.344 MB / 0.6239 GB, free: 13.65 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001043/0.7895, allocations: 163.1 kB / 0.6241 GB, free: 13.48 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003411/0.7929, allocations: 2.114 MB / 0.6262 GB, free: 11.3 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000809/0.7937, allocations: 1.143 MB / 0.6273 GB, free: 10.12 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0007975/0.7946, allocations: 175.5 kB / 0.6274 GB, free: 9.945 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002801/0.7948, allocations: 107.4 kB / 0.6276 GB, free: 9.84 MB / 442.7 MB Notification: Performance of SimCode: time 7.02e-07/0.7948, allocations: 0 / 0.6276 GB, free: 9.84 MB / 442.7 MB Notification: Performance of Templates: time 0.03965/0.8345, allocations: 24.63 MB / 0.6516 GB, free: 1.34 MB / 458.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)