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.001552/0.001559, allocations: 110.6 kB / 16.42 MB, free: 6.492 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.001745/0.001745, allocations: 185.7 kB / 17.35 MB, free: 5.762 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.312/1.312, allocations: 222.9 MB / 241.1 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.07536/0.07536, allocations: 15.31 MB / 306.5 MB, free: 15.4 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00121/0.00121, allocations: 68.11 kB / 425.9 MB, free: 11.45 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08431/0.08553, allocations: 53.61 MB / 479.5 MB, free: 5.777 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Chemical.Examples.WaterVaporization): time 0.007404/0.09297, allocations: 6.528 MB / 486 MB, free: 15.21 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01526/0.1083, allocations: 14.57 MB / 0.4888 GB, free: 0.5938 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000655/0.1089, allocations: 11.94 kB / 0.4888 GB, free: 0.582 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009005/0.1098, allocations: 349.3 kB / 0.4892 GB, free: 244 kB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002506/0.1124, allocations: 1.101 MB / 0.4903 GB, free: 15.13 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003837/0.1162, allocations: 1.949 MB / 0.4922 GB, free: 13.17 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001699/0.118, allocations: 1.603 MB / 0.4937 GB, free: 11.56 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001035/0.119, allocations: 0.9819 MB / 0.4947 GB, free: 10.54 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007378/0.1197, allocations: 0.7597 MB / 0.4954 GB, free: 9.781 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009079/0.1207, allocations: 0.8329 MB / 0.4962 GB, free: 8.945 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001943/0.1209, allocations: 152 kB / 0.4964 GB, free: 8.797 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002999/0.1239, allocations: 1.459 MB / 0.4978 GB, free: 7.336 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002623/0.1241, allocations: 346.9 kB / 0.4981 GB, free: 6.996 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005895/0.1247, allocations: 0.7389 MB / 0.4989 GB, free: 6.254 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003534/0.1283, allocations: 3.114 MB / 0.5019 GB, free: 3.129 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.1283, allocations: 0 / 0.5019 GB, free: 3.129 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.203e-06/0.1283, allocations: 0 / 0.5019 GB, free: 3.129 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.434e-05/0.1283, 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.002862/0.1312, allocations: 1.841 MB / 0.5037 GB, free: 1.234 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.475e-05/0.1312, allocations: 8.031 kB / 0.5037 GB, free: 1.227 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001201/0.1324, allocations: 315 kB / 0.504 GB, free: 0.918 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009221/0.1334, allocations: 0.6724 MB / 0.5047 GB, free: 212 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.362e-05/0.1335, allocations: 98.94 kB / 0.5048 GB, free: 112 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.1767/0.3102, allocations: 135.6 kB / 0.5049 GB, free: 34.46 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002795/0.313, allocations: 1.52 MB / 0.5064 GB, free: 34.35 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.707e-05/0.313, allocations: 1.156 kB / 0.5064 GB, free: 34.35 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001203/0.3132, allocations: 50.22 kB / 0.5064 GB, free: 34.35 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.714e-05/0.3132, allocations: 34.66 kB / 0.5065 GB, free: 34.35 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002569/0.3158, allocations: 1.856 MB / 0.5083 GB, free: 33.93 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.006034/0.3218, allocations: 4.62 MB / 0.5128 GB, free: 31.34 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001732/0.3236, allocations: 1.341 MB / 0.5141 GB, free: 30.75 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006846/0.3243, allocations: 0.5311 MB / 0.5146 GB, free: 30.53 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00527/0.3295, allocations: 4.594 MB / 0.5191 GB, free: 27.13 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.711e-05/0.3296, allocations: 40 kB / 0.5191 GB, free: 27.09 MB / 382.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0002558/0.3298, allocations: 79.08 kB / 0.5192 GB, free: 27.03 MB / 382.1 MB Notification: Performance of pre-optimization done (n=82): time 2.685e-06/0.3298, allocations: 0 / 0.5192 GB, free: 27.03 MB / 382.1 MB Notification: Performance of matching and sorting (n=100): time 0.01773/0.3476, allocations: 4.341 MB / 0.5234 GB, free: 25.36 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.519e-05/0.3476, allocations: 61.66 kB / 0.5235 GB, free: 25.3 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006143/0.3483, allocations: 0.577 MB / 0.5241 GB, free: 25.04 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.889e-05/0.3483, allocations: 41.61 kB / 0.5241 GB, free: 24.99 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002146/0.3485, allocations: 0.5768 MB / 0.5247 GB, free: 24.54 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001719/0.3487, allocations: 354 kB / 0.525 GB, free: 24.27 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002776/0.349, allocations: 236.3 kB / 0.5252 GB, free: 24.15 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.804e-05/0.3491, allocations: 396.2 kB / 0.5256 GB, free: 23.8 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006061/0.3497, allocations: 414.4 kB / 0.526 GB, free: 23.66 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007479/0.3505, allocations: 0.7804 MB / 0.5268 GB, free: 23.04 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.02309/0.3736, allocations: 4.54 MB / 0.5312 GB, free: 20.71 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.181e-06/0.3736, allocations: 3.969 kB / 0.5312 GB, free: 20.71 MB / 382.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.00499/0.3786, allocations: 1.782 MB / 0.5329 GB, free: 19.79 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.972e-05/0.3786, allocations: 11.88 kB / 0.533 GB, free: 19.79 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.216e-05/0.3786, allocations: 12.69 kB / 0.533 GB, free: 19.79 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003479/0.3821, allocations: 475.5 kB / 0.5334 GB, free: 19.57 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007903/0.3829, allocations: 293.4 kB / 0.5337 GB, free: 19.51 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005665/0.3886, allocations: 4.396 MB / 0.538 GB, free: 15.37 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000699/0.3893, allocations: 40 kB / 0.538 GB, free: 15.33 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.704e-05/0.3894, allocations: 71.97 kB / 0.5381 GB, free: 15.26 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.0003966/0.3898, allocations: 283.8 kB / 0.5384 GB, free: 14.98 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001433/0.39, allocations: 82.97 kB / 0.5385 GB, free: 14.9 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006032/0.396, allocations: 1.756 MB / 0.5402 GB, free: 13.13 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.188e-05/0.396, allocations: 11.92 kB / 0.5402 GB, free: 13.12 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.396, allocations: 0 / 0.5402 GB, free: 13.12 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001017/0.3962, allocations: 152 kB / 0.5403 GB, free: 12.95 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001181/0.3963, allocations: 20 kB / 0.5403 GB, free: 12.93 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004655/0.3967, allocations: 20 kB / 0.5404 GB, free: 12.91 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001692/0.3969, allocations: 92.84 kB / 0.5404 GB, free: 12.82 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003254/0.4002, allocations: 1.376 MB / 0.5418 GB, free: 11.45 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001864/0.4021, allocations: 1.728 MB / 0.5435 GB, free: 9.703 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005095/0.4026, allocations: 455.8 kB / 0.5439 GB, free: 9.258 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003428/0.4029, allocations: 391.1 kB / 0.5443 GB, free: 8.879 MB / 382.1 MB Notification: Performance of Backend: time 5.31e-07/0.4029, allocations: 0 / 0.5443 GB, free: 8.879 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003021/0.406, allocations: 1.875 MB / 0.5461 GB, free: 7.184 MB / 382.1 MB Notification: Performance of SimCode: time 0.002541/0.4085, allocations: 2.486 MB / 0.5485 GB, free: 4.68 MB / 382.1 MB Notification: Performance of Templates: time 0.03464/0.4432, allocations: 25.24 MB / 0.5732 GB, free: 11.51 MB / 414.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)