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.001509/0.001509, allocations: 106.5 kB / 16.41 MB, free: 6.453 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.001507/0.001507, allocations: 192.2 kB / 17.34 MB, free: 5.719 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.444/1.444, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo): time 0.08103/0.08103, allocations: 15.31 MB / 306.5 MB, free: 15.41 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001206/0.001206, allocations: 64.12 kB / 425.8 MB, free: 11.46 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09749/0.09871, allocations: 53.62 MB / 479.5 MB, free: 5.793 MB / 350.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.03593/0.1347, allocations: 25.43 MB / 0.4931 GB, free: 12.45 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01413/0.1488, allocations: 12.28 MB / 0.505 GB, free: 128 kB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007961/0.1497, allocations: 15.94 kB / 0.5051 GB, free: 112 kB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.2336/0.3833, allocations: 273.6 kB / 0.5053 GB, free: 18.23 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003644/0.387, allocations: 1.046 MB / 0.5063 GB, free: 18.23 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004543/0.3916, allocations: 1.542 MB / 0.5078 GB, free: 18.22 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002509/0.3941, allocations: 1.401 MB / 0.5092 GB, free: 18.11 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001284/0.3954, allocations: 0.843 MB / 0.51 GB, free: 18.04 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001119/0.3965, allocations: 0.6726 MB / 0.5107 GB, free: 18.03 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001249/0.3978, allocations: 0.7289 MB / 0.5114 GB, free: 17.89 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002301/0.398, allocations: 124.4 kB / 0.5115 GB, free: 17.89 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004819/0.4029, allocations: 1.185 MB / 0.5127 GB, free: 17.8 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005002/0.4034, allocations: 293.3 kB / 0.513 GB, free: 17.75 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001175/0.4046, allocations: 0.6517 MB / 0.5136 GB, free: 17.58 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00754/0.4121, allocations: 2.619 MB / 0.5162 GB, free: 17.03 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.312e-06/0.4122, allocations: 1.469 kB / 0.5162 GB, free: 17.03 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.4122, allocations: 0 / 0.5162 GB, free: 17.03 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.985e-05/0.4122, allocations: 0 / 0.5162 GB, free: 17.03 MB / 382.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.003673/0.4159, allocations: 1.619 MB / 0.5177 GB, free: 16.01 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.819e-05/0.416, allocations: 10.66 kB / 0.5178 GB, free: 16.01 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001273/0.4173, allocations: 256.5 kB / 0.518 GB, free: 15.93 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001072/0.4184, allocations: 0.6133 MB / 0.5186 GB, free: 15.52 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.82e-05/0.4184, allocations: 88.02 kB / 0.5187 GB, free: 15.48 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001805/0.4186, allocations: 120.5 kB / 0.5188 GB, free: 15.43 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00218/0.4208, allocations: 1.202 MB / 0.52 GB, free: 14.93 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.452e-05/0.4209, allocations: 8.125 kB / 0.52 GB, free: 14.93 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001053/0.421, allocations: 45.22 kB / 0.52 GB, free: 14.89 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.892e-05/0.421, allocations: 27.66 kB / 0.52 GB, free: 14.89 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002262/0.4233, allocations: 1.334 MB / 0.5213 GB, free: 14.5 MB / 382.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.005931/0.4292, allocations: 4.001 MB / 0.5253 GB, free: 12 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001481/0.4307, allocations: 0.9774 MB / 0.5262 GB, free: 11.56 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005601/0.4313, allocations: 389 kB / 0.5266 GB, free: 11.4 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004394/0.4357, allocations: 3.964 MB / 0.5305 GB, free: 8.238 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.361e-05/0.4358, allocations: 43.48 kB / 0.5305 GB, free: 8.195 MB / 382.1 MB Notification: Performance of pre-optimization done (n=62): time 2.134e-06/0.4358, allocations: 0 / 0.5305 GB, free: 8.195 MB / 382.1 MB Notification: Performance of matching and sorting (n=74): time 0.004776/0.4405, allocations: 2.101 MB / 0.5325 GB, free: 7.109 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.954e-05/0.4406, allocations: 60.31 kB / 0.5326 GB, free: 7.047 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006087/0.4412, allocations: 0.5222 MB / 0.5331 GB, free: 6.723 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.665e-05/0.4413, allocations: 40.45 kB / 0.5332 GB, free: 6.68 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002509/0.4415, allocations: 0.5366 MB / 0.5337 GB, free: 6.203 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001381/0.4417, allocations: 258.8 kB / 0.5339 GB, free: 5.984 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002133/0.4419, allocations: 190.8 kB / 0.5341 GB, free: 5.875 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.816e-05/0.442, allocations: 377.9 kB / 0.5345 GB, free: 5.512 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003822/0.4424, allocations: 232.9 kB / 0.5347 GB, free: 5.406 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005064/0.4429, allocations: 0.5469 MB / 0.5352 GB, free: 4.891 MB / 382.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.005638/0.4485, allocations: 2.123 MB / 0.5373 GB, free: 3.621 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.603e-06/0.4486, allocations: 3.188 kB / 0.5373 GB, free: 3.621 MB / 382.1 MB Notification: Performance of matching and sorting (n=126) (initialization): time 0.001488/0.4501, allocations: 0.9598 MB / 0.5382 GB, free: 3.152 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.201e-05/0.4501, allocations: 9.594 kB / 0.5382 GB, free: 3.152 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.751e-05/0.4501, allocations: 19.02 kB / 0.5383 GB, free: 3.148 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000247/0.4504, allocations: 67.8 kB / 0.5383 GB, free: 3.121 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006666/0.4511, allocations: 238 kB / 0.5386 GB, free: 3.07 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001266/0.4523, allocations: 1.722 MB / 0.5402 GB, free: 1.441 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006179/0.453, allocations: 34.62 kB / 0.5403 GB, free: 1.426 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.414e-05/0.4531, allocations: 58.86 kB / 0.5403 GB, free: 1.375 MB / 382.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.0004267/0.4535, allocations: 250.3 kB / 0.5406 GB, free: 1.121 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001103/0.4536, allocations: 75 kB / 0.5406 GB, free: 1.047 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00144/0.455, allocations: 0.8419 MB / 0.5415 GB, free: 240 kB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.787e-06/0.4551, allocations: 14.7 kB / 0.5415 GB, free: 228 kB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.928e-06/0.4551, allocations: 0 / 0.5415 GB, free: 228 kB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.666e-06/0.4551, allocations: 6.641 kB / 0.5415 GB, free: 224 kB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002759/0.4579, allocations: 1.746 MB / 0.5432 GB, free: 14.39 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.047e-06/0.4579, allocations: 4 kB / 0.5432 GB, free: 14.39 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006646/0.4586, allocations: 186.4 kB / 0.5434 GB, free: 14.21 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002012/0.4588, allocations: 70.08 kB / 0.5434 GB, free: 14.14 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.07e-05/0.4588, allocations: 31.92 kB / 0.5435 GB, free: 14.11 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001544/0.4604, allocations: 1.705 MB / 0.5451 GB, free: 12.28 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.438e-06/0.4604, allocations: 3.938 kB / 0.5451 GB, free: 12.27 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001807/0.4622, allocations: 1.181 MB / 0.5463 GB, free: 11.05 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002349/0.4625, allocations: 148.2 kB / 0.5464 GB, free: 10.89 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.415e-05/0.4626, allocations: 20 kB / 0.5464 GB, free: 10.87 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003234/0.4629, allocations: 16 kB / 0.5465 GB, free: 10.86 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001359/0.463, allocations: 78.06 kB / 0.5465 GB, free: 10.78 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.119e-05/0.4631, allocations: 36 kB / 0.5466 GB, free: 10.75 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0004326/0.4635, allocations: 346.8 kB / 0.5469 GB, free: 10.41 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4636, allocations: 0 / 0.5469 GB, free: 10.41 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001546/0.4651, allocations: 455.7 kB / 0.5473 GB, free: 9.965 MB / 398.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.0009582/0.4661, allocations: 0.5088 MB / 0.5478 GB, free: 9.527 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001435/0.4675, allocations: 0.8144 MB / 0.5486 GB, free: 8.707 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/0.4675, allocations: 0 / 0.5486 GB, free: 8.707 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006461/0.4682, allocations: 488.7 kB / 0.5491 GB, free: 8.219 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001011/0.4692, allocations: 182.8 kB / 0.5493 GB, free: 8.059 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003089/0.4723, allocations: 1.818 MB / 0.551 GB, free: 6.23 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005966/0.4729, allocations: 1.003 MB / 0.552 GB, free: 5.211 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000405/0.4733, allocations: 191.4 kB / 0.5522 GB, free: 5.031 MB / 398.1 MB Notification: Performance of SimCode: time 5.81e-07/0.4734, allocations: 2.656 kB / 0.5522 GB, free: 5.031 MB / 398.1 MB Notification: Performance of Templates: time 0.02291/0.4963, allocations: 17.48 MB / 0.5693 GB, free: 4.297 MB / 414.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)