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.1586/0.1586, allocations: 15.26 MB / 27.81 MB, free: 5.395 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.001201/0.001201, allocations: 192.4 kB / 32.7 MB, free: 0.5117 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.437/1.437, allocations: 221.4 MB / 258.8 MB, free: 76 kB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008918/0.0008918, allocations: 105.9 kB / 314 MB, free: 15.78 MB / 250.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 2.898e-05/2.91e-05, allocations: 4 kB / 376.5 MB, free: 1.457 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4009/0.401, allocations: 54.6 MB / 431.1 MB, free: 50.05 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1467/0.5478, allocations: 103.1 MB / 0.5217 GB, free: 12.2 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001936/0.5481, allocations: 68.81 kB / 0.5217 GB, free: 12.13 MB / 394.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.09936/0.6474, allocations: 38.88 MB / 0.5597 GB, free: 5.371 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.6475, allocations: 4 kB / 0.5597 GB, free: 5.367 MB / 426.7 MB Notification: Performance of Transformations before backend: time 4.663e-05/0.6475, allocations: 24 kB / 0.5597 GB, free: 5.344 MB / 426.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.002664/0.6502, allocations: 1.419 MB / 0.5611 GB, free: 3.875 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.259e-05/0.6502, allocations: 8.031 kB / 0.5611 GB, free: 3.867 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001038/0.6513, allocations: 313.7 kB / 0.5614 GB, free: 3.559 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00146/0.6528, allocations: 0.8254 MB / 0.5622 GB, free: 2.691 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.593e-05/0.6529, allocations: 94.27 kB / 0.5623 GB, free: 2.598 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001661/0.653, allocations: 115.9 kB / 0.5624 GB, free: 2.484 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002381/0.6554, allocations: 1.612 MB / 0.564 GB, free: 0.8281 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.224e-05/0.6555, allocations: 0 / 0.564 GB, free: 0.8281 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.069e-05/0.6556, allocations: 48 kB / 0.564 GB, free: 0.7812 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.317e-05/0.6556, allocations: 28 kB / 0.5641 GB, free: 0.7539 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002744/0.6584, allocations: 2.094 MB / 0.5661 GB, free: 14.65 MB / 442.7 MB Warning: The model contains alias variables with conflicting start and/or 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.008025/0.6664, allocations: 5.127 MB / 0.5711 GB, free: 9.289 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002181/0.6686, allocations: 1.587 MB / 0.5727 GB, free: 7.691 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008221/0.6694, allocations: 0.6591 MB / 0.5733 GB, free: 7.027 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003926/0.6698, allocations: 240.4 kB / 0.5735 GB, free: 6.793 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.407e-05/0.6699, allocations: 43.34 kB / 0.5736 GB, free: 6.742 MB / 442.7 MB Notification: Performance of pre-optimization done (n=96): time 3.086e-06/0.6699, allocations: 0 / 0.5736 GB, free: 6.742 MB / 442.7 MB Notification: Performance of matching and sorting (n=122): time 0.009442/0.6793, allocations: 4.642 MB / 0.5781 GB, free: 2.039 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.074e-05/0.6794, allocations: 64.41 kB / 0.5782 GB, free: 1.965 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000779/0.6802, allocations: 0.617 MB / 0.5788 GB, free: 1.34 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 7.118e-05/0.6803, allocations: 45.7 kB / 0.5788 GB, free: 1.289 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003443/0.6806, allocations: 0.5039 MB / 0.5793 GB, free: 0.7773 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003098/0.6809, allocations: 410 kB / 0.5797 GB, free: 380 kB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.949e-05/0.681, allocations: 20 kB / 0.5797 GB, free: 360 kB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.2844/0.9655, allocations: 355.6 kB / 0.5801 GB, free: 104.7 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001321/0.9668, allocations: 0.5927 MB / 0.5806 GB, free: 104.7 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009515/0.9678, allocations: 0.7649 MB / 0.5814 GB, free: 104.6 MB / 442.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.01222/0.98, allocations: 3.638 MB / 0.5849 GB, free: 104.4 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.49e-06/0.9801, allocations: 2.062 kB / 0.5849 GB, free: 104.4 MB / 442.7 MB Notification: Performance of matching and sorting (n=145) (initialization): time 0.003096/0.9832, allocations: 1.746 MB / 0.5866 GB, free: 104.3 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.705e-05/0.9832, allocations: 8.703 kB / 0.5867 GB, free: 104.3 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.418e-05/0.9832, allocations: 5 kB / 0.5867 GB, free: 104.3 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006523/0.9839, allocations: 208.8 kB / 0.5869 GB, free: 104.3 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009371/0.9848, allocations: 246 kB / 0.5871 GB, free: 104.3 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002244/0.9871, allocations: 2.884 MB / 0.5899 GB, free: 102 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001016/0.9881, allocations: 61.25 kB / 0.59 GB, free: 102 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001062/0.9882, allocations: 44.91 kB / 0.59 GB, free: 102 MB / 442.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 () * 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.0002402/0.9885, allocations: 169.3 kB / 0.5902 GB, free: 101.9 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001623/0.9887, allocations: 97.64 kB / 0.5903 GB, free: 101.9 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003564/0.9922, allocations: 1.849 MB / 0.5921 GB, free: 101.8 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.841e-05/0.9923, allocations: 18.53 kB / 0.5921 GB, free: 101.8 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.145e-06/0.9923, allocations: 3.469 kB / 0.5921 GB, free: 101.8 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.147e-05/0.9923, allocations: 7.5 kB / 0.5921 GB, free: 101.8 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006336/0.9987, allocations: 3.862 MB / 0.5959 GB, free: 101.3 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-05/0.9987, allocations: 4.062 kB / 0.5959 GB, free: 101.3 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008693/0.9996, allocations: 213.4 kB / 0.5961 GB, free: 101.3 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006005/1, allocations: 210.6 kB / 0.5963 GB, free: 101.2 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.634e-05/1, allocations: 36.66 kB / 0.5963 GB, free: 101.2 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002047/1.002, allocations: 2.885 MB / 0.5991 GB, free: 98.96 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.063e-05/1.002, allocations: 7.281 kB / 0.5991 GB, free: 98.96 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004276/1.007, allocations: 2.972 MB / 0.602 GB, free: 98.3 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004182/1.007, allocations: 172.8 kB / 0.6022 GB, free: 98.16 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001168/1.007, allocations: 30.86 kB / 0.6022 GB, free: 98.16 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005618/1.008, allocations: 50.8 kB / 0.6023 GB, free: 98.16 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001839/1.008, allocations: 94.36 kB / 0.6024 GB, free: 98.15 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.208e-05/1.008, allocations: 42.78 kB / 0.6024 GB, free: 98.15 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0006874/1.009, allocations: 490.2 kB / 0.6029 GB, free: 98.05 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.3e-07/1.009, allocations: 1.062 kB / 0.6029 GB, free: 98.05 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001809/1.011, allocations: 0.5456 MB / 0.6034 GB, free: 98.05 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 4 (H2O_gaseuous.logn,otherSubstances.logn,solid.temperature,H2O_solid.logn) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (122): * Single equations (assignments): 119 * 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 Backend phase and start with SimCode phase: time 0.001259/1.012, allocations: 0.6037 MB / 0.604 GB, free: 97.96 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.002785/1.015, allocations: 1.608 MB / 0.6056 GB, free: 97.83 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.823e-06/1.015, allocations: 8.594 kB / 0.6056 GB, free: 97.83 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001459/1.016, allocations: 0.9199 MB / 0.6065 GB, free: 97.52 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001879/1.018, allocations: 327.4 kB / 0.6068 GB, free: 97.45 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004063/1.022, allocations: 1.893 MB / 0.6086 GB, free: 96.52 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000911/1.023, allocations: 1.131 MB / 0.6097 GB, free: 95.8 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001052/1.024, allocations: 178.6 kB / 0.6099 GB, free: 95.79 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002458/1.024, allocations: 92.75 kB / 0.61 GB, free: 95.78 MB / 442.7 MB Notification: Performance of SimCode: time 1.623e-06/1.024, allocations: 0 / 0.61 GB, free: 95.78 MB / 442.7 MB Notification: Performance of Templates: time 0.03463/1.059, allocations: 21.75 MB / 0.6312 GB, free: 94.32 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)