Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Chemical_Chemical.Examples.WaterSublimation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Chemical with version 1.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0-master/package.mo) Running command: translateModel(Chemical.Examples.WaterSublimation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.WaterSublimation") translateModel(Chemical.Examples.WaterSublimation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.WaterSublimation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0-master/package.mo): time 0.09989/0.09989, allocations: 15.26 MB / 30.21 MB, free: 3.195 MB / 24.77 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001043/0.001043, allocations: 179.3 kB / 35.29 MB, free: 2.363 MB / 24.77 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.392/1.392, allocations: 223.2 MB / 263.4 MB, free: 6.5 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008445/0.0008445, allocations: 94.7 kB / 318.8 MB, free: 3.465 MB / 250.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.0003409/0.0003411, allocations: 12.94 kB / 383.9 MB, free: 50.7 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1037/0.1041, allocations: 54.64 MB / 438.6 MB, free: 420 kB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3838/0.4879, allocations: 103.2 MB / 0.529 GB, free: 15.65 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000216/0.4882, allocations: 68.28 kB / 0.5291 GB, free: 15.65 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0-master/package.mo:3011:6-3011:65:writable] Warning: No corresponding 'inner' declaration found for component .Modelica.Fluid.System H2O_gaseuous.system declared as 'outer '. The existing 'inner' components are: There are no 'inner' components defined in the model in any of the parent scopes of 'outer' component's scope: Chemical.Components.Substance$H2O_gaseuous. Check if you have not misspelled the 'outer' component name. Please declare an 'inner' component with the same name in the top scope. Continuing flattening by only considering the 'outer' component declaration. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0-master/package.mo:3011:6-3011:65:writable] Warning: No corresponding 'inner' declaration found for component .Modelica.Fluid.System otherSubstances.system declared as 'outer '. The existing 'inner' components are: There are no 'inner' components defined in the model in any of the parent scopes of 'outer' component's scope: Chemical.Components.Substance$otherSubstances. Check if you have not misspelled the 'outer' component name. Please declare an 'inner' component with the same name in the top scope. Continuing flattening by only considering the 'outer' component declaration. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0-master/package.mo:3011:6-3011:65:writable] Warning: No corresponding 'inner' declaration found for component .Modelica.Fluid.System H2O_solid.system declared as 'outer '. The existing 'inner' components are: There are no 'inner' components defined in the model in any of the parent scopes of 'outer' component's scope: Chemical.Components.Substance$H2O_solid. Check if you have not misspelled the 'outer' component name. Please declare an 'inner' component with the same name in the top scope. Continuing flattening by only considering the 'outer' component declaration. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0-master/package.mo:4721:7-4721:66:writable] Warning: No corresponding 'inner' declaration found for component .Modelica.Fluid.System gas.system declared as 'outer '. The existing 'inner' components are: There are no 'inner' components defined in the model in any of the parent scopes of 'outer' component's scope: Chemical.Components.Solution$gas. Check if you have not misspelled the 'outer' component name. Please declare an 'inner' component with the same name in the top scope. Continuing flattening by only considering the 'outer' component declaration. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0-master/package.mo:4721:7-4721:66:writable] Warning: No corresponding 'inner' declaration found for component .Modelica.Fluid.System solid.system declared as 'outer '. The existing 'inner' components are: There are no 'inner' components defined in the model in any of the parent scopes of 'outer' component's scope: Chemical.Components.Solution$solid. Check if you have not misspelled the 'outer' component name. Please declare an 'inner' component with the same name in the top scope. Continuing flattening by only considering the 'outer' component declaration. Notification: Performance of FrontEnd - DAE generated: time 0.08697/0.5752, allocations: 39 MB / 0.5672 GB, free: 23.42 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.985e-06/0.5752, allocations: 0 / 0.5672 GB, free: 23.42 MB / 394.7 MB Notification: Performance of Transformations before backend: time 7.551e-05/0.5753, allocations: 27.22 kB / 0.5672 GB, free: 23.42 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 287 * Number of variables: 287 Notification: Performance of Generate backend data structure: time 0.003234/0.5785, allocations: 1.536 MB / 0.5687 GB, free: 22.38 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.301e-05/0.5786, allocations: 7.812 kB / 0.5687 GB, free: 22.38 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001169/0.5798, allocations: 319.6 kB / 0.569 GB, free: 22.25 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00157/0.5813, allocations: 0.833 MB / 0.5698 GB, free: 21.77 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.498e-05/0.5814, allocations: 84.48 kB / 0.5699 GB, free: 21.76 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002261/0.5817, allocations: 118.1 kB / 0.57 GB, free: 21.76 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002318/0.584, allocations: 1.641 MB / 0.5716 GB, free: 21.37 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.352e-05/0.584, allocations: 4 kB / 0.5716 GB, free: 21.36 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.174e-05/0.5841, allocations: 43.75 kB / 0.5717 GB, free: 21.36 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.519e-05/0.5841, allocations: 31.09 kB / 0.5717 GB, free: 21.36 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002425/0.5866, allocations: 2.133 MB / 0.5738 GB, free: 21.05 MB / 394.7 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.007453/0.5941, allocations: 5.126 MB / 0.5788 GB, free: 18.52 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001674/0.5958, allocations: 1.616 MB / 0.5804 GB, free: 18.29 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003366/0.5961, allocations: 238.6 kB / 0.5806 GB, free: 18.25 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.571e-05/0.5962, allocations: 53.39 kB / 0.5806 GB, free: 18.2 MB / 394.7 MB Notification: Performance of pre-optimization done (n=96): time 3.466e-06/0.5962, allocations: 0 / 0.5806 GB, free: 18.2 MB / 394.7 MB Notification: Performance of matching and sorting (n=122): time 0.009654/0.6059, allocations: 5.383 MB / 0.5859 GB, free: 16.04 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.877e-05/0.6059, allocations: 69.16 kB / 0.586 GB, free: 15.97 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008453/0.6068, allocations: 0.6169 MB / 0.5866 GB, free: 15.61 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 8.273e-05/0.6069, allocations: 44.89 kB / 0.5866 GB, free: 15.56 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002758/0.6072, allocations: 0.4969 MB / 0.5871 GB, free: 15.12 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002504/0.6074, allocations: 417.9 kB / 0.5875 GB, free: 14.75 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.552e-05/0.6075, allocations: 26.38 kB / 0.5875 GB, free: 14.73 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001319/0.6076, allocations: 347.6 kB / 0.5878 GB, free: 14.39 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006947/0.6083, allocations: 0.6161 MB / 0.5884 GB, free: 14.07 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008665/0.6092, allocations: 0.7872 MB / 0.5892 GB, free: 13.56 MB / 394.7 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 (solid.temperature_start = gas.temperature_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.01255/0.6218, allocations: 3.658 MB / 0.5928 GB, free: 11.67 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.124e-06/0.6218, allocations: 3.875 kB / 0.5928 GB, free: 11.67 MB / 394.7 MB Notification: Performance of matching and sorting (n=145) (initialization): time 0.003136/0.6249, allocations: 1.788 MB / 0.5945 GB, free: 9.883 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.529e-05/0.625, allocations: 14.34 kB / 0.5946 GB, free: 9.871 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.18e-05/0.625, allocations: 4 kB / 0.5946 GB, free: 9.867 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000713/0.6257, allocations: 206.3 kB / 0.5948 GB, free: 9.656 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009927/0.6267, allocations: 255.6 kB / 0.595 GB, free: 9.406 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002518/0.6293, allocations: 2.909 MB / 0.5978 GB, free: 6.309 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009734/0.6303, allocations: 51.95 kB / 0.5979 GB, free: 6.258 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001355/0.6304, allocations: 43.98 kB / 0.5979 GB, free: 6.215 MB / 394.7 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: 18 * 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 (133): * Single equations (assignments): 130 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 7} * Non-linear torn systems: 2 {1 4,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0006171/0.631, allocations: 277.5 kB / 0.5982 GB, free: 5.934 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000233/0.6313, allocations: 102.8 kB / 0.5983 GB, free: 5.832 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003539/0.6348, allocations: 1.896 MB / 0.6001 GB, free: 3.914 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.768e-05/0.6349, allocations: 16 kB / 0.6002 GB, free: 3.898 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.199e-05/0.6349, allocations: 0 / 0.6002 GB, free: 3.898 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.994e-05/0.6349, allocations: 7.969 kB / 0.6002 GB, free: 3.891 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006707/0.6416, allocations: 3.906 MB / 0.604 GB, free: 15.86 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.091e-05/0.6417, allocations: 8.094 kB / 0.604 GB, free: 15.86 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008185/0.6425, allocations: 211.7 kB / 0.6042 GB, free: 15.65 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007379/0.6432, allocations: 262.2 kB / 0.6044 GB, free: 15.38 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.959e-05/0.6433, allocations: 39.92 kB / 0.6045 GB, free: 15.34 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002575/0.6459, allocations: 2.976 MB / 0.6074 GB, free: 12.18 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.698e-06/0.6459, allocations: 4 kB / 0.6074 GB, free: 12.18 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004095/0.65, allocations: 3.035 MB / 0.6104 GB, free: 8.98 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004604/0.6505, allocations: 183.9 kB / 0.6105 GB, free: 8.781 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002085/0.6507, allocations: 27.94 kB / 0.6106 GB, free: 8.754 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006955/0.6514, allocations: 63.89 kB / 0.6106 GB, free: 8.691 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001573/0.6516, allocations: 96.83 kB / 0.6107 GB, free: 8.598 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.589e-05/0.6517, allocations: 39.98 kB / 0.6107 GB, free: 8.559 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0007356/0.6524, allocations: 495 kB / 0.6112 GB, free: 8.082 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.314e-06/0.6524, allocations: 0 / 0.6112 GB, free: 8.082 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001949/0.6544, allocations: 0.5503 MB / 0.6118 GB, free: 7.531 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 4 (H2O_gaseuous.logn,otherSubstances.logn,H2O_solid.molarEnthalpy,H2O_solid.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 (121): * Single equations (assignments): 118 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 7} * Non-linear torn systems: 2 {1 4,1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.001492/0.6559, allocations: 0.6065 MB / 0.6123 GB, free: 6.918 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.00271/0.6586, allocations: 1.652 MB / 0.614 GB, free: 5.25 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.498e-06/0.6586, allocations: 0 / 0.614 GB, free: 5.25 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001428/0.6601, allocations: 0.9739 MB / 0.6149 GB, free: 4.262 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001535/0.6616, allocations: 331.1 kB / 0.6152 GB, free: 3.945 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004869/0.6665, allocations: 3.024 MB / 0.6182 GB, free: 0.8516 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009051/0.6674, allocations: 1.119 MB / 0.6193 GB, free: 15.7 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0008283/0.6683, allocations: 168.1 kB / 0.6194 GB, free: 15.53 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003183/0.6686, allocations: 99.34 kB / 0.6195 GB, free: 15.44 MB / 426.7 MB Notification: Performance of SimCode: time 8.51e-07/0.6686, allocations: 0 / 0.6195 GB, free: 15.44 MB / 426.7 MB Notification: Performance of Templates: time 0.04116/0.7098, allocations: 22.8 MB / 0.6418 GB, free: 8.777 MB / 442.7 MB make -j1 -f Chemical_Chemical.Examples.WaterSublimation.makefile (rm -f Chemical_Chemical.Examples.WaterSublimation.pipe ; mkfifo Chemical_Chemical.Examples.WaterSublimation.pipe ; head -c 1048576 < Chemical_Chemical.Examples.WaterSublimation.pipe >> ../files/Chemical_Chemical.Examples.WaterSublimation.sim & ./Chemical_Chemical.Examples.WaterSublimation -abortSlowSimulation -alarm=480 -lv LOG_STATS > Chemical_Chemical.Examples.WaterSublimation.pipe 2>&1)