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.001753/0.001753, allocations: 107.3 kB / 16.36 MB, free: 6.285 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.002092/0.002092, allocations: 191.6 kB / 17.29 MB, free: 5.863 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.337/1.337, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo): time 0.08408/0.08408, allocations: 15.31 MB / 306.5 MB, free: 15.45 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001219/0.001219, allocations: 62.27 kB / 371.7 MB, free: 50.77 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09792/0.09915, allocations: 53.62 MB / 425.4 MB, free: 13.34 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Chemical.Examples.WaterVaporization): time 0.00706/0.1063, allocations: 6.527 MB / 431.9 MB, free: 6.777 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01603/0.1223, allocations: 14.57 MB / 446.5 MB, free: 8.156 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001193/0.1236, allocations: 15.94 kB / 446.5 MB, free: 8.141 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00137/0.125, allocations: 341.3 kB / 446.8 MB, free: 7.805 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003865/0.1289, allocations: 1.101 MB / 447.9 MB, free: 6.695 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005288/0.1342, allocations: 1.949 MB / 449.9 MB, free: 4.734 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.002345/0.1366, allocations: 1.607 MB / 451.5 MB, free: 3.121 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001313/0.1379, allocations: 0.9742 MB / 452.4 MB, free: 2.125 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001055/0.139, allocations: 0.7597 MB / 453.2 MB, free: 1.363 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001319/0.1403, allocations: 0.8369 MB / 454 MB, free: 0.5234 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003559/0.1407, allocations: 148 kB / 454.2 MB, free: 388 kB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004716/0.1454, allocations: 1.463 MB / 455.6 MB, free: 14.91 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004463/0.1459, allocations: 338.9 kB / 456 MB, free: 14.58 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001086/0.147, allocations: 0.7506 MB / 456.7 MB, free: 13.82 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006303/0.1533, allocations: 3.106 MB / 459.8 MB, free: 10.71 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.1533, allocations: 3.938 kB / 459.8 MB, free: 10.7 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.1533, allocations: 0 / 459.8 MB, free: 10.7 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.228e-05/0.1534, allocations: 0 / 459.8 MB, free: 10.7 MB / 334.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.003755/0.1572, allocations: 1.833 MB / 461.7 MB, free: 8.816 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.969e-05/0.1572, allocations: 11.97 kB / 461.7 MB, free: 8.805 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001386/0.1586, allocations: 314.8 kB / 462 MB, free: 8.496 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001278/0.1599, allocations: 0.6802 MB / 462.7 MB, free: 7.773 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.726e-05/0.16, allocations: 98.94 kB / 462.8 MB, free: 7.676 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002085/0.1602, allocations: 124.4 kB / 462.9 MB, free: 7.555 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00242/0.1626, allocations: 1.53 MB / 464.4 MB, free: 5.988 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.522e-05/0.1627, allocations: 0 / 464.4 MB, free: 5.988 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001103/0.1628, allocations: 52 kB / 464.5 MB, free: 5.938 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.571e-05/0.1628, allocations: 32 kB / 464.5 MB, free: 5.906 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002777/0.1656, allocations: 1.853 MB / 466.3 MB, free: 4.047 MB / 334.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.007664/0.1733, allocations: 4.643 MB / 471 MB, free: 15.17 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002095/0.1754, allocations: 1.331 MB / 472.3 MB, free: 13.83 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009534/0.1764, allocations: 0.5348 MB / 472.9 MB, free: 13.29 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006513/0.1829, allocations: 4.587 MB / 477.4 MB, free: 8.223 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.035e-05/0.183, allocations: 39.22 kB / 477.5 MB, free: 8.172 MB / 350.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000391/0.1834, allocations: 75.12 kB / 477.5 MB, free: 8.098 MB / 350.1 MB Notification: Performance of pre-optimization done (n=82): time 8.296e-06/0.1834, allocations: 0 / 477.5 MB, free: 8.098 MB / 350.1 MB Notification: Performance of matching and sorting (n=100): time 0.01937/0.2028, allocations: 4.333 MB / 481.9 MB, free: 3.68 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.665e-05/0.2029, allocations: 64.34 kB / 481.9 MB, free: 3.605 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008086/0.2037, allocations: 0.5899 MB / 482.5 MB, free: 3.004 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 8.897e-05/0.2038, allocations: 41.7 kB / 482.6 MB, free: 2.957 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004255/0.2042, allocations: 0.5724 MB / 483.1 MB, free: 2.375 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003248/0.2045, allocations: 350.9 kB / 483.5 MB, free: 2.027 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003741/0.2049, allocations: 234.8 kB / 483.7 MB, free: 1.793 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001834/0.2051, allocations: 394.7 kB / 484.1 MB, free: 1.398 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007071/0.2058, allocations: 418.4 kB / 484.5 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000932/0.2068, allocations: 0.7745 MB / 485.3 MB, free: 56 kB / 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.02543/0.2322, allocations: 4.54 MB / 489.8 MB, free: 11.34 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.17e-05/0.2322, allocations: 4 kB / 489.8 MB, free: 11.33 MB / 366.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.005689/0.2379, allocations: 1.778 MB / 491.6 MB, free: 9.539 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.444e-05/0.238, allocations: 11.94 kB / 491.6 MB, free: 9.527 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.727e-05/0.238, allocations: 12 kB / 491.6 MB, free: 9.516 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00372/0.2417, allocations: 482 kB / 492.1 MB, free: 9.039 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009843/0.2427, allocations: 287.6 kB / 492.4 MB, free: 8.758 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007549/0.2503, allocations: 4.398 MB / 496.8 MB, free: 4.078 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009891/0.2513, allocations: 43.98 kB / 496.8 MB, free: 4.035 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001682/0.2515, allocations: 67.98 kB / 496.9 MB, free: 3.969 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.000638/0.2522, allocations: 273.4 kB / 497.2 MB, free: 3.691 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002675/0.2524, allocations: 86.91 kB / 497.2 MB, free: 3.605 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006905/0.2593, allocations: 1.755 MB / 499 MB, free: 1.832 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.093e-05/0.2594, allocations: 12 kB / 499 MB, free: 1.82 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.424e-06/0.2594, allocations: 0 / 499 MB, free: 1.82 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.278e-05/0.2594, allocations: 11.92 kB / 499 MB, free: 1.809 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008315/0.2677, allocations: 2.956 MB / 0.4902 GB, free: 14.73 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.702e-06/0.2678, allocations: 0 / 0.4902 GB, free: 14.73 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007176/0.2685, allocations: 195.8 kB / 0.4904 GB, free: 14.54 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004953/0.2734, allocations: 0.5334 MB / 0.4909 GB, free: 14 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001257/0.2736, allocations: 35.98 kB / 0.491 GB, free: 13.96 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008249/0.2818, allocations: 5.689 MB / 0.4965 GB, free: 7.855 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.502e-06/0.2819, allocations: 7.938 kB / 0.4965 GB, free: 7.848 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007368/0.2892, allocations: 2.312 MB / 0.4988 GB, free: 5.48 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000245/0.2895, allocations: 156 kB / 0.4989 GB, free: 5.309 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001409/0.2897, allocations: 24 kB / 0.4989 GB, free: 5.285 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005541/0.2902, allocations: 24 kB / 0.499 GB, free: 5.262 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002251/0.2905, allocations: 104.7 kB / 0.4991 GB, free: 5.16 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.14e-05/0.2906, allocations: 51.98 kB / 0.4991 GB, free: 5.109 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004725/0.291, allocations: 387.1 kB / 0.4995 GB, free: 4.738 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.71e-07/0.291, allocations: 4 kB / 0.4995 GB, free: 4.734 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001681/0.2927, allocations: 0.5934 MB / 0.5001 GB, free: 4.141 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 (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.001245/0.294, allocations: 0.6232 MB / 0.5007 GB, free: 3.508 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002444/0.2965, allocations: 1.434 MB / 0.5021 GB, free: 2.051 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.636e-06/0.2965, allocations: 3.938 kB / 0.5021 GB, free: 2.047 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001412/0.2979, allocations: 1.017 MB / 0.5031 GB, free: 0.9922 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001031/0.2989, allocations: 220.5 kB / 0.5033 GB, free: 0.7812 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1794/0.4784, allocations: 2.159 MB / 0.5054 GB, free: 79.97 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005522/0.479, allocations: 1.07 MB / 0.5064 GB, free: 79.27 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0007989/0.4798, allocations: 230.8 kB / 0.5067 GB, free: 79.25 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003507/0.4801, allocations: 159.4 kB / 0.5068 GB, free: 79.24 MB / 382.1 MB Notification: Performance of SimCode: time 1.262e-06/0.4801, allocations: 1.125 kB / 0.5068 GB, free: 79.24 MB / 382.1 MB Notification: Performance of Templates: time 0.02988/0.51, allocations: 22.8 MB / 0.5291 GB, free: 67.75 MB / 382.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 -s gbode -lv LOG_STATS > Chemical_Chemical.Examples.WaterVaporization.pipe 2>&1)