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/ModelicaServices 4.0.0+maint.om/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/Chemical 1.4.1-master/package.mo", uses=false) Using package Chemical with version 1.4.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001826/0.001826, allocations: 105.9 kB / 16.27 MB, free: 6.41 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002129/0.002129, allocations: 190.3 kB / 17.2 MB, free: 5.953 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.434/1.434, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo): time 0.1062/0.1062, allocations: 15.3 MB / 306.4 MB, free: 15.5 MB / 254.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.002168/0.002168, allocations: 60.58 kB / 371 MB, free: 50.82 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08532/0.08751, allocations: 53.62 MB / 424.6 MB, free: 14.09 MB / 302.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo:4740:7-4740: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.1-master/package.mo:4740:7-4740: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.03267/0.1202, allocations: 25.99 MB / 450.6 MB, free: 4.215 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0159/0.1361, allocations: 12.29 MB / 462.9 MB, free: 7.871 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008192/0.137, allocations: 11.94 kB / 462.9 MB, free: 7.859 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009654/0.138, allocations: 285.7 kB / 463.2 MB, free: 7.578 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003163/0.1412, allocations: 1.039 MB / 464.2 MB, free: 6.531 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004162/0.1453, allocations: 1.546 MB / 465.8 MB, free: 4.977 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002059/0.1474, allocations: 1.392 MB / 467.2 MB, free: 3.578 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001233/0.1487, allocations: 0.8443 MB / 468 MB, free: 2.719 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009506/0.1496, allocations: 0.6701 MB / 468.7 MB, free: 2.047 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001142/0.1508, allocations: 0.7239 MB / 469.4 MB, free: 1.32 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003005/0.1511, allocations: 128 kB / 469.5 MB, free: 1.195 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0036/0.1547, allocations: 1.194 MB / 470.7 MB, free: 0 / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003802/0.1551, allocations: 295.1 kB / 471 MB, free: 15.71 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009036/0.156, allocations: 0.6494 MB / 471.6 MB, free: 15.05 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004895/0.1609, allocations: 2.589 MB / 474.2 MB, free: 12.46 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.784e-06/0.161, allocations: 4 kB / 474.2 MB, free: 12.45 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.161, allocations: 0 / 474.2 MB, free: 12.45 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.694e-05/0.161, allocations: 0 / 474.2 MB, free: 12.45 MB / 350.1 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.002986/0.164, allocations: 1.622 MB / 475.9 MB, free: 10.78 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.049e-05/0.164, allocations: 12.03 kB / 475.9 MB, free: 10.77 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001058/0.1651, allocations: 262.9 kB / 476.1 MB, free: 10.51 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008991/0.166, allocations: 0.5947 MB / 476.7 MB, free: 9.871 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.373e-05/0.1661, allocations: 82.64 kB / 476.8 MB, free: 9.789 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001861/0.1663, allocations: 116.4 kB / 476.9 MB, free: 9.676 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001967/0.1683, allocations: 1.202 MB / 478.1 MB, free: 8.43 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.469e-05/0.1683, allocations: 4 kB / 478.1 MB, free: 8.426 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001057/0.1684, allocations: 43.94 kB / 478.2 MB, free: 8.383 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.862e-05/0.1684, allocations: 28 kB / 478.2 MB, free: 8.355 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002192/0.1706, allocations: 1.332 MB / 479.5 MB, free: 7.016 MB / 350.1 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.006001/0.1767, allocations: 4.037 MB / 483.6 MB, free: 2.742 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001571/0.1782, allocations: 0.9858 MB / 484.6 MB, free: 1.746 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006148/0.1789, allocations: 395.7 kB / 484.9 MB, free: 1.355 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005494/0.1844, allocations: 3.967 MB / 488.9 MB, free: 12.91 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.592e-05/0.1844, allocations: 47 kB / 488.9 MB, free: 12.85 MB / 366.1 MB Notification: Performance of pre-optimization done (n=62): time 2.294e-06/0.1844, allocations: 0 / 488.9 MB, free: 12.85 MB / 366.1 MB Notification: Performance of matching and sorting (n=74): time 0.005061/0.1895, allocations: 2.09 MB / 491 MB, free: 10.7 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.469e-05/0.1896, allocations: 60 kB / 491.1 MB, free: 10.63 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006762/0.1902, allocations: 0.5262 MB / 491.6 MB, free: 10.1 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.926e-05/0.1903, allocations: 45.7 kB / 491.7 MB, free: 10.05 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004128/0.1907, allocations: 0.5293 MB / 492.2 MB, free: 9.508 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002363/0.191, allocations: 260.3 kB / 492.5 MB, free: 9.25 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002852/0.1913, allocations: 186.8 kB / 492.6 MB, free: 9.062 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002195/0.1915, allocations: 382.8 kB / 493 MB, free: 8.68 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004671/0.192, allocations: 234.2 kB / 493.2 MB, free: 8.449 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007544/0.1927, allocations: 0.5447 MB / 493.8 MB, free: 7.766 MB / 366.1 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.006688/0.1994, allocations: 2.129 MB / 495.9 MB, free: 5.473 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.684e-06/0.1995, allocations: 4 kB / 495.9 MB, free: 5.469 MB / 366.1 MB Notification: Performance of matching and sorting (n=126) (initialization): time 0.002041/0.2015, allocations: 0.9623 MB / 496.9 MB, free: 4.496 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.989e-05/0.2016, allocations: 12 kB / 496.9 MB, free: 4.484 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.154e-05/0.2016, allocations: 15.94 kB / 496.9 MB, free: 4.469 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000283/0.2019, allocations: 80.73 kB / 497 MB, free: 4.387 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007273/0.2026, allocations: 235.6 kB / 497.2 MB, free: 4.156 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001958/0.2046, allocations: 1.723 MB / 498.9 MB, free: 2.293 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005149/0.2051, allocations: 28 kB / 499 MB, free: 2.266 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001378/0.2053, allocations: 59.98 kB / 499 MB, free: 2.207 MB / 366.1 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.0004369/0.2057, allocations: 249.5 kB / 499.3 MB, free: 1.953 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001267/0.2058, allocations: 71.09 kB / 499.3 MB, free: 1.883 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001919/0.2078, allocations: 0.8419 MB / 0.4885 GB, free: 1.027 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.055e-06/0.2078, allocations: 11.94 kB / 0.4885 GB, free: 1.016 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.56e-06/0.2078, allocations: 4 kB / 0.4885 GB, free: 1.012 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.786e-06/0.2078, allocations: 3.984 kB / 0.4885 GB, free: 1.008 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002768/0.2106, allocations: 1.75 MB / 0.4902 GB, free: 15.15 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.133e-06/0.2106, allocations: 4 kB / 0.4902 GB, free: 15.15 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006871/0.2113, allocations: 180.1 kB / 0.4904 GB, free: 14.97 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002001/0.2115, allocations: 64.81 kB / 0.4904 GB, free: 14.91 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.785e-05/0.2116, allocations: 35.92 kB / 0.4905 GB, free: 14.87 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001721/0.2133, allocations: 1.708 MB / 0.4921 GB, free: 13.02 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.384e-06/0.2133, allocations: 11.91 kB / 0.4921 GB, free: 13.01 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001967/0.2153, allocations: 1.177 MB / 0.4933 GB, free: 11.79 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001998/0.2155, allocations: 148.2 kB / 0.4934 GB, free: 11.62 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.205e-05/0.2156, allocations: 16 kB / 0.4934 GB, free: 11.61 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003213/0.2159, allocations: 20 kB / 0.4935 GB, free: 11.59 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001562/0.2161, allocations: 80.44 kB / 0.4935 GB, free: 11.51 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.23e-05/0.2162, allocations: 32 kB / 0.4936 GB, free: 11.48 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004575/0.2166, allocations: 350.8 kB / 0.4939 GB, free: 11.14 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.2167, allocations: 0 / 0.4939 GB, free: 11.14 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001297/0.218, allocations: 451.7 kB / 0.4943 GB, free: 10.7 MB / 382.1 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.001115/0.2191, allocations: 0.5102 MB / 0.4948 GB, free: 10.18 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001978/0.2211, allocations: 0.8466 MB / 0.4957 GB, free: 9.316 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.188e-06/0.2211, allocations: 1.688 kB / 0.4957 GB, free: 9.316 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007597/0.2219, allocations: 482.8 kB / 0.4961 GB, free: 8.832 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001017/0.2229, allocations: 181 kB / 0.4963 GB, free: 8.664 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003463/0.2264, allocations: 1.846 MB / 0.4981 GB, free: 6.758 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007792/0.2272, allocations: 1.009 MB / 0.4991 GB, free: 5.715 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004079/0.2276, allocations: 187.4 kB / 0.4993 GB, free: 5.531 MB / 382.1 MB Notification: Performance of SimCode: time 6.41e-07/0.2276, allocations: 0 / 0.4993 GB, free: 5.531 MB / 382.1 MB Notification: Performance of Templates: time 0.1697/0.3973, allocations: 17.36 MB / 0.5162 GB, free: 74.6 MB / 382.1 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)