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.08966/0.08966, allocations: 15.27 MB / 31.21 MB, free: 3.215 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.0008831/0.0008831, allocations: 181.1 kB / 36.3 MB, free: 2.25 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.465/1.465, allocations: 223.3 MB / 264.5 MB, free: 6.129 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.0008431/0.000843, allocations: 96.67 kB / 319.9 MB, free: 3.18 MB / 250.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.0004171/0.0004172, allocations: 14.88 kB / 385.2 MB, free: 50.39 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1116/0.112, allocations: 54.64 MB / 439.8 MB, free: 104 kB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4255/0.5375, allocations: 103.2 MB / 0.5303 GB, free: 15.7 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002333/0.5378, allocations: 71.8 kB / 0.5304 GB, free: 15.7 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.09174/0.6296, allocations: 38.83 MB / 0.5683 GB, free: 23.36 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.266e-06/0.6296, allocations: 0 / 0.5683 GB, free: 23.36 MB / 394.7 MB Notification: Performance of Transformations before backend: time 9.46e-05/0.6297, allocations: 27.28 kB / 0.5683 GB, free: 23.36 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.003692/0.6334, allocations: 1.525 MB / 0.5698 GB, free: 22.3 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.15e-05/0.6335, allocations: 12.44 kB / 0.5698 GB, free: 22.3 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001227/0.6347, allocations: 317.2 kB / 0.5701 GB, free: 22.17 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001586/0.6363, allocations: 0.8593 MB / 0.571 GB, free: 21.65 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.775e-05/0.6364, allocations: 84.27 kB / 0.571 GB, free: 21.65 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002505/0.6366, allocations: 111.6 kB / 0.5711 GB, free: 21.65 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002413/0.6391, allocations: 1.651 MB / 0.5727 GB, free: 21.26 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.173e-05/0.6391, allocations: 192 / 0.5727 GB, free: 21.26 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.666e-05/0.6392, allocations: 51.03 kB / 0.5728 GB, free: 21.25 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.899e-05/0.6392, allocations: 31.03 kB / 0.5728 GB, free: 21.25 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002589/0.6418, allocations: 2.133 MB / 0.5749 GB, free: 20.94 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.007338/0.6492, allocations: 5.121 MB / 0.5799 GB, free: 18.39 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001852/0.6511, allocations: 1.614 MB / 0.5815 GB, free: 18.17 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008635/0.6519, allocations: 0.68 MB / 0.5822 GB, free: 18.08 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003554/0.6523, allocations: 241.3 kB / 0.5824 GB, free: 18.03 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.726e-05/0.6524, allocations: 45.97 kB / 0.5824 GB, free: 17.99 MB / 394.7 MB Notification: Performance of pre-optimization done (n=96): time 3.486e-06/0.6524, allocations: 0 / 0.5824 GB, free: 17.99 MB / 394.7 MB Notification: Performance of matching and sorting (n=122): time 0.009735/0.6621, allocations: 5.387 MB / 0.5877 GB, free: 15.54 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.638e-05/0.6622, allocations: 64 kB / 0.5877 GB, free: 15.48 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008796/0.6631, allocations: 0.6984 MB / 0.5884 GB, free: 15.07 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 7.04e-05/0.6632, allocations: 49.56 kB / 0.5885 GB, free: 15.02 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002525/0.6634, allocations: 0.4977 MB / 0.589 GB, free: 14.58 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002689/0.6637, allocations: 420.6 kB / 0.5894 GB, free: 14.21 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.538e-05/0.6638, allocations: 23.94 kB / 0.5894 GB, free: 14.19 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001579/0.664, allocations: 348.3 kB / 0.5897 GB, free: 13.85 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008745/0.6648, allocations: 0.6141 MB / 0.5903 GB, free: 13.54 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009784/0.6658, allocations: 0.7837 MB / 0.5911 GB, free: 13.03 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.01416/0.68, allocations: 5.104 MB / 0.5961 GB, free: 9.18 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.887e-06/0.68, allocations: 0 / 0.5961 GB, free: 9.18 MB / 394.7 MB Notification: Performance of matching and sorting (n=145) (initialization): time 0.003515/0.6836, allocations: 1.775 MB / 0.5978 GB, free: 7.387 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.411e-05/0.6836, allocations: 8 kB / 0.5978 GB, free: 7.379 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.933e-05/0.6837, allocations: 4 kB / 0.5978 GB, free: 7.375 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008129/0.6845, allocations: 202.5 kB / 0.598 GB, free: 7.168 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001033/0.6855, allocations: 251.7 kB / 0.5982 GB, free: 6.922 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002684/0.6882, allocations: 2.897 MB / 0.6011 GB, free: 3.836 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009223/0.6892, allocations: 55.97 kB / 0.6011 GB, free: 3.781 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001188/0.6893, allocations: 48.05 kB / 0.6012 GB, free: 3.734 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.0007197/0.69, allocations: 269.6 kB / 0.6014 GB, free: 3.461 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002477/0.6903, allocations: 102.8 kB / 0.6015 GB, free: 3.359 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003295/0.6936, allocations: 1.888 MB / 0.6034 GB, free: 1.457 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.502e-05/0.6936, allocations: 16 kB / 0.6034 GB, free: 1.441 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.508e-06/0.6937, allocations: 3.938 kB / 0.6034 GB, free: 1.438 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.515e-05/0.6937, allocations: 7.969 kB / 0.6034 GB, free: 1.43 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006417/0.7001, allocations: 3.91 MB / 0.6072 GB, free: 13.39 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.439e-05/0.7001, allocations: 7.938 kB / 0.6072 GB, free: 13.38 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007967/0.701, allocations: 207.7 kB / 0.6074 GB, free: 13.18 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007725/0.7017, allocations: 274.3 kB / 0.6077 GB, free: 12.9 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.677e-05/0.7019, allocations: 35.98 kB / 0.6077 GB, free: 12.87 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002413/0.7043, allocations: 2.944 MB / 0.6106 GB, free: 9.742 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.065e-06/0.7043, allocations: 7.938 kB / 0.6106 GB, free: 9.734 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00421/0.7085, allocations: 2.87 MB / 0.6134 GB, free: 6.793 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000535/0.7091, allocations: 171.8 kB / 0.6136 GB, free: 6.605 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002245/0.7093, allocations: 28 kB / 0.6136 GB, free: 6.578 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008401/0.7102, allocations: 63.84 kB / 0.6137 GB, free: 6.516 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001749/0.7103, allocations: 89.02 kB / 0.6137 GB, free: 6.43 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.919e-05/0.7104, allocations: 55.97 kB / 0.6138 GB, free: 6.375 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0007529/0.7112, allocations: 499 kB / 0.6143 GB, free: 5.891 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.91e-07/0.7112, allocations: 0 / 0.6143 GB, free: 5.891 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002604/0.7138, allocations: 0.5465 MB / 0.6148 GB, free: 5.344 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.001935/0.7158, allocations: 0.5948 MB / 0.6154 GB, free: 4.738 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003281/0.7191, allocations: 1.664 MB / 0.617 GB, free: 3.062 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/0.7191, allocations: 0 / 0.617 GB, free: 3.062 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001609/0.7207, allocations: 0.9772 MB / 0.618 GB, free: 2.07 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002261/0.723, allocations: 340 kB / 0.6183 GB, free: 1.746 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005307/0.7283, allocations: 3.022 MB / 0.6212 GB, free: 14.65 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009826/0.7293, allocations: 1.093 MB / 0.6223 GB, free: 13.52 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0009558/0.7303, allocations: 172 kB / 0.6225 GB, free: 13.35 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003089/0.7306, allocations: 99.41 kB / 0.6226 GB, free: 13.25 MB / 426.7 MB Notification: Performance of SimCode: time 8.21e-07/0.7306, allocations: 0 / 0.6226 GB, free: 13.25 MB / 426.7 MB Notification: Performance of Templates: time 0.04263/0.7732, allocations: 23.25 MB / 0.6453 GB, free: 6.145 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)