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.001242/0.001242, allocations: 107.8 kB / 16.41 MB, free: 6.355 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.001342/0.001342, allocations: 189.8 kB / 17.34 MB, free: 5.68 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.297/1.297, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo): time 0.077/0.077, allocations: 15.31 MB / 306.5 MB, free: 15.41 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001227/0.001227, allocations: 71.89 kB / 425.9 MB, free: 11.45 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08994/0.09118, allocations: 53.61 MB / 479.5 MB, free: 5.785 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Chemical.Examples.WaterVaporization): time 0.006601/0.09781, allocations: 6.528 MB / 486 MB, free: 15.22 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01473/0.1126, allocations: 14.56 MB / 0.4888 GB, free: 0.6055 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001004/0.1136, allocations: 11.94 kB / 0.4888 GB, free: 0.5938 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009416/0.1146, allocations: 345.3 kB / 0.4892 GB, free: 260 kB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002958/0.1176, allocations: 1.109 MB / 0.4902 GB, free: 15.14 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0049/0.1225, allocations: 1.953 MB / 0.4922 GB, free: 13.17 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002191/0.1247, allocations: 1.595 MB / 0.4937 GB, free: 11.57 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001125/0.1259, allocations: 0.9819 MB / 0.4947 GB, free: 10.55 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008301/0.1267, allocations: 0.7597 MB / 0.4954 GB, free: 9.793 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009636/0.1277, allocations: 0.8408 MB / 0.4962 GB, free: 8.949 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000199/0.1279, allocations: 148 kB / 0.4964 GB, free: 8.805 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003972/0.1319, allocations: 1.459 MB / 0.4978 GB, free: 7.344 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003428/0.1322, allocations: 342.9 kB / 0.4981 GB, free: 7.008 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007481/0.133, allocations: 0.7467 MB / 0.4989 GB, free: 6.258 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006506/0.1395, allocations: 3.114 MB / 0.5019 GB, free: 3.133 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.1395, allocations: 0 / 0.5019 GB, free: 3.133 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.767e-06/0.1396, allocations: 4 kB / 0.5019 GB, free: 3.129 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.918e-05/0.1396, allocations: 0 / 0.5019 GB, free: 3.129 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.003052/0.1426, allocations: 1.833 MB / 0.5037 GB, free: 1.242 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.039e-05/0.1427, allocations: 12.03 kB / 0.5037 GB, free: 1.23 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001255/0.144, allocations: 315 kB / 0.504 GB, free: 0.9219 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009953/0.145, allocations: 0.6763 MB / 0.5047 GB, free: 212 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.531e-05/0.145, allocations: 102.9 kB / 0.5048 GB, free: 108 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.2447/0.3897, allocations: 133.5 kB / 0.5049 GB, free: 34.99 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00309/0.3929, allocations: 1.518 MB / 0.5064 GB, free: 34.76 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.755e-05/0.3929, allocations: 0.8438 kB / 0.5064 GB, free: 34.76 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001097/0.393, allocations: 50.25 kB / 0.5064 GB, free: 34.72 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.644e-05/0.3931, allocations: 35.22 kB / 0.5065 GB, free: 34.72 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002785/0.3959, allocations: 1.857 MB / 0.5083 GB, free: 34.14 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.006595/0.4025, allocations: 4.61 MB / 0.5128 GB, free: 31.55 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001829/0.4043, allocations: 1.344 MB / 0.5141 GB, free: 30.96 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000747/0.4051, allocations: 0.53 MB / 0.5146 GB, free: 30.74 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005673/0.4108, allocations: 4.595 MB / 0.5191 GB, free: 27.34 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.266e-05/0.4108, allocations: 39.06 kB / 0.5191 GB, free: 27.29 MB / 382.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003291/0.4111, allocations: 79.61 kB / 0.5192 GB, free: 27.24 MB / 382.1 MB Notification: Performance of pre-optimization done (n=82): time 2.635e-06/0.4112, allocations: 0 / 0.5192 GB, free: 27.24 MB / 382.1 MB Notification: Performance of matching and sorting (n=100): time 0.01849/0.4297, allocations: 4.335 MB / 0.5234 GB, free: 25.57 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.414e-05/0.4297, allocations: 61.75 kB / 0.5235 GB, free: 25.5 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007304/0.4305, allocations: 0.577 MB / 0.5241 GB, free: 25.24 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001022/0.4306, allocations: 41.73 kB / 0.5241 GB, free: 25.2 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002491/0.4308, allocations: 0.585 MB / 0.5247 GB, free: 24.74 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001992/0.431, allocations: 349.3 kB / 0.525 GB, free: 24.47 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002895/0.4313, allocations: 236.3 kB / 0.5252 GB, free: 24.36 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.531e-05/0.4314, allocations: 399.2 kB / 0.5256 GB, free: 24.01 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006031/0.432, allocations: 413.9 kB / 0.526 GB, free: 23.86 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007672/0.4328, allocations: 0.774 MB / 0.5268 GB, free: 23.24 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.02294/0.4558, allocations: 4.545 MB / 0.5312 GB, free: 20.88 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.711e-06/0.4558, allocations: 3.938 kB / 0.5312 GB, free: 20.88 MB / 382.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.004951/0.4608, allocations: 1.775 MB / 0.5329 GB, free: 19.96 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.242e-05/0.4608, allocations: 11.81 kB / 0.5329 GB, free: 19.96 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.59e-05/0.4608, allocations: 12.75 kB / 0.533 GB, free: 19.96 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003443/0.4643, allocations: 480.7 kB / 0.5334 GB, free: 19.74 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008764/0.4652, allocations: 290.6 kB / 0.5337 GB, free: 19.68 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005832/0.471, allocations: 4.39 MB / 0.538 GB, free: 15.51 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008383/0.4719, allocations: 44.55 kB / 0.538 GB, free: 15.46 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.447e-05/0.472, allocations: 67.98 kB / 0.5381 GB, free: 15.4 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.0004581/0.4725, allocations: 281.4 kB / 0.5384 GB, free: 15.11 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001847/0.4726, allocations: 85.52 kB / 0.5384 GB, free: 15.03 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005883/0.4785, allocations: 1.76 MB / 0.5402 GB, free: 13.26 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.448e-06/0.4786, allocations: 11.94 kB / 0.5402 GB, free: 13.25 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.833e-06/0.4786, allocations: 4 kB / 0.5402 GB, free: 13.25 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.448e-05/0.4786, allocations: 11.92 kB / 0.5402 GB, free: 13.23 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006976/0.4856, allocations: 2.937 MB / 0.543 GB, free: 10.21 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.394e-06/0.4856, allocations: 4 kB / 0.5431 GB, free: 10.21 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006418/0.4863, allocations: 199.7 kB / 0.5432 GB, free: 10.01 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004402/0.4907, allocations: 0.533 MB / 0.5438 GB, free: 9.473 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001539/0.4909, allocations: 39.98 kB / 0.5438 GB, free: 9.434 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006227/0.4971, allocations: 5.693 MB / 0.5494 GB, free: 3.344 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.567e-06/0.4971, allocations: 0.875 kB / 0.5494 GB, free: 3.344 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006319/0.5035, allocations: 2.319 MB / 0.5516 GB, free: 0.9688 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002633/0.5038, allocations: 160 kB / 0.5518 GB, free: 0.793 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001243/0.5039, allocations: 20 kB / 0.5518 GB, free: 0.7734 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004955/0.5044, allocations: 27.98 kB / 0.5518 GB, free: 0.7461 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002395/0.5046, allocations: 100.8 kB / 0.5519 GB, free: 0.6484 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.451e-05/0.5047, allocations: 43.98 kB / 0.552 GB, free: 0.6055 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003748/0.5051, allocations: 395.1 kB / 0.5523 GB, free: 232 kB / 382.1 MB Notification: Performance of sort global known variables: time 2e-07/0.5051, allocations: 0 / 0.5523 GB, free: 232 kB / 382.1 MB Notification: Performance of remove unused functions: time 0.001636/0.5068, allocations: 0.5922 MB / 0.5529 GB, free: 15.69 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.001107/0.5079, allocations: 0.6348 MB / 0.5535 GB, free: 15.18 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002479/0.5104, allocations: 1.432 MB / 0.5549 GB, free: 13.73 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 6.051e-06/0.5104, allocations: 0 / 0.5549 GB, free: 13.73 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001343/0.5117, allocations: 1.01 MB / 0.5559 GB, free: 12.68 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001137/0.5129, allocations: 221.6 kB / 0.5561 GB, free: 12.47 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003523/0.5164, allocations: 2.213 MB / 0.5583 GB, free: 10.21 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006826/0.5171, allocations: 1.069 MB / 0.5593 GB, free: 9.109 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004599/0.5176, allocations: 211.3 kB / 0.5595 GB, free: 8.902 MB / 398.1 MB Notification: Performance of SimCode: time 9.52e-07/0.5176, allocations: 0 / 0.5595 GB, free: 8.902 MB / 398.1 MB Notification: Performance of Templates: time 0.03416/0.5518, allocations: 28.95 MB / 0.5878 GB, free: 12 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)