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.1-master/package.mo", uses=false) Using package Chemical with version 1.4.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-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.001513/0.001513, allocations: 104.9 kB / 16.4 MB, free: 6.457 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.001781/0.001781, allocations: 189.7 kB / 17.34 MB, free: 5.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.392/1.392, allocations: 222.9 MB / 241 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo): time 0.07909/0.07909, allocations: 15.31 MB / 306.5 MB, free: 15.4 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001177/0.001177, allocations: 71.89 kB / 425.8 MB, free: 11.44 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1001/0.1013, allocations: 53.61 MB / 479.5 MB, free: 5.777 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Chemical.Examples.WaterVaporization): time 0.008164/0.1095, allocations: 6.529 MB / 486 MB, free: 15.21 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01689/0.1265, allocations: 14.57 MB / 0.4888 GB, free: 0.5898 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001104/0.1276, allocations: 11.94 kB / 0.4888 GB, free: 0.5781 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001352/0.129, allocations: 345.3 kB / 0.4892 GB, free: 244 kB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003828/0.1329, allocations: 1.105 MB / 0.4902 GB, free: 15.12 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005729/0.1387, allocations: 1.949 MB / 0.4922 GB, free: 13.16 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002538/0.1412, allocations: 1.607 MB / 0.4937 GB, free: 11.55 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001463/0.1427, allocations: 0.9742 MB / 0.4947 GB, free: 10.54 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001183/0.1439, allocations: 0.7558 MB / 0.4954 GB, free: 9.785 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001497/0.1454, allocations: 0.8368 MB / 0.4962 GB, free: 8.945 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004095/0.1459, allocations: 152 kB / 0.4964 GB, free: 8.797 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005031/0.1509, allocations: 1.459 MB / 0.4978 GB, free: 7.336 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005103/0.1514, allocations: 343 kB / 0.4981 GB, free: 7 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001299/0.1527, allocations: 0.7428 MB / 0.4988 GB, free: 6.254 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00784/0.1606, allocations: 3.099 MB / 0.5019 GB, free: 3.145 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.765e-06/0.1606, allocations: 4 kB / 0.5019 GB, free: 3.141 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.1606, allocations: 0 / 0.5019 GB, free: 3.141 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.047e-05/0.1607, allocations: 4 kB / 0.5019 GB, free: 3.137 MB / 382.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.004047/0.1648, allocations: 1.845 MB / 0.5037 GB, free: 1.238 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.323e-05/0.1648, allocations: 12.03 kB / 0.5037 GB, free: 1.227 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001544/0.1664, allocations: 311 kB / 0.504 GB, free: 0.9219 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001333/0.1677, allocations: 0.6724 MB / 0.5046 GB, free: 216 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.966e-05/0.1678, allocations: 98.94 kB / 0.5047 GB, free: 116 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.2327/0.4006, allocations: 134.4 kB / 0.5049 GB, free: 35.02 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003329/0.4039, allocations: 1.521 MB / 0.5064 GB, free: 34.78 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.62e-05/0.404, allocations: 2.156 kB / 0.5064 GB, free: 34.78 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001056/0.4041, allocations: 51.38 kB / 0.5064 GB, free: 34.74 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.349e-05/0.4041, allocations: 30.62 kB / 0.5064 GB, free: 34.74 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002912/0.4071, allocations: 1.852 MB / 0.5082 GB, free: 34.16 MB / 382.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.006948/0.414, allocations: 4.614 MB / 0.5128 GB, free: 31.57 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001999/0.4161, allocations: 1.35 MB / 0.5141 GB, free: 30.98 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007743/0.4168, allocations: 0.5322 MB / 0.5146 GB, free: 30.75 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006048/0.4229, allocations: 4.594 MB / 0.5191 GB, free: 27.35 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.309e-05/0.423, allocations: 39.2 kB / 0.5191 GB, free: 27.3 MB / 382.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003269/0.4233, allocations: 82.05 kB / 0.5192 GB, free: 27.25 MB / 382.1 MB Notification: Performance of pre-optimization done (n=82): time 2.755e-06/0.4233, allocations: 0 / 0.5192 GB, free: 27.25 MB / 382.1 MB Notification: Performance of matching and sorting (n=100): time 0.01793/0.4412, allocations: 4.336 MB / 0.5234 GB, free: 25.58 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.958e-05/0.4413, allocations: 61.44 kB / 0.5235 GB, free: 25.52 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007839/0.4421, allocations: 0.5756 MB / 0.524 GB, free: 25.25 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001013/0.4422, allocations: 44.64 kB / 0.5241 GB, free: 25.21 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002716/0.4425, allocations: 0.5779 MB / 0.5247 GB, free: 24.75 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002189/0.4427, allocations: 350.3 kB / 0.525 GB, free: 24.48 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003353/0.4431, allocations: 240.6 kB / 0.5252 GB, free: 24.37 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001251/0.4432, allocations: 395.8 kB / 0.5256 GB, free: 24.02 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006636/0.4439, allocations: 417.6 kB / 0.526 GB, free: 23.87 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000884/0.4448, allocations: 0.7749 MB / 0.5267 GB, free: 23.25 MB / 382.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: gas.temperature = gas.temperature_start (liquid.temperature_start = gas.temperature_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.0228/0.4676, allocations: 4.544 MB / 0.5312 GB, free: 20.89 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.081e-06/0.4676, allocations: 0 / 0.5312 GB, free: 20.89 MB / 382.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.004899/0.4725, allocations: 1.776 MB / 0.5329 GB, free: 19.97 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.225e-05/0.4726, allocations: 14.47 kB / 0.5329 GB, free: 19.97 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.886e-05/0.4726, allocations: 12.02 kB / 0.5329 GB, free: 19.97 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003279/0.4759, allocations: 476.6 kB / 0.5334 GB, free: 19.76 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000935/0.4769, allocations: 296.7 kB / 0.5337 GB, free: 19.69 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006069/0.4829, allocations: 4.392 MB / 0.538 GB, free: 15.55 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009353/0.4839, allocations: 43.98 kB / 0.538 GB, free: 15.51 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001104/0.484, allocations: 71.98 kB / 0.5381 GB, free: 15.44 MB / 382.1 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: gas.temperature = gas.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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.000498/0.4845, allocations: 276.3 kB / 0.5383 GB, free: 15.16 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002118/0.4848, allocations: 86.91 kB / 0.5384 GB, free: 15.08 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005633/0.4904, allocations: 1.761 MB / 0.5401 GB, free: 13.31 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.206e-05/0.4904, allocations: 11.94 kB / 0.5402 GB, free: 13.3 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.003e-06/0.4905, allocations: 7.938 kB / 0.5402 GB, free: 13.29 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.71e-05/0.4905, allocations: 3.984 kB / 0.5402 GB, free: 13.29 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006935/0.4974, allocations: 2.937 MB / 0.543 GB, free: 10.26 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.037e-05/0.4975, allocations: 4 kB / 0.543 GB, free: 10.26 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000661/0.4981, allocations: 199.7 kB / 0.5432 GB, free: 10.06 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00416/0.5023, allocations: 0.5318 MB / 0.5438 GB, free: 9.523 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001287/0.5025, allocations: 35.98 kB / 0.5438 GB, free: 9.488 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006208/0.5087, allocations: 5.694 MB / 0.5493 GB, free: 3.395 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.5087, allocations: 0 / 0.5493 GB, free: 3.395 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00618/0.5149, allocations: 2.322 MB / 0.5516 GB, free: 1.02 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002588/0.5152, allocations: 160 kB / 0.5518 GB, free: 0.8438 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001212/0.5153, allocations: 24 kB / 0.5518 GB, free: 0.8203 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004762/0.5158, allocations: 27.98 kB / 0.5518 GB, free: 0.793 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002051/0.516, allocations: 100.8 kB / 0.5519 GB, free: 0.6953 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.639e-05/0.5161, allocations: 43.98 kB / 0.552 GB, free: 0.6523 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000382/0.5165, allocations: 387.1 kB / 0.5523 GB, free: 288 kB / 382.1 MB Notification: Performance of sort global known variables: time 6.11e-07/0.5165, allocations: 4 kB / 0.5523 GB, free: 284 kB / 382.1 MB Notification: Performance of remove unused functions: time 0.001677/0.5182, allocations: 0.5961 MB / 0.5529 GB, free: 15.73 MB / 398.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 (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (2,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001086/0.5193, allocations: 0.6265 MB / 0.5535 GB, free: 15.23 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002744/0.522, allocations: 1.437 MB / 0.5549 GB, free: 13.77 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.75e-06/0.5221, allocations: 7.938 kB / 0.5549 GB, free: 13.76 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00146/0.5235, allocations: 1.002 MB / 0.5559 GB, free: 12.72 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001153/0.5247, allocations: 212.4 kB / 0.5561 GB, free: 12.52 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003663/0.5284, allocations: 2.214 MB / 0.5583 GB, free: 10.25 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006464/0.529, allocations: 1.073 MB / 0.5593 GB, free: 9.152 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004456/0.5295, allocations: 205.9 kB / 0.5595 GB, free: 8.953 MB / 398.1 MB Notification: Performance of SimCode: time 2.204e-06/0.5295, allocations: 0 / 0.5595 GB, free: 8.953 MB / 398.1 MB Notification: Performance of Templates: time 0.03608/0.5656, allocations: 28.85 MB / 0.5877 GB, free: 12.16 MB / 430.1 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)