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: "" <> buildModelFMU(Chemical.Examples.WaterVaporization,fileNamePrefix="Chemical_Chemical_Examples_WaterVaporization",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Examples.WaterVaporization,fileNamePrefix="Chemical_Chemical_Examples_WaterVaporization",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0-master/package.mo): time 0.07699/0.07699, allocations: 15.26 MB / 22.73 MB, free: 0.9414 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.000956/0.000956, allocations: 188.9 kB / 27.52 MB, free: 6.105 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.23/1.23, 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.0007872/0.0007872, allocations: 90.52 kB / 308.7 MB, free: 10.44 MB / 250.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 1.435e-05/1.446e-05, allocations: 2.688 kB / 369.7 MB, free: 53.95 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07482/0.07484, allocations: 54.64 MB / 424.3 MB, free: 13.7 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.322/0.3969, allocations: 102.8 MB / 0.5147 GB, free: 12.29 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001488/0.397, allocations: 64.83 kB / 0.5148 GB, free: 12.29 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08197/0.479, allocations: 42.53 MB / 0.5563 GB, free: 17 MB / 378.7 MB Notification: Performance of FrontEnd: time 9.22e-07/0.4791, allocations: 0 / 0.5563 GB, free: 17 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.959e-05/0.4791, allocations: 23.03 kB / 0.5564 GB, free: 17 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.002131/0.4812, allocations: 1.483 MB / 0.5578 GB, free: 16.01 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.439e-05/0.4813, allocations: 11.73 kB / 0.5578 GB, free: 16.01 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009891/0.4823, allocations: 362.6 kB / 0.5582 GB, free: 15.86 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009989/0.4833, allocations: 0.7383 MB / 0.5589 GB, free: 15.43 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.868e-05/0.4833, allocations: 46.58 kB / 0.5589 GB, free: 15.43 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001253/0.4835, allocations: 73.5 kB / 0.559 GB, free: 15.43 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002507/0.486, allocations: 2.558 MB / 0.5615 GB, free: 14.76 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001923/0.4879, allocations: 1.457 MB / 0.5629 GB, free: 13.48 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.163e-05/0.4879, allocations: 0 / 0.5629 GB, free: 13.48 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.635e-05/0.488, allocations: 0 / 0.5629 GB, free: 13.48 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.301e-05/0.488, allocations: 32 kB / 0.563 GB, free: 13.45 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.0071/0.4951, allocations: 5.482 MB / 0.5683 GB, free: 7.812 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002116/0.4973, allocations: 1.906 MB / 0.5702 GB, free: 5.898 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008591/0.4981, allocations: 0.7895 MB / 0.5709 GB, free: 5.109 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004096/0.4986, allocations: 323.9 kB / 0.5712 GB, free: 4.801 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.082e-05/0.4986, allocations: 47.83 kB / 0.5713 GB, free: 4.742 MB / 378.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0002909/0.4989, allocations: 59.12 kB / 0.5713 GB, free: 4.684 MB / 378.7 MB Notification: Performance of pre-optimization done (n=114): time 2.565e-06/0.4989, allocations: 0 / 0.5713 GB, free: 4.684 MB / 378.7 MB Notification: Performance of matching and sorting (n=146): time 0.02376/0.5227, allocations: 6.771 MB / 0.578 GB, free: 13.88 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.143e-05/0.5227, allocations: 64.72 kB / 0.578 GB, free: 13.8 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004948/0.5232, allocations: 458 kB / 0.5785 GB, free: 13.35 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 6.972e-05/0.5233, allocations: 25.7 kB / 0.5785 GB, free: 13.32 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002553/0.5236, allocations: 495.8 kB / 0.579 GB, free: 12.82 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003185/0.5239, allocations: 480.7 kB / 0.5794 GB, free: 12.34 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.838e-05/0.524, allocations: 4 kB / 0.5794 GB, free: 12.34 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001504/0.5241, allocations: 394.7 kB / 0.5798 GB, free: 11.95 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009601/0.5251, allocations: 0.8435 MB / 0.5806 GB, free: 11.1 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001089/0.5262, allocations: 1.07 MB / 0.5817 GB, free: 9.949 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.02727/0.5535, allocations: 3.937 MB / 0.5855 GB, free: 6.016 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/0.5535, allocations: 0 / 0.5855 GB, free: 6.016 MB / 394.7 MB Notification: Performance of matching and sorting (n=182) (initialization): time 0.007803/0.5613, allocations: 2.794 MB / 0.5882 GB, free: 3.203 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.151e-05/0.5613, allocations: 8 kB / 0.5882 GB, free: 3.195 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.486e-05/0.5614, allocations: 8 kB / 0.5883 GB, free: 3.188 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004235/0.5656, allocations: 0.6631 MB / 0.5889 GB, free: 2.512 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00109/0.5667, allocations: 299.6 kB / 0.5892 GB, free: 2.219 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007243/0.574, allocations: 5.605 MB / 0.5947 GB, free: 12.34 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009682/0.5749, allocations: 67.92 kB / 0.5947 GB, free: 12.27 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001151/0.5751, allocations: 71.89 kB / 0.5948 GB, free: 12.2 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.0002602/0.5753, allocations: 129.8 kB / 0.5949 GB, free: 12.07 MB / 410.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.008637/0.584, allocations: 2.754 MB / 0.5976 GB, free: 9.293 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001598/0.5842, allocations: 94.91 kB / 0.5977 GB, free: 9.199 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008854/0.593, allocations: 2.902 MB / 0.6005 GB, free: 6.27 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00802/0.6011, allocations: 2.596 MB / 0.6031 GB, free: 3.66 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.203e-06/0.6011, allocations: 4 kB / 0.6031 GB, free: 3.656 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.66e-05/0.6011, allocations: 7.969 kB / 0.6031 GB, free: 3.648 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01145/0.6126, allocations: 5.319 MB / 0.6083 GB, free: 14.23 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.454e-06/0.6126, allocations: 7.938 kB / 0.6083 GB, free: 14.23 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008534/0.6134, allocations: 252.1 kB / 0.6085 GB, free: 13.98 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005636/0.6191, allocations: 0.7695 MB / 0.6093 GB, free: 13.2 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.537e-05/0.6192, allocations: 23.92 kB / 0.6093 GB, free: 13.18 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007988/0.6272, allocations: 5.781 MB / 0.6149 GB, free: 7.117 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.004163/0.6313, allocations: 2.027 MB / 0.6169 GB, free: 4.969 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00978/0.6411, allocations: 4.318 MB / 0.6211 GB, free: 492 kB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002155/0.6414, allocations: 168 kB / 0.6213 GB, free: 304 kB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001284/0.6415, allocations: 8 kB / 0.6213 GB, free: 296 kB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006888/0.6422, allocations: 51.8 kB / 0.6214 GB, free: 244 kB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001743/0.6424, allocations: 121 kB / 0.6215 GB, free: 124 kB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.69e-05/0.6425, allocations: 55.97 kB / 0.6215 GB, free: 68 kB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0003667/0.6428, allocations: 343.8 kB / 0.6218 GB, free: 15.73 MB / 442.7 MB Notification: Performance of sort global known variables: time 2.3e-07/0.6429, allocations: 4 kB / 0.6219 GB, free: 15.73 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001653/0.6445, allocations: 0.6831 MB / 0.6225 GB, free: 15.05 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 (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.01111/0.6556, allocations: 6.483 MB / 0.6289 GB, free: 8.461 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.002744/0.6584, allocations: 2.268 MB / 0.6311 GB, free: 6.176 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.624e-06/0.6584, allocations: 0 / 0.6311 GB, free: 6.176 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001569/0.66, allocations: 1.34 MB / 0.6324 GB, free: 4.816 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008287/0.6608, allocations: 169.8 kB / 0.6325 GB, free: 4.648 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003517/0.6643, allocations: 2.427 MB / 0.6349 GB, free: 2.125 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006495/0.665, allocations: 1.143 MB / 0.636 GB, free: 0.9531 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0006816/0.6657, allocations: 179.5 kB / 0.6362 GB, free: 0.7734 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000584/0.6663, allocations: 487.2 kB / 0.6367 GB, free: 304 kB / 442.7 MB Notification: Performance of SimCode: time 3.3e-07/0.6663, allocations: 0 / 0.6367 GB, free: 304 kB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2425/0.9088, allocations: 33.56 MB / 0.6694 GB, free: 132.2 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001248/0.909, allocations: 113.8 kB / 0.6695 GB, free: 132 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.889/3.798, allocations: 0 / 0.6695 GB, free: 132 MB / 474.7 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Chemical_Chemical_Examples_WaterVaporization_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-08 Chemical_Chemical_Examples_WaterVaporization.fmu > Chemical_Chemical.Examples.WaterVaporization.pipe 2>&1)