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.0007373/0.0007372, allocations: 97.95 kB / 15.36 MB, free: 0.7305 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.0008216/0.0008216, allocations: 172.7 kB / 16.27 MB, free: 6.664 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.414/1.414, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo): time 0.2211/0.2211, allocations: 15.28 MB / 306.7 MB, free: 15.68 MB / 254.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.0002908/0.0002907, allocations: 8 kB / 372.1 MB, free: 3.594 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3556/0.3559, allocations: 54.61 MB / 426.7 MB, free: 40.36 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Chemical.Examples.WaterVaporization): time 0.007183/0.3631, allocations: 6.965 MB / 433.7 MB, free: 37.35 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01433/0.3775, allocations: 14.4 MB / 448.1 MB, free: 27.74 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001378/0.3789, allocations: 24.41 kB / 448.1 MB, free: 27.73 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009793/0.3799, allocations: 304.5 kB / 448.4 MB, free: 27.57 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00364/0.3836, allocations: 0.9863 MB / 449.4 MB, free: 26.97 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005686/0.3893, allocations: 1.702 MB / 451.1 MB, free: 25.96 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002278/0.3916, allocations: 1.526 MB / 452.6 MB, free: 25.22 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009045/0.3925, allocations: 0.7834 MB / 453.4 MB, free: 24.88 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007507/0.3933, allocations: 0.687 MB / 454.1 MB, free: 24.66 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007979/0.3941, allocations: 0.7651 MB / 454.8 MB, free: 24.35 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000138/0.3942, allocations: 76.16 kB / 454.9 MB, free: 24.35 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004794/0.399, allocations: 1.407 MB / 456.3 MB, free: 24 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002743/0.3993, allocations: 269.3 kB / 456.6 MB, free: 23.85 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006484/0.4, allocations: 0.6827 MB / 457.3 MB, free: 23.45 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006721/0.4067, allocations: 2.89 MB / 460.2 MB, free: 22.36 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.534e-06/0.4067, allocations: 0 / 460.2 MB, free: 22.36 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.865e-06/0.4068, allocations: 0 / 460.2 MB, free: 22.36 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.883e-05/0.4068, allocations: 0 / 460.2 MB, free: 22.36 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.003075/0.4099, allocations: 1.548 MB / 461.7 MB, free: 21.37 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.87e-05/0.4099, allocations: 9.219 kB / 461.7 MB, free: 21.37 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001356/0.4113, allocations: 319.5 kB / 462 MB, free: 21.27 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009602/0.4123, allocations: 0.6368 MB / 462.7 MB, free: 20.81 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001015/0.4124, allocations: 99.55 kB / 462.8 MB, free: 20.77 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000241/0.4126, allocations: 135.6 kB / 462.9 MB, free: 20.72 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00272/0.4154, allocations: 1.529 MB / 464.4 MB, free: 20.09 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.978e-05/0.4154, allocations: 7.938 kB / 464.4 MB, free: 20.09 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001224/0.4155, allocations: 54.78 kB / 464.5 MB, free: 20.04 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.932e-05/0.4156, allocations: 31.28 kB / 464.5 MB, free: 20.04 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003198/0.4188, allocations: 1.86 MB / 466.4 MB, free: 19.46 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.007589/0.4264, allocations: 4.632 MB / 471 MB, free: 16.65 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001962/0.4284, allocations: 1.34 MB / 472.3 MB, free: 16.05 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008363/0.4292, allocations: 0.531 MB / 472.9 MB, free: 15.84 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006171/0.4354, allocations: 4.509 MB / 477.4 MB, free: 12.4 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.908e-05/0.4355, allocations: 41.59 kB / 477.4 MB, free: 12.35 MB / 350.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004549/0.4359, allocations: 81.73 kB / 477.5 MB, free: 12.29 MB / 350.1 MB Notification: Performance of pre-optimization done (n=82): time 5.851e-06/0.4359, allocations: 0 / 477.5 MB, free: 12.29 MB / 350.1 MB Notification: Performance of matching and sorting (n=100): time 0.0209/0.4569, allocations: 4.364 MB / 481.9 MB, free: 10.57 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.057e-05/0.4569, allocations: 63.88 kB / 481.9 MB, free: 10.51 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00107/0.458, allocations: 0.5791 MB / 482.5 MB, free: 10.25 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001253/0.4582, allocations: 44.7 kB / 482.6 MB, free: 10.2 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004165/0.4586, allocations: 0.5727 MB / 483.1 MB, free: 9.742 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003399/0.4589, allocations: 349.2 kB / 483.5 MB, free: 9.469 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001842/0.4591, allocations: 104.6 kB / 483.6 MB, free: 9.41 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001677/0.4593, allocations: 397.6 kB / 484 MB, free: 9.059 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008241/0.4601, allocations: 410.4 kB / 484.4 MB, free: 8.91 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009597/0.4611, allocations: 0.7755 MB / 485.1 MB, free: 8.293 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: gas.temperature = gas.temperature_start (liquid.temperature_start = gas.temperature_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.02725/0.4884, allocations: 4.545 MB / 489.7 MB, free: 5.637 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.298e-05/0.4884, allocations: 4 kB / 489.7 MB, free: 5.633 MB / 350.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.005928/0.4943, allocations: 1.778 MB / 491.5 MB, free: 3.836 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.293e-05/0.4944, allocations: 12 kB / 491.5 MB, free: 3.824 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.909e-05/0.4944, allocations: 12 kB / 491.5 MB, free: 3.812 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00375/0.4982, allocations: 477.5 kB / 492 MB, free: 3.34 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009472/0.4992, allocations: 295.5 kB / 492.2 MB, free: 3.051 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006778/0.506, allocations: 4.112 MB / 496.4 MB, free: 14.68 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001199/0.5072, allocations: 72.03 kB / 496.4 MB, free: 14.61 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001973/0.5074, allocations: 71.97 kB / 496.5 MB, free: 14.54 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 sytem: 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.0007037/0.5081, allocations: 277.5 kB / 496.8 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002875/0.5084, allocations: 90.81 kB / 496.9 MB, free: 14.16 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007276/0.5157, allocations: 1.75 MB / 498.6 MB, free: 12.4 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.448e-05/0.5157, allocations: 15.94 kB / 498.6 MB, free: 12.39 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.666e-06/0.5157, allocations: 0 / 498.6 MB, free: 12.39 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.625e-05/0.5158, allocations: 3.984 kB / 498.6 MB, free: 12.38 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008916/0.5247, allocations: 2.961 MB / 0.4898 GB, free: 9.309 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.148e-05/0.5247, allocations: 4 kB / 0.4898 GB, free: 9.305 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000716/0.5254, allocations: 195.7 kB / 0.49 GB, free: 9.113 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005173/0.5306, allocations: 0.549 MB / 0.4906 GB, free: 8.555 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001223/0.5308, allocations: 35.98 kB / 0.4906 GB, free: 8.52 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007694/0.5385, allocations: 5.268 MB / 0.4957 GB, free: 2.852 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.458e-06/0.5385, allocations: 8.094 kB / 0.4957 GB, free: 2.844 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007628/0.5461, allocations: 2.306 MB / 0.498 GB, free: 492 kB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003711/0.5465, allocations: 152 kB / 0.4981 GB, free: 320 kB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002181/0.5468, allocations: 31.94 kB / 0.4982 GB, free: 288 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006642/0.5474, allocations: 43.89 kB / 0.4982 GB, free: 244 kB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002506/0.5477, allocations: 104.8 kB / 0.4983 GB, free: 140 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.564e-05/0.5478, allocations: 43.98 kB / 0.4984 GB, free: 96 kB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005492/0.5484, allocations: 391.1 kB / 0.4987 GB, free: 15.71 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5484, allocations: 0 / 0.4987 GB, free: 15.71 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002217/0.5506, allocations: 0.5856 MB / 0.4993 GB, free: 15.13 MB / 382.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.00218/0.5528, allocations: 0.6292 MB / 0.4999 GB, free: 14.49 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003283/0.5561, allocations: 1.418 MB / 0.5013 GB, free: 13.05 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.17e-06/0.5561, allocations: 4 kB / 0.5013 GB, free: 13.04 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001434/0.5576, allocations: 0.9978 MB / 0.5023 GB, free: 12.01 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001463/0.559, allocations: 196.5 kB / 0.5025 GB, free: 11.81 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00417/0.5632, allocations: 2.81 MB / 0.5052 GB, free: 8.945 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007753/0.564, allocations: 1.069 MB / 0.5063 GB, free: 7.848 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001034/0.5651, allocations: 231.1 kB / 0.5065 GB, free: 7.617 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003623/0.5654, allocations: 159.3 kB / 0.5066 GB, free: 7.461 MB / 382.1 MB Notification: Performance of SimCode: time 1.002e-06/0.5654, allocations: 0 / 0.5066 GB, free: 7.461 MB / 382.1 MB Notification: Performance of Templates: time 0.03674/0.6022, allocations: 21.69 MB / 0.5278 GB, free: 1.852 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)