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: "" <> buildModelFMU(Chemical.Examples.WaterSublimation,fileNamePrefix="Chemical_Chemical_Examples_WaterSublimation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Examples.WaterSublimation,fileNamePrefix="Chemical_Chemical_Examples_WaterSublimation",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0-master/package.mo): time 0.08943/0.08943, allocations: 15.25 MB / 22.73 MB, free: 0.9414 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.0009186/0.0009186, allocations: 185 kB / 27.52 MB, free: 6.109 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.223/1.223, allocations: 221.5 MB / 253.7 MB, free: 10.43 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.0008226/0.0008226, allocations: 90.34 kB / 308.7 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.808e-05/1.804e-05, allocations: 0 / 369.7 MB, free: 53.99 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08192/0.08196, allocations: 54.64 MB / 424.3 MB, free: 13.73 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.33/0.4119, allocations: 102.4 MB / 0.5144 GB, free: 12.41 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001809/0.4122, allocations: 64 kB / 0.5144 GB, free: 12.41 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.07706/0.4892, allocations: 38.36 MB / 0.5519 GB, free: 18.68 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.142e-06/0.4893, allocations: 0 / 0.5519 GB, free: 18.68 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.44e-05/0.4893, allocations: 23.25 kB / 0.5519 GB, free: 18.68 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.001924/0.4912, allocations: 1.432 MB / 0.5533 GB, free: 17.71 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.477e-05/0.4913, allocations: 11.77 kB / 0.5533 GB, free: 17.7 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008178/0.4921, allocations: 319.3 kB / 0.5536 GB, free: 17.57 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001016/0.4931, allocations: 0.8306 MB / 0.5545 GB, free: 17.11 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.842e-05/0.4932, allocations: 35.22 kB / 0.5545 GB, free: 17.11 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001084/0.4933, allocations: 67.03 kB / 0.5546 GB, free: 17.11 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001901/0.4952, allocations: 2.027 MB / 0.5565 GB, free: 16.89 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001384/0.4966, allocations: 1.219 MB / 0.5577 GB, free: 16.6 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.949e-05/0.4966, allocations: 3.875 kB / 0.5577 GB, free: 16.6 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.105e-05/0.4967, allocations: 7.938 kB / 0.5577 GB, free: 16.59 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.38e-05/0.4967, allocations: 27.12 kB / 0.5578 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.005446/0.5022, allocations: 4.925 MB / 0.5626 GB, free: 13.19 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001568/0.5037, allocations: 1.558 MB / 0.5641 GB, free: 12.04 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006884/0.5044, allocations: 0.6316 MB / 0.5647 GB, free: 11.41 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000325/0.5048, allocations: 240.3 kB / 0.5649 GB, free: 11.17 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.352e-05/0.5048, allocations: 43.3 kB / 0.565 GB, free: 11.12 MB / 378.7 MB Notification: Performance of pre-optimization done (n=96): time 2.554e-06/0.5048, allocations: 0 / 0.565 GB, free: 11.12 MB / 378.7 MB Notification: Performance of matching and sorting (n=118): time 0.009364/0.5142, allocations: 4.701 MB / 0.5696 GB, free: 6.371 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.257e-05/0.5142, allocations: 68.72 kB / 0.5696 GB, free: 6.289 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005678/0.5148, allocations: 0.5387 MB / 0.5702 GB, free: 5.746 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.033e-05/0.5149, allocations: 29.7 kB / 0.5702 GB, free: 5.711 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002986/0.5152, allocations: 0.5037 MB / 0.5707 GB, free: 5.199 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002564/0.5154, allocations: 386.2 kB / 0.5711 GB, free: 4.816 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.598e-05/0.5155, allocations: 0 / 0.5711 GB, free: 4.816 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001723/0.5157, allocations: 398.7 kB / 0.5714 GB, free: 4.418 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006327/0.5163, allocations: 0.5571 MB / 0.572 GB, free: 3.863 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007572/0.5171, allocations: 0.7158 MB / 0.5727 GB, free: 3.094 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.006278/0.5233, allocations: 2.443 MB / 0.5751 GB, free: 0.6328 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.689e-06/0.5234, allocations: 0 / 0.5751 GB, free: 0.6328 MB / 378.7 MB Notification: Performance of matching and sorting (n=141) (initialization): time 0.002856/0.5262, allocations: 1.754 MB / 0.5768 GB, free: 14.87 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.915e-05/0.5262, allocations: 16.02 kB / 0.5768 GB, free: 14.85 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.097e-06/0.5263, allocations: 4 kB / 0.5768 GB, free: 14.85 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004472/0.5267, allocations: 182.4 kB / 0.577 GB, free: 14.66 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008042/0.5275, allocations: 235.4 kB / 0.5772 GB, free: 14.43 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002107/0.5297, allocations: 2.834 MB / 0.58 GB, free: 11.43 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005818/0.5302, allocations: 47.83 kB / 0.58 GB, free: 11.38 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.851e-05/0.5303, allocations: 47.97 kB / 0.58 GB, free: 11.34 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.0002045/0.5305, allocations: 120.8 kB / 0.5802 GB, free: 11.21 MB / 394.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002731/0.5333, allocations: 1.634 MB / 0.5818 GB, free: 9.562 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001197/0.5334, allocations: 98.77 kB / 0.5819 GB, free: 9.465 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003286/0.5367, allocations: 1.844 MB / 0.5837 GB, free: 7.598 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.223e-05/0.5367, allocations: 16 kB / 0.5837 GB, free: 7.582 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/0.5367, allocations: 0 / 0.5837 GB, free: 7.582 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.253e-05/0.5368, allocations: 3.984 kB / 0.5837 GB, free: 7.578 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005362/0.5421, allocations: 3.743 MB / 0.5873 GB, free: 3.746 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.023e-06/0.5421, allocations: 4 kB / 0.5873 GB, free: 3.742 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007128/0.5429, allocations: 211.7 kB / 0.5875 GB, free: 3.535 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004142/0.5433, allocations: 182.5 kB / 0.5877 GB, free: 3.348 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.309e-05/0.5433, allocations: 24.05 kB / 0.5877 GB, free: 3.324 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002039/0.5454, allocations: 2.829 MB / 0.5905 GB, free: 348 kB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.562e-06/0.5454, allocations: 7.953 kB / 0.5905 GB, free: 340 kB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003905/0.5493, allocations: 2.972 MB / 0.5934 GB, free: 13.19 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001914/0.5495, allocations: 167.9 kB / 0.5936 GB, free: 13 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001098/0.5496, allocations: 12 kB / 0.5936 GB, free: 12.99 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004736/0.5501, allocations: 31.97 kB / 0.5936 GB, free: 12.96 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001246/0.5503, allocations: 93.09 kB / 0.5937 GB, free: 12.87 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.965e-05/0.5503, allocations: 39.98 kB / 0.5937 GB, free: 12.83 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0004392/0.5508, allocations: 427.2 kB / 0.5941 GB, free: 12.42 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5508, allocations: 0 / 0.5941 GB, free: 12.42 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00116/0.5519, allocations: 0.4996 MB / 0.5946 GB, free: 11.92 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.005158/0.5571, allocations: 5.114 MB / 0.5996 GB, free: 6.688 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001925/0.559, allocations: 1.512 MB / 0.6011 GB, free: 5.16 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.5591, allocations: 0 / 0.6011 GB, free: 5.16 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009658/0.56, allocations: 0.873 MB / 0.602 GB, free: 4.285 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00132/0.5614, allocations: 306.2 kB / 0.6022 GB, free: 3.992 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003217/0.5646, allocations: 2.081 MB / 0.6043 GB, free: 1.82 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000642/0.5653, allocations: 1.119 MB / 0.6054 GB, free: 0.6719 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0005991/0.5659, allocations: 159.7 kB / 0.6055 GB, free: 0.5117 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005445/0.5664, allocations: 483.3 kB / 0.606 GB, free: 40 kB / 410.7 MB Notification: Performance of SimCode: time 3.71e-07/0.5664, allocations: 0 / 0.606 GB, free: 40 kB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05038/0.6168, allocations: 28.02 MB / 0.6333 GB, free: 4.188 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001743/0.617, allocations: 106.3 kB / 0.6334 GB, free: 4 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.635/3.252, allocations: 3.938 kB / 0.6335 GB, free: 3.996 MB / 442.7 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Chemical_Chemical_Examples_WaterSublimation_fmu --startTime=0 --stopTime=49.7 --timeout=50 --tolerance=1e-06 Chemical_Chemical_Examples_WaterSublimation.fmu > Chemical_Chemical.Examples.WaterSublimation.pipe 2>&1)