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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0-master/package.mo): time 0.06622/0.06622, allocations: 15.26 MB / 22.54 MB, free: 2.918 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.000999/0.0009988, allocations: 190.6 kB / 27.31 MB, free: 4.312 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.082/1.082, allocations: 221.4 MB / 253.3 MB, free: 10.34 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.0009536/0.0009537, allocations: 88.67 kB / 308.4 MB, free: 10.61 MB / 250.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 5.169e-06/5.26e-06, allocations: 1.156 kB / 369 MB, free: 53.91 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06748/0.06749, allocations: 54.63 MB / 423.7 MB, free: 14.36 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2303/0.2978, allocations: 102.4 MB / 0.5137 GB, free: 8.184 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001458/0.298, allocations: 72.62 kB / 0.5138 GB, free: 8.184 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: time 0.07886/0.3769, allocations: 38.29 MB / 0.5511 GB, free: 14.23 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.377e-05/0.377, allocations: 23.97 kB / 0.5512 GB, free: 14.23 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.002776/0.3798, allocations: 1.45 MB / 0.5526 GB, free: 13.25 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.183e-05/0.3798, allocations: 9.406 kB / 0.5526 GB, free: 13.25 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001137/0.3809, allocations: 325.9 kB / 0.5529 GB, free: 13.11 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001514/0.3825, allocations: 0.8393 MB / 0.5537 GB, free: 12.64 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.92e-05/0.3825, allocations: 36.53 kB / 0.5538 GB, free: 12.64 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001662/0.3827, allocations: 70.28 kB / 0.5538 GB, free: 12.64 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002581/0.3853, allocations: 2.038 MB / 0.5558 GB, free: 12.42 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00181/0.3871, allocations: 1.22 MB / 0.557 GB, free: 11.74 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.459e-05/0.3871, allocations: 0 / 0.557 GB, free: 11.74 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.623e-05/0.3872, allocations: 4.969 kB / 0.557 GB, free: 11.73 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.03e-05/0.3872, allocations: 31.56 kB / 0.557 GB, free: 11.73 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007061/0.3943, allocations: 5.003 MB / 0.5619 GB, free: 8.027 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001779/0.3961, allocations: 1.427 MB / 0.5633 GB, free: 7.047 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006909/0.3968, allocations: 0.6433 MB / 0.5639 GB, free: 6.402 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003142/0.3971, allocations: 235.4 kB / 0.5642 GB, free: 6.18 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.926e-05/0.3972, allocations: 43.34 kB / 0.5642 GB, free: 6.129 MB / 378.7 MB Notification: Performance of pre-optimization done (n=96): time 2.074e-06/0.3972, allocations: 0 / 0.5642 GB, free: 6.129 MB / 378.7 MB Notification: Performance of matching and sorting (n=118): time 0.01022/0.4074, allocations: 4.76 MB / 0.5689 GB, free: 1.32 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.944e-05/0.4074, allocations: 68.39 kB / 0.5689 GB, free: 1.242 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006014/0.408, allocations: 0.5426 MB / 0.5695 GB, free: 0.6914 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.497e-05/0.4081, allocations: 25.7 kB / 0.5695 GB, free: 0.6602 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002005/0.4083, allocations: 415.8 kB / 0.5699 GB, free: 252 kB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002655/0.4086, allocations: 382.3 kB / 0.5702 GB, free: 15.86 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.7e-05/0.4086, allocations: 0 / 0.5702 GB, free: 15.86 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001612/0.4088, allocations: 398.7 kB / 0.5706 GB, free: 15.46 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006845/0.4095, allocations: 0.561 MB / 0.5712 GB, free: 14.9 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007785/0.4103, allocations: 0.7213 MB / 0.5719 GB, free: 14.12 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.007016/0.4173, allocations: 2.476 MB / 0.5743 GB, free: 11.63 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/0.4173, allocations: 4 kB / 0.5743 GB, free: 11.63 MB / 394.7 MB Notification: Performance of matching and sorting (n=141) (initialization): time 0.003007/0.4203, allocations: 1.764 MB / 0.576 GB, free: 9.852 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.302e-05/0.4204, allocations: 8 kB / 0.576 GB, free: 9.844 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.767e-06/0.4204, allocations: 7.938 kB / 0.576 GB, free: 9.836 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004656/0.4208, allocations: 178.5 kB / 0.5762 GB, free: 9.652 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009256/0.4218, allocations: 247.7 kB / 0.5764 GB, free: 9.41 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002086/0.4239, allocations: 2.817 MB / 0.5792 GB, free: 6.438 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005789/0.4245, allocations: 39.97 kB / 0.5792 GB, free: 6.398 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.661e-05/0.4245, allocations: 47.92 kB / 0.5793 GB, free: 6.352 MB / 394.7 MB Warning: Assuming redundant initial conditions for the following 1 initial equations: 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.0001887/0.4247, allocations: 132.8 kB / 0.5794 GB, free: 6.215 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000123/0.4249, allocations: 90.78 kB / 0.5795 GB, free: 6.125 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003396/0.4283, allocations: 1.888 MB / 0.5813 GB, free: 4.219 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.021e-05/0.4283, allocations: 12 kB / 0.5813 GB, free: 4.207 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.4283, allocations: 0 / 0.5813 GB, free: 4.207 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.459e-05/0.4283, allocations: 11.97 kB / 0.5814 GB, free: 4.195 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005363/0.4337, allocations: 3.764 MB / 0.585 GB, free: 352 kB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.873e-06/0.4337, allocations: 4.5 kB / 0.585 GB, free: 348 kB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000781/0.4345, allocations: 215.7 kB / 0.5852 GB, free: 132 kB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004341/0.4349, allocations: 178.5 kB / 0.5854 GB, free: 15.95 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.119e-05/0.435, allocations: 15.98 kB / 0.5854 GB, free: 15.93 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002068/0.4371, allocations: 2.833 MB / 0.5882 GB, free: 12.94 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.27e-06/0.4371, allocations: 4 kB / 0.5882 GB, free: 12.93 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004049/0.4412, allocations: 3.011 MB / 0.5911 GB, free: 9.754 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001736/0.4414, allocations: 171.9 kB / 0.5913 GB, free: 9.566 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001252/0.4415, allocations: 4 kB / 0.5913 GB, free: 9.562 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004874/0.442, allocations: 35.91 kB / 0.5913 GB, free: 9.527 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001163/0.4421, allocations: 80.8 kB / 0.5914 GB, free: 9.445 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.218e-05/0.4422, allocations: 39.98 kB / 0.5915 GB, free: 9.406 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.0004153/0.4426, allocations: 427.2 kB / 0.5919 GB, free: 8.992 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00118/0.4438, allocations: 0.4957 MB / 0.5923 GB, free: 8.496 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.0009618/0.4448, allocations: 0.5954 MB / 0.5929 GB, free: 7.922 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001781/0.4466, allocations: 1.517 MB / 0.5944 GB, free: 6.398 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.4466, allocations: 0 / 0.5944 GB, free: 6.398 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009857/0.4476, allocations: 0.8565 MB / 0.5952 GB, free: 5.531 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001176/0.4487, allocations: 293.2 kB / 0.5955 GB, free: 5.25 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002974/0.4517, allocations: 1.841 MB / 0.5973 GB, free: 3.324 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009065/0.4526, allocations: 1.223 MB / 0.5985 GB, free: 2.066 MB / 410.7 MB Notification: Performance of SimCode: time 2.4e-07/0.4527, allocations: 0 / 0.5985 GB, free: 2.066 MB / 410.7 MB Notification: Performance of Templates: time 0.0297/0.4824, allocations: 20.78 MB / 0.6188 GB, free: 13.47 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)