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.1194/0.1194, allocations: 15.26 MB / 22.73 MB, free: 0.9727 MB / 18.57 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001078/0.001078, allocations: 185 kB / 27.52 MB, free: 6.117 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.388/1.388, allocations: 221.5 MB / 253.7 MB, free: 10.45 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.0009397/0.0009396, allocations: 100.1 kB / 308.8 MB, free: 10.46 MB / 250.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 1.986e-05/1.964e-05, allocations: 6.656 kB / 369.6 MB, free: 54.01 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1032/0.1032, allocations: 54.64 MB / 424.2 MB, free: 13.82 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3825/0.4858, allocations: 102.4 MB / 0.5143 GB, free: 12.37 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002376/0.4861, allocations: 70.95 kB / 0.5144 GB, free: 12.37 MB / 362.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.08445/0.5705, allocations: 38.36 MB / 0.5518 GB, free: 18.66 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.343e-06/0.5706, allocations: 0 / 0.5518 GB, free: 18.66 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.585e-05/0.5706, allocations: 30.36 kB / 0.5518 GB, free: 18.66 MB / 378.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.002925/0.5736, allocations: 1.419 MB / 0.5532 GB, free: 17.7 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.482e-05/0.5736, allocations: 13.55 kB / 0.5532 GB, free: 17.7 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001067/0.5747, allocations: 316.1 kB / 0.5535 GB, free: 17.57 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001457/0.5762, allocations: 0.8381 MB / 0.5544 GB, free: 17.1 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.579e-05/0.5762, allocations: 38.34 kB / 0.5544 GB, free: 17.1 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001232/0.5764, allocations: 64 kB / 0.5545 GB, free: 17.1 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002316/0.5787, allocations: 2.028 MB / 0.5564 GB, free: 16.88 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00166/0.5804, allocations: 1.216 MB / 0.5576 GB, free: 16.6 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.47e-05/0.5804, allocations: 0 / 0.5576 GB, free: 16.6 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.327e-05/0.5805, allocations: 0 / 0.5576 GB, free: 16.6 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.403e-05/0.5805, allocations: 38.73 kB / 0.5577 GB, free: 16.59 MB / 378.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.006562/0.5871, allocations: 4.923 MB / 0.5625 GB, free: 13.19 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001936/0.589, allocations: 1.557 MB / 0.564 GB, free: 12.15 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007963/0.5898, allocations: 0.6316 MB / 0.5646 GB, free: 11.52 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004283/0.5903, allocations: 244.1 kB / 0.5648 GB, free: 11.28 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.096e-05/0.5903, allocations: 43.3 kB / 0.5649 GB, free: 11.23 MB / 378.7 MB Notification: Performance of pre-optimization done (n=96): time 3.467e-06/0.5903, allocations: 0 / 0.5649 GB, free: 11.23 MB / 378.7 MB Notification: Performance of matching and sorting (n=118): time 0.01074/0.6011, allocations: 4.692 MB / 0.5695 GB, free: 6.484 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.978e-05/0.6012, allocations: 64.7 kB / 0.5695 GB, free: 6.406 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007673/0.602, allocations: 0.5387 MB / 0.5701 GB, free: 5.863 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.487e-05/0.602, allocations: 29.7 kB / 0.5701 GB, free: 5.828 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003903/0.6024, allocations: 0.5076 MB / 0.5706 GB, free: 5.312 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003495/0.6028, allocations: 390.1 kB / 0.571 GB, free: 4.926 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.84e-05/0.6028, allocations: 0 / 0.571 GB, free: 4.926 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002332/0.6031, allocations: 398.7 kB / 0.5713 GB, free: 4.527 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007111/0.6038, allocations: 0.5571 MB / 0.5719 GB, free: 3.973 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000835/0.6046, allocations: 0.7139 MB / 0.5726 GB, free: 3.203 MB / 378.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.006823/0.6115, allocations: 2.447 MB / 0.575 GB, free: 0.7422 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.519e-06/0.6115, allocations: 0 / 0.575 GB, free: 0.7422 MB / 378.7 MB Notification: Performance of matching and sorting (n=141) (initialization): time 0.003373/0.6149, allocations: 1.746 MB / 0.5767 GB, free: 14.98 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.374e-05/0.6149, allocations: 8.484 kB / 0.5767 GB, free: 14.97 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.065e-05/0.6149, allocations: 12 kB / 0.5767 GB, free: 14.96 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004969/0.6154, allocations: 178.5 kB / 0.5769 GB, free: 14.78 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008568/0.6163, allocations: 239.6 kB / 0.5771 GB, free: 14.54 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002565/0.6189, allocations: 2.832 MB / 0.5799 GB, free: 11.54 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007183/0.6196, allocations: 43.83 kB / 0.5799 GB, free: 11.5 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.456e-05/0.6197, allocations: 43.98 kB / 0.5799 GB, free: 11.46 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. Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: H2O_solid.z:DUMMY_STATE(unit = "1" protected = true ) "Charge number of ion" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: H2O_gaseuous.solution.I:VARIABLE(flow=false min = 0.0 max = 0.0 unit = "1" ) "Mole fraction based ionic strength of the solution" type: Real 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 (129): * Single equations (assignments): 126 * 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.0002536/0.6199, allocations: 127 kB / 0.5801 GB, free: 11.33 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001342/0.6201, allocations: 94.86 kB / 0.5801 GB, free: 11.23 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00363/0.6237, allocations: 1.848 MB / 0.582 GB, free: 9.367 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.491e-05/0.6238, allocations: 12 kB / 0.582 GB, free: 9.355 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.202e-06/0.6238, allocations: 7.891 kB / 0.582 GB, free: 9.348 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.394e-05/0.6238, allocations: 7.969 kB / 0.582 GB, free: 9.34 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005971/0.6298, allocations: 3.735 MB / 0.5856 GB, free: 5.516 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.907e-06/0.6298, allocations: 4 kB / 0.5856 GB, free: 5.512 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007261/0.6305, allocations: 207.7 kB / 0.5858 GB, free: 5.309 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004475/0.631, allocations: 183 kB / 0.586 GB, free: 5.121 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.565e-05/0.6311, allocations: 16 kB / 0.586 GB, free: 5.105 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002335/0.6334, allocations: 2.844 MB / 0.5888 GB, free: 2.105 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.302e-06/0.6334, allocations: 4 kB / 0.5888 GB, free: 2.102 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00444/0.6379, allocations: 2.979 MB / 0.5917 GB, free: 14.95 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003717/0.6383, allocations: 167.9 kB / 0.5919 GB, free: 14.77 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001076/0.6384, allocations: 4 kB / 0.5919 GB, free: 14.76 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004949/0.6389, allocations: 35.88 kB / 0.5919 GB, free: 14.73 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001499/0.639, allocations: 97.08 kB / 0.592 GB, free: 14.63 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.351e-05/0.6391, allocations: 43.98 kB / 0.592 GB, free: 14.59 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0005399/0.6397, allocations: 423.2 kB / 0.5924 GB, free: 14.18 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.6397, allocations: 0 / 0.5924 GB, free: 14.18 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001517/0.6412, allocations: 0.4957 MB / 0.5929 GB, free: 13.68 MB / 410.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 (118): * Single equations (assignments): 115 * 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.001031/0.6422, allocations: 0.593 MB / 0.5935 GB, free: 13.11 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002218/0.6445, allocations: 1.511 MB / 0.595 GB, free: 11.59 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/0.6445, allocations: 0 / 0.595 GB, free: 11.59 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00122/0.6457, allocations: 0.8708 MB / 0.5958 GB, free: 10.71 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001548/0.6473, allocations: 302.8 kB / 0.5961 GB, free: 10.42 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003176/0.6505, allocations: 1.81 MB / 0.5979 GB, free: 8.535 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008098/0.6513, allocations: 1.119 MB / 0.599 GB, free: 7.387 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.000857/0.6522, allocations: 163.7 kB / 0.5991 GB, free: 7.223 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002443/0.6524, allocations: 91.41 kB / 0.5992 GB, free: 7.133 MB / 410.7 MB Notification: Performance of SimCode: time 9.92e-07/0.6524, allocations: 0 / 0.5992 GB, free: 7.133 MB / 410.7 MB Notification: Performance of Templates: time 0.03214/0.6846, allocations: 19.15 MB / 0.6179 GB, free: 4.125 MB / 426.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)