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/ModelicaServices 4.0.0+maint.om/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/Chemical 1.4.0-master/package.mo", uses=false) Using package Chemical with version 1.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009429/0.0009433, allocations: 99.55 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009279/0.0009279, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.345/1.345, allocations: 223.2 MB / 239.9 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0-master/package.mo): time 0.2262/0.2262, allocations: 15.25 MB / 306.2 MB, free: 15.73 MB / 254.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.0003233/0.0003234, allocations: 12 kB / 371.4 MB, free: 3.98 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3182/0.3186, allocations: 54.62 MB / 426 MB, free: 40.06 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Chemical.Examples.WaterVaporization): time 0.005693/0.3243, allocations: 5.907 MB / 431.9 MB, free: 39.01 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01216/0.3365, allocations: 12.44 MB / 444.3 MB, free: 30.11 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001179/0.3378, allocations: 24.56 kB / 444.3 MB, free: 30.1 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008754/0.3386, allocations: 312.6 kB / 444.7 MB, free: 29.94 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002658/0.3413, allocations: 1.178 MB / 445.8 MB, free: 29.15 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005337/0.3467, allocations: 1.74 MB / 447.6 MB, free: 28.09 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00156/0.3482, allocations: 1.066 MB / 448.6 MB, free: 27.53 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007561/0.349, allocations: 0.7689 MB / 449.4 MB, free: 27.21 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006231/0.3496, allocations: 0.5611 MB / 450 MB, free: 26.98 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000719/0.3504, allocations: 0.7221 MB / 450.7 MB, free: 26.7 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001239/0.3505, allocations: 75.84 kB / 450.8 MB, free: 26.7 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004119/0.3546, allocations: 1.618 MB / 452.4 MB, free: 26.41 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001931/0.3548, allocations: 257.7 kB / 452.6 MB, free: 26.27 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002034/0.355, allocations: 266.7 kB / 452.9 MB, free: 26.13 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002326/0.3574, allocations: 1.9 MB / 454.8 MB, free: 25.52 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.815e-06/0.3574, allocations: 0 / 454.8 MB, free: 25.52 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.914e-06/0.3574, allocations: 0 / 454.8 MB, free: 25.52 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.422e-05/0.3574, allocations: 0 / 454.8 MB, free: 25.52 MB / 350.1 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.002393/0.3598, allocations: 1.57 MB / 456.4 MB, free: 24.53 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.135e-05/0.3599, allocations: 9.438 kB / 456.4 MB, free: 24.53 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001154/0.361, allocations: 308.4 kB / 456.7 MB, free: 24.44 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007279/0.3618, allocations: 0.609 MB / 457.3 MB, free: 23.99 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.724e-05/0.3618, allocations: 96.78 kB / 457.4 MB, free: 23.95 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001594/0.362, allocations: 130.4 kB / 457.5 MB, free: 23.9 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001875/0.3639, allocations: 1.511 MB / 459 MB, free: 23.27 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.35e-05/0.3639, allocations: 0 / 459 MB, free: 23.27 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001042/0.364, allocations: 54.88 kB / 459.1 MB, free: 23.23 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.807e-05/0.3641, allocations: 35.52 kB / 459.1 MB, free: 23.23 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002483/0.3666, allocations: 1.852 MB / 461 MB, free: 22.64 MB / 350.1 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.005985/0.3725, allocations: 4.578 MB / 465.5 MB, free: 19.86 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001865/0.3744, allocations: 1.343 MB / 466.9 MB, free: 19.25 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005454/0.3799, allocations: 4.465 MB / 471.3 MB, free: 15.81 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.843e-05/0.3799, allocations: 42.61 kB / 471.4 MB, free: 15.76 MB / 350.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003271/0.3803, allocations: 78.92 kB / 471.5 MB, free: 15.7 MB / 350.1 MB Notification: Performance of pre-optimization done (n=82): time 2.485e-06/0.3803, allocations: 1.469 kB / 471.5 MB, free: 15.7 MB / 350.1 MB Notification: Performance of matching and sorting (n=101): time 0.01962/0.3999, allocations: 4.385 MB / 475.8 MB, free: 13.98 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.562e-05/0.4, allocations: 62.25 kB / 475.9 MB, free: 13.92 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008889/0.4009, allocations: 0.5785 MB / 476.5 MB, free: 13.65 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 9.441e-05/0.401, allocations: 41.83 kB / 476.5 MB, free: 13.61 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000375/0.4014, allocations: 0.5798 MB / 477.1 MB, free: 13.14 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000311/0.4017, allocations: 349.5 kB / 477.4 MB, free: 12.87 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.566e-05/0.4018, allocations: 25.34 kB / 477.5 MB, free: 12.85 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001645/0.4019, allocations: 396 kB / 477.9 MB, free: 12.5 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006969/0.4026, allocations: 407.6 kB / 478.3 MB, free: 12.35 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009054/0.4036, allocations: 0.7708 MB / 479 MB, free: 11.73 MB / 350.1 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.02452/0.4281, allocations: 3.372 MB / 482.4 MB, free: 10.98 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.136e-06/0.4281, allocations: 7.875 kB / 482.4 MB, free: 10.98 MB / 350.1 MB Notification: Performance of matching and sorting (n=159) (initialization): time 0.005659/0.4338, allocations: 1.77 MB / 484.2 MB, free: 10.32 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.582e-05/0.4338, allocations: 11.97 kB / 484.2 MB, free: 10.32 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.759e-05/0.4338, allocations: 12.12 kB / 484.2 MB, free: 10.32 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003767/0.4376, allocations: 489.6 kB / 484.7 MB, free: 10.21 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008654/0.4385, allocations: 300.9 kB / 485 MB, free: 9.957 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006162/0.4447, allocations: 4.357 MB / 489.3 MB, free: 5.375 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009516/0.4456, allocations: 76.02 kB / 489.4 MB, free: 5.301 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.618e-05/0.4457, allocations: 67.98 kB / 489.5 MB, free: 5.234 MB / 350.1 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: 53 * 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 (143): * Single equations (assignments): 141 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 13} * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0004501/0.4462, allocations: 281.5 kB / 489.7 MB, free: 4.949 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001271/0.4463, allocations: 86.88 kB / 489.8 MB, free: 4.863 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006099/0.4524, allocations: 1.766 MB / 491.6 MB, free: 3.074 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.666e-06/0.4525, allocations: 8 kB / 491.6 MB, free: 3.066 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.4525, allocations: 4 kB / 491.6 MB, free: 3.062 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.239e-05/0.4525, allocations: 7.938 kB / 491.6 MB, free: 3.055 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007465/0.46, allocations: 3.091 MB / 494.7 MB, free: 15.85 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.362e-06/0.46, allocations: 0 / 494.7 MB, free: 15.85 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007023/0.4607, allocations: 199.7 kB / 494.9 MB, free: 15.65 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004626/0.4654, allocations: 0.5527 MB / 495.5 MB, free: 15.09 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001013/0.4655, allocations: 35.98 kB / 495.5 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00737/0.4729, allocations: 5.362 MB / 0.4891 GB, free: 9.289 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.4729, allocations: 0 / 0.4891 GB, free: 9.289 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007003/0.4799, allocations: 2.416 MB / 0.4915 GB, free: 6.754 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003096/0.4802, allocations: 156.2 kB / 0.4916 GB, free: 6.582 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001241/0.4804, allocations: 31.94 kB / 0.4917 GB, free: 6.551 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005487/0.4809, allocations: 55.81 kB / 0.4917 GB, free: 6.496 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002075/0.4811, allocations: 96.94 kB / 0.4918 GB, free: 6.402 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.44e-05/0.4812, allocations: 43.98 kB / 0.4918 GB, free: 6.359 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004448/0.4817, allocations: 383.1 kB / 0.4922 GB, free: 5.992 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.71e-07/0.4817, allocations: 8 kB / 0.4922 GB, free: 5.984 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001802/0.4835, allocations: 0.5856 MB / 0.4928 GB, free: 5.398 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * 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 (100): * Single equations (assignments): 97 * 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: 3 * 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: 2 {1 1,2 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.001105/0.4846, allocations: 0.6049 MB / 0.4934 GB, free: 4.785 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002549/0.4872, allocations: 1.437 MB / 0.4948 GB, free: 3.324 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 6.763e-06/0.4872, allocations: 4.312 kB / 0.4948 GB, free: 3.32 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001329/0.4885, allocations: 0.9901 MB / 0.4958 GB, free: 2.293 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008746/0.4894, allocations: 187.3 kB / 0.4959 GB, free: 2.109 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003416/0.4928, allocations: 2.719 MB / 0.4986 GB, free: 15.32 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000622/0.4935, allocations: 1.102 MB / 0.4997 GB, free: 14.2 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0008731/0.4944, allocations: 227.3 kB / 0.4999 GB, free: 13.97 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002915/0.4947, allocations: 155.3 kB / 0.5 GB, free: 13.82 MB / 382.1 MB Notification: Performance of SimCode: time 3.5e-07/0.4947, allocations: 0 / 0.5 GB, free: 13.82 MB / 382.1 MB Notification: Performance of Templates: time 0.0319/0.5266, allocations: 20.93 MB / 0.5205 GB, free: 8.969 MB / 398.1 MB make -j1 -f Chemical_Chemical.Examples.WaterVaporization.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: