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.00797/0.007969, allocations: 102.7 kB / 15.73 MB, free: 6.031 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.001852/0.001852, allocations: 190.1 kB / 16.67 MB, free: 5.953 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.455/1.455, allocations: 222.9 MB / 240.4 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo): time 0.09453/0.09453, allocations: 15.31 MB / 305.8 MB, free: 15.39 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001286/0.001286, allocations: 79.86 kB / 425.2 MB, free: 11.42 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.146/0.1473, allocations: 53.6 MB / 478.8 MB, free: 5.766 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Chemical.Examples.WaterVaporization): time 0.008466/0.1559, allocations: 6.528 MB / 485.3 MB, free: 15.2 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01773/0.1737, allocations: 14.57 MB / 499.9 MB, free: 0.582 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001283/0.175, allocations: 11.94 kB / 499.9 MB, free: 0.5703 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001121/0.1761, allocations: 349.3 kB / 0.4885 GB, free: 232 kB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00378/0.18, allocations: 1.105 MB / 0.4896 GB, free: 15.11 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007465/0.1875, allocations: 1.953 MB / 0.4915 GB, free: 13.15 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.003309/0.1908, allocations: 1.603 MB / 0.4931 GB, free: 11.54 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00128/0.1921, allocations: 0.9702 MB / 0.494 GB, free: 10.54 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008709/0.193, allocations: 0.7597 MB / 0.4947 GB, free: 9.773 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001008/0.194, allocations: 0.8329 MB / 0.4956 GB, free: 8.938 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002033/0.1942, allocations: 152 kB / 0.4957 GB, free: 8.789 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005776/0.2, allocations: 1.459 MB / 0.4971 GB, free: 7.328 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00034/0.2004, allocations: 350.9 kB / 0.4975 GB, free: 6.984 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007506/0.2011, allocations: 0.7389 MB / 0.4982 GB, free: 6.242 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008387/0.2095, allocations: 3.114 MB / 0.5012 GB, free: 3.117 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/0.2095, allocations: 0 / 0.5012 GB, free: 3.117 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.894e-06/0.2096, allocations: 0 / 0.5012 GB, free: 3.117 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.394e-05/0.2096, allocations: 0 / 0.5012 GB, free: 3.117 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.003376/0.213, allocations: 1.845 MB / 0.503 GB, free: 1.219 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.74e-05/0.213, allocations: 8.031 kB / 0.503 GB, free: 1.211 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001345/0.2144, allocations: 315 kB / 0.5033 GB, free: 0.9023 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001184/0.2156, allocations: 0.6802 MB / 0.504 GB, free: 188 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001051/0.2157, allocations: 94.94 kB / 0.5041 GB, free: 92 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.3717/0.5874, allocations: 131.6 kB / 0.5042 GB, free: 34.44 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003778/0.5912, allocations: 1.52 MB / 0.5057 GB, free: 34.32 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.52e-05/0.5913, allocations: 2.719 kB / 0.5057 GB, free: 34.32 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001452/0.5915, allocations: 51.98 kB / 0.5058 GB, free: 34.32 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.911e-05/0.5915, allocations: 30.47 kB / 0.5058 GB, free: 34.32 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003348/0.5949, allocations: 1.856 MB / 0.5076 GB, free: 33.89 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.008049/0.6029, allocations: 4.618 MB / 0.5121 GB, free: 31.3 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002212/0.6052, allocations: 1.343 MB / 0.5134 GB, free: 30.71 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000797/0.606, allocations: 0.5343 MB / 0.5139 GB, free: 30.49 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006603/0.6126, allocations: 4.585 MB / 0.5184 GB, free: 27.09 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.648e-05/0.6127, allocations: 40.81 kB / 0.5185 GB, free: 27.05 MB / 382.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005058/0.6132, allocations: 81.12 kB / 0.5185 GB, free: 27 MB / 382.1 MB Notification: Performance of pre-optimization done (n=82): time 5.651e-06/0.6132, allocations: 0.6875 kB / 0.5185 GB, free: 27 MB / 382.1 MB Notification: Performance of matching and sorting (n=100): time 0.01964/0.6329, allocations: 4.329 MB / 0.5228 GB, free: 25.33 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.455e-05/0.633, allocations: 71.06 kB / 0.5228 GB, free: 25.26 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001006/0.634, allocations: 0.5802 MB / 0.5234 GB, free: 25 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.439e-05/0.6341, allocations: 44.7 kB / 0.5234 GB, free: 24.95 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003329/0.6344, allocations: 0.5735 MB / 0.524 GB, free: 24.5 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002646/0.6347, allocations: 350.6 kB / 0.5243 GB, free: 24.23 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003577/0.6351, allocations: 237.1 kB / 0.5246 GB, free: 24.12 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001422/0.6352, allocations: 391.5 kB / 0.5249 GB, free: 23.77 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007037/0.6359, allocations: 417.7 kB / 0.5253 GB, free: 23.62 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009485/0.6369, allocations: 0.7773 MB / 0.5261 GB, free: 23 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.02426/0.6611, allocations: 4.549 MB / 0.5305 GB, free: 20.65 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.761e-06/0.6612, allocations: 0 / 0.5305 GB, free: 20.65 MB / 382.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.005181/0.6664, allocations: 1.782 MB / 0.5323 GB, free: 19.74 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.101e-05/0.6664, allocations: 11.78 kB / 0.5323 GB, free: 19.73 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.69e-05/0.6664, allocations: 11.84 kB / 0.5323 GB, free: 19.73 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003393/0.6698, allocations: 474.6 kB / 0.5327 GB, free: 19.52 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008157/0.6707, allocations: 293.7 kB / 0.533 GB, free: 19.45 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00593/0.6766, allocations: 4.397 MB / 0.5373 GB, free: 15.28 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008679/0.6775, allocations: 44.06 kB / 0.5374 GB, free: 15.24 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001007/0.6776, allocations: 67.98 kB / 0.5374 GB, free: 15.17 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.0005196/0.6781, allocations: 280.6 kB / 0.5377 GB, free: 14.89 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001712/0.6783, allocations: 82.97 kB / 0.5378 GB, free: 14.81 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005722/0.684, allocations: 1.756 MB / 0.5395 GB, free: 13.04 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.205e-06/0.6841, allocations: 11.94 kB / 0.5395 GB, free: 13.03 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.973e-06/0.6841, allocations: 4 kB / 0.5395 GB, free: 13.03 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.405e-05/0.6841, allocations: 7.969 kB / 0.5395 GB, free: 13.02 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007001/0.6911, allocations: 2.944 MB / 0.5424 GB, free: 9.988 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.823e-06/0.6911, allocations: 2.938 kB / 0.5424 GB, free: 9.988 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006233/0.6918, allocations: 195.8 kB / 0.5426 GB, free: 9.797 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004319/0.6961, allocations: 0.5293 MB / 0.5431 GB, free: 9.258 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.231e-05/0.6962, allocations: 35.98 kB / 0.5431 GB, free: 9.223 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006289/0.7025, allocations: 5.698 MB / 0.5487 GB, free: 3.125 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.58e-06/0.7025, allocations: 11.22 kB / 0.5487 GB, free: 3.117 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006207/0.7087, allocations: 2.31 MB / 0.551 GB, free: 0.7539 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003032/0.709, allocations: 156 kB / 0.5511 GB, free: 0.582 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001005/0.7092, allocations: 20 kB / 0.5511 GB, free: 0.5625 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004702/0.7096, allocations: 31.98 kB / 0.5512 GB, free: 0.5312 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002195/0.7099, allocations: 100.8 kB / 0.5513 GB, free: 444 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.354e-05/0.7099, allocations: 47.98 kB / 0.5513 GB, free: 396 kB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004043/0.7103, allocations: 391.1 kB / 0.5517 GB, free: 12 kB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.7104, allocations: 0 / 0.5517 GB, free: 12 kB / 382.1 MB Notification: Performance of remove unused functions: time 0.002053/0.7124, allocations: 0.5926 MB / 0.5523 GB, free: 15.48 MB / 398.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.001167/0.7136, allocations: 0.6293 MB / 0.5529 GB, free: 14.96 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002568/0.7162, allocations: 1.437 MB / 0.5543 GB, free: 13.51 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/0.7162, allocations: 7.875 kB / 0.5543 GB, free: 13.5 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001383/0.7176, allocations: 1.013 MB / 0.5553 GB, free: 12.45 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001001/0.7186, allocations: 204.9 kB / 0.5555 GB, free: 12.25 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003673/0.7223, allocations: 2.179 MB / 0.5576 GB, free: 10.04 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007066/0.723, allocations: 1.073 MB / 0.5586 GB, free: 8.934 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0007276/0.7237, allocations: 231.1 kB / 0.5589 GB, free: 8.703 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003111/0.724, allocations: 159.3 kB / 0.559 GB, free: 8.547 MB / 398.1 MB Notification: Performance of SimCode: time 2.71e-07/0.7241, allocations: 4 kB / 0.559 GB, free: 8.543 MB / 398.1 MB Notification: Performance of Templates: time 0.03747/0.7615, allocations: 23.49 MB / 0.582 GB, free: 1.168 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)