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.001078/0.001078, allocations: 117 kB / 16.37 MB, free: 6.012 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.001063/0.001064, allocations: 192 kB / 17.31 MB, free: 5.613 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.472/1.472, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo): time 0.0974/0.0974, allocations: 15.3 MB / 306.5 MB, free: 15.43 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001537/0.001537, allocations: 61.62 kB / 371.7 MB, free: 51.16 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1206/0.1221, allocations: 53.62 MB / 425.4 MB, free: 13.43 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Chemical.Examples.WaterVaporization): time 0.006343/0.1285, allocations: 6.528 MB / 431.9 MB, free: 6.867 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01528/0.1438, allocations: 14.57 MB / 446.5 MB, free: 8.25 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001114/0.145, allocations: 19.88 kB / 446.5 MB, free: 8.23 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001002/0.146, allocations: 337.4 kB / 446.8 MB, free: 7.898 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00321/0.1493, allocations: 1.105 MB / 447.9 MB, free: 6.785 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005661/0.155, allocations: 1.957 MB / 449.9 MB, free: 4.816 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.002673/0.1577, allocations: 1.599 MB / 451.5 MB, free: 3.211 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001312/0.159, allocations: 0.9819 MB / 452.5 MB, free: 2.207 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009666/0.16, allocations: 0.7519 MB / 453.2 MB, free: 1.453 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001027/0.161, allocations: 0.8369 MB / 454 MB, free: 0.6133 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000195/0.1612, allocations: 148 kB / 454.2 MB, free: 480 kB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00521/0.1664, allocations: 1.463 MB / 455.6 MB, free: 15 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003403/0.1668, allocations: 335 kB / 456 MB, free: 14.67 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007933/0.1676, allocations: 0.7506 MB / 456.7 MB, free: 13.92 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007952/0.1756, allocations: 3.103 MB / 459.8 MB, free: 10.8 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.1756, allocations: 0 / 459.8 MB, free: 10.8 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.1756, allocations: 0 / 459.8 MB, free: 10.8 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.913e-05/0.1756, allocations: 4 kB / 459.8 MB, free: 10.8 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.00336/0.179, allocations: 1.841 MB / 461.7 MB, free: 8.906 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.191e-05/0.1791, allocations: 8.031 kB / 461.7 MB, free: 8.898 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0013/0.1804, allocations: 318.8 kB / 462 MB, free: 8.586 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001191/0.1816, allocations: 0.6723 MB / 462.7 MB, free: 7.871 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.157e-05/0.1817, allocations: 102.9 kB / 462.8 MB, free: 7.77 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002064/0.1819, allocations: 124.4 kB / 462.9 MB, free: 7.648 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002376/0.1843, allocations: 1.526 MB / 464.4 MB, free: 6.086 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.368e-05/0.1843, allocations: 0 / 464.4 MB, free: 6.086 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000109/0.1844, allocations: 52 kB / 464.5 MB, free: 6.035 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.967e-05/0.1845, allocations: 28 kB / 464.5 MB, free: 6.008 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002733/0.1872, allocations: 1.857 MB / 466.3 MB, free: 4.145 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.00719/0.1944, allocations: 4.639 MB / 471 MB, free: 15.27 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00196/0.1964, allocations: 1.345 MB / 472.3 MB, free: 13.91 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007758/0.1972, allocations: 0.527 MB / 472.9 MB, free: 13.38 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006555/0.2037, allocations: 4.587 MB / 477.4 MB, free: 8.316 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.224e-05/0.2038, allocations: 39.22 kB / 477.5 MB, free: 8.266 MB / 350.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003352/0.2041, allocations: 79.11 kB / 477.6 MB, free: 8.188 MB / 350.1 MB Notification: Performance of pre-optimization done (n=82): time 3.947e-06/0.2041, allocations: 0 / 477.6 MB, free: 8.188 MB / 350.1 MB Notification: Performance of matching and sorting (n=100): time 0.01914/0.2233, allocations: 4.329 MB / 481.9 MB, free: 3.773 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.518e-05/0.2234, allocations: 64.41 kB / 482 MB, free: 3.699 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009335/0.2243, allocations: 0.5821 MB / 482.5 MB, free: 3.105 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001199/0.2245, allocations: 41.7 kB / 482.6 MB, free: 3.059 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004393/0.2249, allocations: 0.5763 MB / 483.2 MB, free: 2.473 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003175/0.2253, allocations: 350.9 kB / 483.5 MB, free: 2.125 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003548/0.2256, allocations: 234.7 kB / 483.7 MB, free: 1.891 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002661/0.2259, allocations: 394.7 kB / 484.1 MB, free: 1.496 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008384/0.2267, allocations: 418.4 kB / 484.5 MB, free: 1.086 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000903/0.2277, allocations: 0.7784 MB / 485.3 MB, free: 152 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.02571/0.2534, allocations: 4.54 MB / 489.8 MB, free: 11.43 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.794e-06/0.2534, allocations: 4 kB / 489.8 MB, free: 11.43 MB / 366.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.005896/0.2593, allocations: 1.778 MB / 491.6 MB, free: 9.633 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.831e-05/0.2594, allocations: 8 kB / 491.6 MB, free: 9.625 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.918e-05/0.2594, allocations: 12 kB / 491.6 MB, free: 9.613 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003729/0.2631, allocations: 489.6 kB / 492.1 MB, free: 9.129 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001042/0.2642, allocations: 295.5 kB / 492.4 MB, free: 8.84 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007469/0.2717, allocations: 4.388 MB / 496.8 MB, free: 4.176 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009927/0.2727, allocations: 52.05 kB / 496.8 MB, free: 4.125 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001333/0.2728, allocations: 67.98 kB / 496.9 MB, free: 4.059 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.0005808/0.2734, allocations: 281.3 kB / 497.2 MB, free: 3.773 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002049/0.2736, allocations: 86.91 kB / 497.3 MB, free: 3.688 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00677/0.2804, allocations: 1.751 MB / 499 MB, free: 1.918 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.048e-05/0.2804, allocations: 8 kB / 499 MB, free: 1.91 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.03e-06/0.2805, allocations: 4 kB / 499 MB, free: 1.906 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.368e-05/0.2805, allocations: 11.91 kB / 499 MB, free: 1.895 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008442/0.2889, allocations: 2.952 MB / 0.4902 GB, free: 14.82 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.227e-06/0.289, allocations: 3.938 kB / 0.4902 GB, free: 14.82 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007358/0.2897, allocations: 195.8 kB / 0.4904 GB, free: 14.63 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00488/0.2946, allocations: 0.5293 MB / 0.4909 GB, free: 14.09 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001074/0.2947, allocations: 35.98 kB / 0.491 GB, free: 14.05 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008036/0.3028, allocations: 5.692 MB / 0.4965 GB, free: 7.941 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.127e-06/0.3028, allocations: 4 kB / 0.4965 GB, free: 7.938 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0074/0.3102, allocations: 2.312 MB / 0.4988 GB, free: 5.57 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003051/0.3105, allocations: 156 kB / 0.4989 GB, free: 5.398 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001161/0.3107, allocations: 20 kB / 0.499 GB, free: 5.379 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005206/0.3112, allocations: 31.98 kB / 0.499 GB, free: 5.348 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002495/0.3114, allocations: 96.81 kB / 0.4991 GB, free: 5.254 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.777e-05/0.3115, allocations: 55.86 kB / 0.4991 GB, free: 5.199 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004969/0.312, allocations: 395 kB / 0.4995 GB, free: 4.82 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3121, allocations: 0 / 0.4995 GB, free: 4.82 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001655/0.3137, allocations: 0.5895 MB / 0.5001 GB, free: 4.23 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.001067/0.3148, allocations: 0.6234 MB / 0.5007 GB, free: 3.598 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002371/0.3172, allocations: 1.442 MB / 0.5021 GB, free: 2.133 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.3172, allocations: 0 / 0.5021 GB, free: 2.133 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001322/0.3185, allocations: 1.009 MB / 0.5031 GB, free: 1.086 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001014/0.3195, allocations: 212.1 kB / 0.5033 GB, free: 0.8867 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1912/0.5108, allocations: 2.171 MB / 0.5054 GB, free: 80.02 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007783/0.5116, allocations: 1.071 MB / 0.5065 GB, free: 79.32 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0009018/0.5125, allocations: 227.7 kB / 0.5067 GB, free: 79.31 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003804/0.5129, allocations: 155.5 kB / 0.5068 GB, free: 79.3 MB / 382.1 MB Notification: Performance of SimCode: time 1.232e-06/0.5129, allocations: 2.719 kB / 0.5068 GB, free: 79.3 MB / 382.1 MB Notification: Performance of Templates: time 0.03306/0.546, allocations: 22.79 MB / 0.5291 GB, free: 67.88 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 cvode -lv LOG_STATS > Chemical_Chemical.Examples.WaterVaporization.pipe 2>&1)