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.08309/0.0831, allocations: 15.29 MB / 31.09 MB, free: 3.113 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.0012/0.0012, allocations: 198 kB / 36.14 MB, free: 2.141 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.317/1.317, allocations: 222.9 MB / 264 MB, free: 4.895 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.0009966/0.0009963, allocations: 91.75 kB / 318.4 MB, free: 3.441 MB / 250.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.001017/0.001017, allocations: 53.19 kB / 382.7 MB, free: 48.87 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08419/0.08523, allocations: 53.62 MB / 436.3 MB, free: 1.035 MB / 298.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0-master/package.mo:4721:7-4721:66:writable] Warning: An inner declaration for outer component system could not be found and was automatically generated. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0-master/package.mo:4721:7-4721:66:writable] Notification: The diagnostics message for the missing inner is: Your model is using an outer "system" component but an inner "system" component is not defined. For simulation drag Modelica.Fluid.System into your model to specify system properties. Notification: Performance of NFInst.instantiate(Chemical.Examples.WaterSublimation): time 0.02812/0.1134, allocations: 23.33 MB / 459.7 MB, free: 9.812 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0128/0.1262, allocations: 12.19 MB / 471.9 MB, free: 13.57 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009915/0.1272, allocations: 19.88 kB / 471.9 MB, free: 13.55 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008975/0.1281, allocations: 250.3 kB / 472.1 MB, free: 13.3 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002902/0.1311, allocations: 0.9159 MB / 473 MB, free: 12.38 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004049/0.1351, allocations: 1.352 MB / 474.4 MB, free: 11.02 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.001973/0.1371, allocations: 1.349 MB / 475.7 MB, free: 9.668 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001098/0.1382, allocations: 0.7147 MB / 476.5 MB, free: 8.926 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001017/0.1393, allocations: 0.6582 MB / 477.1 MB, free: 8.266 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001197/0.1405, allocations: 0.7044 MB / 477.8 MB, free: 7.559 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003006/0.1408, allocations: 87.98 kB / 477.9 MB, free: 7.473 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003886/0.1447, allocations: 1.135 MB / 479 MB, free: 6.336 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004757/0.1452, allocations: 259.1 kB / 479.3 MB, free: 6.082 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001228/0.1464, allocations: 0.6065 MB / 479.9 MB, free: 5.473 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006182/0.1526, allocations: 2.437 MB / 482.3 MB, free: 3.027 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.002e-06/0.1527, allocations: 0 / 482.3 MB, free: 3.027 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.1527, allocations: 0 / 482.3 MB, free: 3.027 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.201e-05/0.1528, allocations: 0 / 482.3 MB, free: 3.027 MB / 346.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.003672/0.1564, allocations: 1.618 MB / 483.9 MB, free: 1.355 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.29e-05/0.1565, allocations: 12.86 kB / 484 MB, free: 1.344 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001075/0.1576, allocations: 251 kB / 484.2 MB, free: 1.098 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009048/0.1585, allocations: 0.6024 MB / 484.8 MB, free: 464 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.126e-05/0.1586, allocations: 94.64 kB / 484.9 MB, free: 368 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001505/0.1587, allocations: 108.4 kB / 485 MB, free: 260 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001725/0.1604, allocations: 1.21 MB / 486.2 MB, free: 15 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.003e-05/0.1605, allocations: 0 / 486.2 MB, free: 15 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.639e-05/0.1606, allocations: 44 kB / 486.3 MB, free: 14.96 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.285e-05/0.1606, allocations: 32 kB / 486.3 MB, free: 14.93 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001859/0.1625, allocations: 1.34 MB / 487.6 MB, free: 13.58 MB / 362.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.005265/0.1677, allocations: 4.014 MB / 491.6 MB, free: 9.328 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001343/0.1691, allocations: 0.9681 MB / 492.6 MB, free: 8.348 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005183/0.1696, allocations: 391.7 kB / 493 MB, free: 7.965 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004648/0.1743, allocations: 3.99 MB / 497 MB, free: 3.496 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.809e-05/0.1743, allocations: 47.12 kB / 497 MB, free: 3.441 MB / 362.7 MB Notification: Performance of pre-optimization done (n=62): time 2.895e-06/0.1744, allocations: 0 / 497 MB, free: 3.441 MB / 362.7 MB Notification: Performance of matching and sorting (n=74): time 0.00439/0.1788, allocations: 2.09 MB / 499.1 MB, free: 1.297 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.827e-05/0.1788, allocations: 60.06 kB / 499.2 MB, free: 1.227 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000535/0.1793, allocations: 0.5224 MB / 499.7 MB, free: 0.6914 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.263e-05/0.1794, allocations: 41.7 kB / 499.7 MB, free: 0.6445 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002752/0.1797, allocations: 0.537 MB / 0.4886 GB, free: 100 kB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001739/0.1799, allocations: 264.2 kB / 0.4888 GB, free: 15.84 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002214/0.1801, allocations: 186.9 kB / 0.489 GB, free: 15.65 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001381/0.1802, allocations: 382.8 kB / 0.4894 GB, free: 15.27 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004051/0.1806, allocations: 230.2 kB / 0.4896 GB, free: 15.04 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005638/0.1812, allocations: 0.5408 MB / 0.4901 GB, free: 14.36 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: solid.temperature = solid.temperature_start (gas.temperature_start = solid.temperature_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.005679/0.1869, allocations: 2.125 MB / 0.4922 GB, free: 12.07 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.13e-05/0.1869, allocations: 4 kB / 0.4922 GB, free: 12.06 MB / 378.7 MB Notification: Performance of matching and sorting (n=126) (initialization): time 0.001572/0.1885, allocations: 0.9584 MB / 0.4931 GB, free: 11.09 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.908e-05/0.1886, allocations: 8 kB / 0.4931 GB, free: 11.09 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.399e-05/0.1886, allocations: 12 kB / 0.4931 GB, free: 11.07 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002346/0.1888, allocations: 72.81 kB / 0.4932 GB, free: 11 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006659/0.1895, allocations: 239.6 kB / 0.4934 GB, free: 10.77 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001428/0.1909, allocations: 1.605 MB / 0.495 GB, free: 9.027 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000625/0.1916, allocations: 63.94 kB / 0.4951 GB, free: 8.965 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.967e-05/0.1917, allocations: 59.97 kB / 0.4951 GB, free: 8.906 MB / 378.7 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: solid.temperature = solid.temperature_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 47 * 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 (119): * Single equations (assignments): 118 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004098/0.1921, allocations: 249.5 kB / 0.4954 GB, free: 8.652 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001518/0.1922, allocations: 71.16 kB / 0.4954 GB, free: 8.582 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001774/0.194, allocations: 0.8418 MB / 0.4962 GB, free: 7.73 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.171e-05/0.1941, allocations: 8 kB / 0.4963 GB, free: 7.723 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/0.1941, allocations: 0 / 0.4963 GB, free: 7.723 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.051e-05/0.1941, allocations: 11.91 kB / 0.4963 GB, free: 7.711 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002755/0.1968, allocations: 1.758 MB / 0.498 GB, free: 5.852 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.064e-06/0.1969, allocations: 4 kB / 0.498 GB, free: 5.848 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006283/0.1975, allocations: 183.7 kB / 0.4982 GB, free: 5.668 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002174/0.1977, allocations: 64.83 kB / 0.4982 GB, free: 5.602 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.435e-05/0.1978, allocations: 27.98 kB / 0.4982 GB, free: 5.574 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001448/0.1993, allocations: 1.585 MB / 0.4998 GB, free: 3.852 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.72e-06/0.1993, allocations: 7.938 kB / 0.4998 GB, free: 3.844 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1809/0.3801, allocations: 6.555 MB / 0.5062 GB, free: 67.6 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001339/0.3803, allocations: 147.9 kB / 0.5063 GB, free: 67.51 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.939e-05/0.3804, allocations: 15.97 kB / 0.5064 GB, free: 67.51 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003437/0.3808, allocations: 41.11 kB / 0.5064 GB, free: 67.51 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001595/0.3809, allocations: 72.08 kB / 0.5065 GB, free: 67.51 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.72e-05/0.381, allocations: 32.33 kB / 0.5065 GB, free: 67.51 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0004025/0.3814, allocations: 349.6 kB / 0.5068 GB, free: 67.42 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.3814, allocations: 2.5 kB / 0.5068 GB, free: 67.42 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001633/0.383, allocations: 0.5289 MB / 0.5074 GB, free: 67.42 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * 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 (80): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0007877/0.3838, allocations: 0.5073 MB / 0.5078 GB, free: 67.33 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001239/0.3851, allocations: 0.8062 MB / 0.5086 GB, free: 67.21 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/0.3851, allocations: 0 / 0.5086 GB, free: 67.21 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006566/0.3858, allocations: 482.5 kB / 0.5091 GB, free: 67.1 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008916/0.3867, allocations: 174.8 kB / 0.5093 GB, free: 67.09 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003341/0.39, allocations: 2.871 MB / 0.5121 GB, free: 65.59 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005187/0.3906, allocations: 1.031 MB / 0.5131 GB, free: 64.89 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0008362/0.3914, allocations: 207.3 kB / 0.5133 GB, free: 64.88 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002898/0.3917, allocations: 151.1 kB / 0.5134 GB, free: 64.87 MB / 378.7 MB Notification: Performance of SimCode: time 7.61e-07/0.3917, allocations: 0 / 0.5134 GB, free: 64.87 MB / 378.7 MB Notification: Performance of Templates: time 0.02382/0.4155, allocations: 15.74 MB / 0.5288 GB, free: 60.52 MB / 378.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)