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.09428/0.09428, allocations: 15.26 MB / 30.21 MB, free: 3.305 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.000999/0.0009991, allocations: 178.3 kB / 35.29 MB, free: 2.379 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.405/1.405, allocations: 223.2 MB / 263.4 MB, free: 6.504 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.0009317/0.0009318, allocations: 92.92 kB / 318.8 MB, free: 3.453 MB / 250.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.0003646/0.0003647, allocations: 7.375 kB / 384 MB, free: 50.68 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08471/0.08509, allocations: 54.65 MB / 438.7 MB, free: 296 kB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3798/0.4649, allocations: 103.2 MB / 0.5291 GB, free: 15.54 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002239/0.4652, allocations: 73.22 kB / 0.5292 GB, free: 15.54 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.08928/0.5545, allocations: 38.98 MB / 0.5672 GB, free: 23.29 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.845e-06/0.5545, allocations: 8.062 kB / 0.5673 GB, free: 23.28 MB / 394.7 MB Notification: Performance of Transformations before backend: time 6.882e-05/0.5546, allocations: 22.97 kB / 0.5673 GB, free: 23.28 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.004203/0.5588, allocations: 1.552 MB / 0.5688 GB, free: 22.23 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.258e-05/0.5589, allocations: 7.719 kB / 0.5688 GB, free: 22.23 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002942/0.5592, allocations: 169 kB / 0.569 GB, free: 22.16 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001617/0.5608, allocations: 311.4 kB / 0.5693 GB, free: 22.03 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002016/0.5629, allocations: 0.8333 MB / 0.5701 GB, free: 21.55 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.456e-05/0.5629, allocations: 86.52 kB / 0.5702 GB, free: 21.54 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002065/0.5632, allocations: 119.6 kB / 0.5703 GB, free: 21.54 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00326/0.5664, allocations: 1.643 MB / 0.5719 GB, free: 21.14 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.213e-05/0.5665, allocations: 0 / 0.5719 GB, free: 21.14 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001262/0.5666, allocations: 43.06 kB / 0.5719 GB, free: 21.14 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.458e-05/0.5667, allocations: 30.88 kB / 0.5719 GB, free: 21.14 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003792/0.5705, allocations: 2.132 MB / 0.574 GB, free: 20.83 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.01135/0.5819, allocations: 5.124 MB / 0.579 GB, free: 18.31 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002968/0.5849, allocations: 1.613 MB / 0.5806 GB, free: 18.09 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005723/0.5855, allocations: 251.3 kB / 0.5808 GB, free: 18.03 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.958e-05/0.5855, allocations: 41.81 kB / 0.5809 GB, free: 17.99 MB / 394.7 MB Notification: Performance of pre-optimization done (n=96): time 4.799e-06/0.5855, allocations: 0 / 0.5809 GB, free: 17.99 MB / 394.7 MB Notification: Performance of matching and sorting (n=122): time 0.01613/0.6017, allocations: 5.384 MB / 0.5861 GB, free: 15.76 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.547e-05/0.6018, allocations: 62 kB / 0.5862 GB, free: 15.7 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001164/0.603, allocations: 0.6169 MB / 0.5868 GB, free: 15.34 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001015/0.6031, allocations: 48.08 kB / 0.5869 GB, free: 15.29 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000379/0.6035, allocations: 0.5008 MB / 0.5873 GB, free: 14.84 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003461/0.6038, allocations: 421.8 kB / 0.5877 GB, free: 14.47 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.474e-05/0.6039, allocations: 22.38 kB / 0.5878 GB, free: 14.45 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001863/0.6041, allocations: 351.5 kB / 0.5881 GB, free: 14.11 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001486/0.6056, allocations: 0.6115 MB / 0.5887 GB, free: 13.8 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001695/0.6074, allocations: 0.7852 MB / 0.5895 GB, free: 13.29 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.02297/0.6303, allocations: 3.663 MB / 0.593 GB, free: 11.39 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.076e-05/0.6304, allocations: 11.89 kB / 0.5931 GB, free: 11.38 MB / 394.7 MB Notification: Performance of matching and sorting (n=145) (initialization): time 0.005669/0.6361, allocations: 1.775 MB / 0.5948 GB, free: 9.586 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.544e-05/0.6362, allocations: 8 kB / 0.5948 GB, free: 9.578 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.785e-05/0.6362, allocations: 4 kB / 0.5948 GB, free: 9.574 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001126/0.6374, allocations: 218.8 kB / 0.595 GB, free: 9.352 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002009/0.6394, allocations: 243.6 kB / 0.5952 GB, free: 9.113 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004714/0.6441, allocations: 2.917 MB / 0.5981 GB, free: 6.008 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001854/0.6461, allocations: 59.86 kB / 0.5981 GB, free: 5.949 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002911/0.6464, allocations: 47.92 kB / 0.5982 GB, free: 5.902 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.001117/0.6475, allocations: 273.6 kB / 0.5984 GB, free: 5.625 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003988/0.648, allocations: 102.7 kB / 0.5985 GB, free: 5.523 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006116/0.6541, allocations: 1.888 MB / 0.6004 GB, free: 3.613 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.931e-05/0.6542, allocations: 16 kB / 0.6004 GB, free: 3.598 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.025e-05/0.6542, allocations: 0 / 0.6004 GB, free: 3.598 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.754e-05/0.6543, allocations: 7.969 kB / 0.6004 GB, free: 3.59 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01053/0.6648, allocations: 3.91 MB / 0.6042 GB, free: 15.56 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.794e-05/0.6649, allocations: 4 kB / 0.6042 GB, free: 15.55 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001538/0.6664, allocations: 203.7 kB / 0.6044 GB, free: 15.36 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001212/0.6677, allocations: 278.5 kB / 0.6047 GB, free: 15.07 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001509/0.6678, allocations: 35.94 kB / 0.6047 GB, free: 15.04 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004092/0.6719, allocations: 2.976 MB / 0.6076 GB, free: 11.88 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.147e-05/0.672, allocations: 7.938 kB / 0.6076 GB, free: 11.87 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007111/0.6791, allocations: 3.039 MB / 0.6106 GB, free: 8.668 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005903/0.6798, allocations: 183.7 kB / 0.6108 GB, free: 8.469 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003127/0.6801, allocations: 28.06 kB / 0.6108 GB, free: 8.441 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001186/0.6813, allocations: 63.84 kB / 0.6109 GB, free: 8.379 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002647/0.6816, allocations: 92.83 kB / 0.611 GB, free: 8.289 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001437/0.6818, allocations: 36 kB / 0.611 GB, free: 8.254 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001182/0.683, allocations: 499 kB / 0.6115 GB, free: 7.773 MB / 410.7 MB Notification: Performance of sort global known variables: time 8.41e-07/0.683, allocations: 7.938 kB / 0.6115 GB, free: 7.766 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002789/0.6858, allocations: 0.5426 MB / 0.612 GB, free: 7.223 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.008813/0.6947, allocations: 5.126 MB / 0.617 GB, free: 1.953 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.00399/0.6987, allocations: 1.656 MB / 0.6186 GB, free: 296 kB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.147e-05/0.6988, allocations: 0 / 0.6186 GB, free: 296 kB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002469/0.7013, allocations: 0.9656 MB / 0.6196 GB, free: 15.31 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002663/0.704, allocations: 329.2 kB / 0.6199 GB, free: 14.99 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01118/0.7152, allocations: 6.373 MB / 0.6261 GB, free: 8.441 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001339/0.7166, allocations: 1.123 MB / 0.6272 GB, free: 7.289 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001745/0.7183, allocations: 168.1 kB / 0.6274 GB, free: 7.121 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001276/0.7197, allocations: 487.3 kB / 0.6278 GB, free: 6.645 MB / 426.7 MB Notification: Performance of SimCode: time 2.174e-06/0.7197, allocations: 0 / 0.6278 GB, free: 6.645 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0694/0.7891, allocations: 32.1 MB / 0.6592 GB, free: 6.812 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002282/0.7894, allocations: 198.7 kB / 0.6594 GB, free: 6.559 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.068/3.857, allocations: 0 / 0.6594 GB, free: 6.559 MB / 458.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)