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.000956/0.000956, allocations: 92.16 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000896/0.0008962, allocations: 173 kB / 16.92 MB, free: 6.652 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.38/1.38, allocations: 223.3 MB / 241 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo): time 0.1908/0.1908, allocations: 15.27 MB / 307.4 MB, free: 15.67 MB / 254.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.0003123/0.0003125, allocations: 8 kB / 372.7 MB, free: 3.637 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.287/0.2873, allocations: 54.63 MB / 427.4 MB, free: 40.59 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo:3019:6-3019:65: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:3019:6-3019:65: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.02787/0.3152, allocations: 25.36 MB / 452.7 MB, free: 32.13 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01264/0.3279, allocations: 12.13 MB / 464.9 MB, free: 24.14 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00117/0.3291, allocations: 28.34 kB / 464.9 MB, free: 24.13 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008987/0.33, allocations: 246.9 kB / 465.1 MB, free: 24 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003396/0.3334, allocations: 0.9326 MB / 466.1 MB, free: 23.44 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004729/0.3382, allocations: 1.351 MB / 467.4 MB, free: 22.63 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002411/0.3406, allocations: 1.342 MB / 468.8 MB, free: 21.97 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009076/0.3415, allocations: 0.6764 MB / 469.4 MB, free: 21.67 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008865/0.3424, allocations: 0.6194 MB / 470.1 MB, free: 21.47 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008356/0.3433, allocations: 0.662 MB / 470.7 MB, free: 21.21 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001353/0.3434, allocations: 66.06 kB / 470.8 MB, free: 21.21 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004081/0.3475, allocations: 1.138 MB / 471.9 MB, free: 20.92 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002556/0.3478, allocations: 225.8 kB / 472.1 MB, free: 20.8 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007354/0.3485, allocations: 0.6099 MB / 472.8 MB, free: 20.44 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002404/0.3509, allocations: 1.906 MB / 474.7 MB, free: 19.05 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.097e-06/0.3509, allocations: 0 / 474.7 MB, free: 19.05 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.234e-06/0.351, allocations: 0 / 474.7 MB, free: 19.05 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.751e-05/0.351, allocations: 7.875 kB / 474.7 MB, free: 19.05 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.00222/0.3532, allocations: 1.382 MB / 476 MB, free: 17.75 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.288e-05/0.3533, allocations: 12.03 kB / 476.1 MB, free: 17.74 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009964/0.3543, allocations: 264.5 kB / 476.3 MB, free: 17.51 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007057/0.355, allocations: 0.5768 MB / 476.9 MB, free: 16.97 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.987e-05/0.355, allocations: 86.64 kB / 477 MB, free: 16.89 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001797/0.3552, allocations: 116.3 kB / 477.1 MB, free: 16.77 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001694/0.3569, allocations: 1.207 MB / 478.3 MB, free: 15.75 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.433e-05/0.357, allocations: 0 / 478.3 MB, free: 15.75 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.734e-05/0.3571, allocations: 52 kB / 478.4 MB, free: 15.7 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.885e-05/0.3571, allocations: 28 kB / 478.4 MB, free: 15.67 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001803/0.3589, allocations: 1.338 MB / 479.7 MB, free: 14.51 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.005215/0.3641, allocations: 4.006 MB / 483.7 MB, free: 10.92 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001302/0.3655, allocations: 0.9861 MB / 484.7 MB, free: 9.996 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005346/0.366, allocations: 394.2 kB / 485.1 MB, free: 9.645 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004412/0.3704, allocations: 3.901 MB / 489 MB, free: 5.66 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.92e-05/0.3705, allocations: 39.83 kB / 489 MB, free: 5.613 MB / 350.1 MB Notification: Performance of pre-optimization done (n=62): time 2.365e-06/0.3705, allocations: 0 / 489 MB, free: 5.613 MB / 350.1 MB Notification: Performance of matching and sorting (n=74): time 0.00461/0.3751, allocations: 2.114 MB / 491.1 MB, free: 3.621 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.733e-05/0.3752, allocations: 64.06 kB / 491.2 MB, free: 3.547 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005672/0.3758, allocations: 0.5223 MB / 491.7 MB, free: 3.086 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.14e-05/0.3758, allocations: 41.7 kB / 491.8 MB, free: 3.039 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002641/0.3761, allocations: 0.5326 MB / 492.3 MB, free: 2.551 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001565/0.3762, allocations: 256 kB / 492.6 MB, free: 2.32 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.331e-05/0.3763, allocations: 82 kB / 492.6 MB, free: 2.246 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001271/0.3765, allocations: 382.4 kB / 493 MB, free: 1.887 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004032/0.3769, allocations: 226.7 kB / 493.2 MB, free: 1.695 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005016/0.3774, allocations: 0.5511 MB / 493.8 MB, free: 1.043 MB / 350.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.006218/0.3836, allocations: 2.148 MB / 495.9 MB, free: 15.02 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.004e-06/0.3837, allocations: 8 kB / 495.9 MB, free: 15.01 MB / 366.1 MB Notification: Performance of matching and sorting (n=126) (initialization): time 0.002058/0.3857, allocations: 0.9522 MB / 496.9 MB, free: 14.12 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.005e-05/0.3858, allocations: 12.75 kB / 496.9 MB, free: 14.11 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.65e-05/0.3858, allocations: 8 kB / 496.9 MB, free: 14.1 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002793/0.3861, allocations: 75.03 kB / 497 MB, free: 14.04 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007512/0.3869, allocations: 236.5 kB / 497.2 MB, free: 13.83 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001673/0.3885, allocations: 1.609 MB / 498.8 MB, free: 12.14 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007953/0.3894, allocations: 68.16 kB / 498.9 MB, free: 12.09 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.019e-05/0.3895, allocations: 54.3 kB / 498.9 MB, free: 12.04 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 sytem: 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.0004557/0.3899, allocations: 255.4 kB / 499.2 MB, free: 11.78 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001056/0.39, allocations: 75.16 kB / 499.3 MB, free: 11.7 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001935/0.392, allocations: 0.8378 MB / 0.4884 GB, free: 10.96 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.092e-05/0.392, allocations: 12 kB / 0.4884 GB, free: 10.95 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.179e-06/0.392, allocations: 0 / 0.4884 GB, free: 10.95 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.457e-05/0.392, allocations: 7.734 kB / 0.4884 GB, free: 10.94 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002896/0.3949, allocations: 1.745 MB / 0.4901 GB, free: 9.355 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.414e-06/0.395, allocations: 4 kB / 0.4901 GB, free: 9.352 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006957/0.3957, allocations: 187.3 kB / 0.4903 GB, free: 9.191 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000213/0.3959, allocations: 62.47 kB / 0.4903 GB, free: 9.137 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.496e-05/0.396, allocations: 30.86 kB / 0.4904 GB, free: 9.109 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001437/0.3974, allocations: 1.596 MB / 0.4919 GB, free: 7.434 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.071e-06/0.3974, allocations: 7.969 kB / 0.4919 GB, free: 7.426 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001907/0.3993, allocations: 1.184 MB / 0.4931 GB, free: 6.27 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002198/0.3996, allocations: 151.6 kB / 0.4932 GB, free: 6.105 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.876e-05/0.3997, allocations: 20.8 kB / 0.4933 GB, free: 6.086 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003818/0.4001, allocations: 40.53 kB / 0.4933 GB, free: 6.051 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001558/0.4002, allocations: 62.59 kB / 0.4934 GB, free: 6.008 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.795e-05/0.4003, allocations: 38.72 kB / 0.4934 GB, free: 5.973 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004968/0.4008, allocations: 346.8 kB / 0.4937 GB, free: 5.684 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4008, allocations: 0 / 0.4937 GB, free: 5.684 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001696/0.4025, allocations: 453.6 kB / 0.4942 GB, free: 5.25 MB / 366.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.001118/0.4036, allocations: 0.5047 MB / 0.4947 GB, free: 4.785 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001677/0.4053, allocations: 0.8152 MB / 0.4955 GB, free: 4.035 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.709e-06/0.4054, allocations: 0 / 0.4955 GB, free: 4.035 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007012/0.4061, allocations: 486.2 kB / 0.4959 GB, free: 3.582 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001269/0.4073, allocations: 175.7 kB / 0.4961 GB, free: 3.438 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003829/0.4112, allocations: 2.376 MB / 0.4984 GB, free: 1.188 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008223/0.412, allocations: 1.017 MB / 0.4994 GB, free: 224 kB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004377/0.4125, allocations: 187.4 kB / 0.4996 GB, free: 36 kB / 366.1 MB Notification: Performance of SimCode: time 1.322e-06/0.4125, allocations: 0 / 0.4996 GB, free: 36 kB / 366.1 MB Notification: Performance of Templates: time 0.02801/0.4405, allocations: 17.27 MB / 0.5164 GB, free: 14.79 MB / 398.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)