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.001139/0.001139, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.00136/0.00136, allocations: 188.2 kB / 16.13 MB, free: 6.66 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.474/1.474, allocations: 222.9 MB / 239.8 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo): time 0.2573/0.2573, allocations: 15.31 MB / 305.3 MB, free: 15.3 MB / 254.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.001228/0.001228, allocations: 63.91 kB / 369.7 MB, free: 4.449 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1159/0.1172, allocations: 53.61 MB / 423.3 MB, free: 14.79 MB / 366.1 MB Notification: Performance of NFInst.instantiate(Chemical.Examples.WaterVaporization): time 0.008749/0.126, allocations: 7.389 MB / 430.7 MB, free: 7.359 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.2296/0.3556, allocations: 14.55 MB / 445.2 MB, free: 41.65 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00115/0.3568, allocations: 26.38 kB / 445.2 MB, free: 41.65 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001006/0.3578, allocations: 300.3 kB / 445.5 MB, free: 41.64 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00287/0.3607, allocations: 0.9923 MB / 446.5 MB, free: 41.61 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004899/0.3657, allocations: 1.705 MB / 448.2 MB, free: 41.31 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001936/0.3676, allocations: 1.53 MB / 449.7 MB, free: 40.93 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009685/0.3686, allocations: 0.8359 MB / 450.6 MB, free: 40.82 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000829/0.3694, allocations: 0.7336 MB / 451.3 MB, free: 40.71 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000905/0.3704, allocations: 0.8121 MB / 452.1 MB, free: 40.56 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002021/0.3706, allocations: 99.28 kB / 452.2 MB, free: 40.56 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004744/0.3753, allocations: 1.434 MB / 453.7 MB, free: 40.41 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004339/0.3758, allocations: 292.9 kB / 453.9 MB, free: 40.36 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008464/0.3767, allocations: 0.7001 MB / 454.6 MB, free: 40.16 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006108/0.3828, allocations: 2.919 MB / 457.6 MB, free: 39.53 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.193e-06/0.3828, allocations: 3.25 kB / 457.6 MB, free: 39.53 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.3828, allocations: 4 kB / 457.6 MB, free: 39.53 MB / 366.1 MB Notification: Performance of Transformations before backend: time 3.156e-05/0.3829, allocations: 0 / 457.6 MB, free: 39.53 MB / 366.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.003184/0.3861, allocations: 1.829 MB / 459.4 MB, free: 38.41 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.096e-05/0.3861, allocations: 13.38 kB / 459.4 MB, free: 38.4 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001296/0.3874, allocations: 322.8 kB / 459.7 MB, free: 38.3 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009086/0.3883, allocations: 0.6507 MB / 460.4 MB, free: 37.86 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.091e-05/0.3884, allocations: 97.84 kB / 460.5 MB, free: 37.81 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001833/0.3886, allocations: 136.7 kB / 460.6 MB, free: 37.76 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002207/0.3908, allocations: 1.527 MB / 462.1 MB, free: 37.14 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.745e-05/0.3909, allocations: 2.938 kB / 462.1 MB, free: 37.14 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001063/0.391, allocations: 52.66 kB / 462.2 MB, free: 37.09 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.097e-05/0.391, allocations: 31.19 kB / 462.2 MB, free: 37.09 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00244/0.3935, allocations: 1.851 MB / 464.1 MB, free: 36.52 MB / 366.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.006768/0.4002, allocations: 4.639 MB / 468.7 MB, free: 33.79 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00189/0.4022, allocations: 1.345 MB / 470.1 MB, free: 33.18 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007986/0.403, allocations: 0.5292 MB / 470.6 MB, free: 32.97 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006205/0.4092, allocations: 4.603 MB / 475.2 MB, free: 29.55 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.523e-05/0.4093, allocations: 43.84 kB / 475.2 MB, free: 29.5 MB / 366.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004321/0.4097, allocations: 82.81 kB / 475.3 MB, free: 29.44 MB / 366.1 MB Notification: Performance of pre-optimization done (n=82): time 5.721e-06/0.4097, allocations: 0 / 475.3 MB, free: 29.44 MB / 366.1 MB Notification: Performance of matching and sorting (n=100): time 0.021/0.4307, allocations: 4.282 MB / 479.6 MB, free: 27.75 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.143e-05/0.4308, allocations: 66.12 kB / 479.7 MB, free: 27.68 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009411/0.4318, allocations: 0.5791 MB / 480.2 MB, free: 27.42 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001631/0.432, allocations: 49.86 kB / 480.3 MB, free: 27.37 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003393/0.4323, allocations: 0.5709 MB / 480.9 MB, free: 26.91 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003777/0.4327, allocations: 352.5 kB / 481.2 MB, free: 26.64 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004242/0.4331, allocations: 235.1 kB / 481.4 MB, free: 26.54 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001543/0.4333, allocations: 398.5 kB / 481.8 MB, free: 26.18 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008145/0.4341, allocations: 408.6 kB / 482.2 MB, free: 26.04 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001005/0.4351, allocations: 0.7737 MB / 483 MB, free: 25.42 MB / 366.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.02764/0.4628, allocations: 4.452 MB / 487.4 MB, free: 23.83 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-05/0.4628, allocations: 4.266 kB / 487.4 MB, free: 23.83 MB / 366.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.007289/0.4701, allocations: 1.757 MB / 489.2 MB, free: 23.16 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.122e-05/0.4702, allocations: 10.41 kB / 489.2 MB, free: 23.16 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.22e-05/0.4703, allocations: 11.75 kB / 489.2 MB, free: 23.16 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004119/0.4744, allocations: 465.6 kB / 489.7 MB, free: 23.09 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001293/0.4757, allocations: 293.3 kB / 490 MB, free: 23.05 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007498/0.4833, allocations: 4.085 MB / 494.1 MB, free: 19.75 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001332/0.4846, allocations: 77.95 kB / 494.1 MB, free: 19.72 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002815/0.485, allocations: 69.59 kB / 494.2 MB, free: 19.71 MB / 366.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.0008478/0.4858, allocations: 272.7 kB / 494.5 MB, free: 19.49 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004471/0.4863, allocations: 95.05 kB / 494.6 MB, free: 19.44 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007793/0.4941, allocations: 1.723 MB / 496.3 MB, free: 18.79 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-05/0.4941, allocations: 15.53 kB / 496.3 MB, free: 18.79 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.879e-05/0.4942, allocations: 4.969 kB / 496.3 MB, free: 18.79 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.576e-05/0.4942, allocations: 4.828 kB / 496.3 MB, free: 18.79 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009469/0.5037, allocations: 2.924 MB / 499.2 MB, free: 17.41 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.54e-05/0.5037, allocations: 5.688 kB / 499.2 MB, free: 17.41 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007924/0.5045, allocations: 195.8 kB / 499.4 MB, free: 17.39 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004925/0.5095, allocations: 0.5309 MB / 500 MB, free: 17.29 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002802/0.5098, allocations: 44.56 kB / 0.4883 GB, free: 17.27 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007117/0.5169, allocations: 5.252 MB / 0.4934 GB, free: 12.05 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.558e-06/0.517, allocations: 4 kB / 0.4934 GB, free: 12.04 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007452/0.5244, allocations: 2.27 MB / 0.4956 GB, free: 9.812 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004787/0.525, allocations: 160 kB / 0.4958 GB, free: 9.637 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003778/0.5254, allocations: 24 kB / 0.4958 GB, free: 9.613 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008533/0.5263, allocations: 51.88 kB / 0.4959 GB, free: 9.562 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000313/0.5266, allocations: 96.81 kB / 0.4959 GB, free: 9.469 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001451/0.5267, allocations: 43.98 kB / 0.496 GB, free: 9.426 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005559/0.5273, allocations: 391.1 kB / 0.4964 GB, free: 9.051 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.5273, allocations: 0 / 0.4964 GB, free: 9.051 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.002493/0.5298, allocations: 0.5895 MB / 0.4969 GB, free: 8.461 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 (99): * Single equations (assignments): 96 * 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.001664/0.5315, allocations: 0.6243 MB / 0.4975 GB, free: 7.891 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002645/0.5342, allocations: 1.407 MB / 0.4989 GB, free: 6.457 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.891e-06/0.5342, allocations: 4 kB / 0.4989 GB, free: 6.453 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001407/0.5356, allocations: 0.9978 MB / 0.4999 GB, free: 5.418 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001601/0.5372, allocations: 190.9 kB / 0.5001 GB, free: 5.23 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004394/0.5416, allocations: 2.733 MB / 0.5028 GB, free: 2.449 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006413/0.5423, allocations: 1.077 MB / 0.5038 GB, free: 1.344 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.001097/0.5434, allocations: 227.2 kB / 0.504 GB, free: 1.121 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003745/0.5438, allocations: 162.8 kB / 0.5042 GB, free: 0.9688 MB / 366.1 MB Notification: Performance of SimCode: time 1.203e-06/0.5438, allocations: 0 / 0.5042 GB, free: 0.9688 MB / 366.1 MB Notification: Performance of Templates: time 0.03614/0.58, allocations: 21.75 MB / 0.5254 GB, free: 11.35 MB / 398.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)