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.001116/0.001116, allocations: 115.2 kB / 16.42 MB, free: 6.441 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.001278/0.001278, allocations: 183.9 kB / 17.35 MB, free: 5.738 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.325/1.325, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo): time 0.07806/0.07806, allocations: 15.31 MB / 306.5 MB, free: 15.41 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001205/0.001205, allocations: 56.12 kB / 425.8 MB, free: 11.48 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09862/0.09984, allocations: 53.62 MB / 479.5 MB, free: 5.801 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.03668/0.1366, allocations: 25.49 MB / 0.4931 GB, free: 12.38 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0148/0.1514, allocations: 12.28 MB / 0.5051 GB, free: 56 kB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009043/0.1523, allocations: 19.88 kB / 0.5051 GB, free: 36 kB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.221/0.3734, allocations: 275.7 kB / 0.5054 GB, free: 18.88 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002885/0.3763, allocations: 1.06 MB / 0.5064 GB, free: 18.88 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00372/0.38, allocations: 1.543 MB / 0.5079 GB, free: 18.87 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001743/0.3818, allocations: 1.404 MB / 0.5093 GB, free: 18.72 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001171/0.3829, allocations: 0.8428 MB / 0.5101 GB, free: 18.65 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001157/0.3841, allocations: 0.6709 MB / 0.5108 GB, free: 18.64 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001018/0.3851, allocations: 0.7241 MB / 0.5115 GB, free: 18.51 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002252/0.3854, allocations: 129.7 kB / 0.5116 GB, free: 18.51 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003692/0.3891, allocations: 1.188 MB / 0.5128 GB, free: 18.41 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000244/0.3893, allocations: 296 kB / 0.5131 GB, free: 18.37 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005789/0.3899, allocations: 0.6512 MB / 0.5137 GB, free: 18.2 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003878/0.3938, allocations: 2.615 MB / 0.5163 GB, free: 17.29 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.591e-06/0.3938, allocations: 0 / 0.5163 GB, free: 17.29 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.3938, allocations: 1.469 kB / 0.5163 GB, free: 17.29 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.178e-05/0.3939, allocations: 0 / 0.5163 GB, free: 17.29 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.002592/0.3965, allocations: 1.62 MB / 0.5178 GB, free: 16.27 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.72e-05/0.3965, allocations: 10.42 kB / 0.5178 GB, free: 16.27 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001064/0.3976, allocations: 256.3 kB / 0.5181 GB, free: 16.19 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000909/0.3985, allocations: 0.6173 MB / 0.5187 GB, free: 15.77 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.809e-05/0.3986, allocations: 85.52 kB / 0.5188 GB, free: 15.73 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000171/0.3988, allocations: 119.2 kB / 0.5189 GB, free: 15.69 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001901/0.4007, allocations: 1.198 MB / 0.5201 GB, free: 15.19 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.243e-05/0.4007, allocations: 3.938 kB / 0.5201 GB, free: 15.19 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001009/0.4008, allocations: 46.41 kB / 0.5201 GB, free: 15.15 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.266e-05/0.4008, allocations: 30.66 kB / 0.5201 GB, free: 15.15 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002053/0.4029, allocations: 1.338 MB / 0.5214 GB, free: 14.75 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.005108/0.408, allocations: 3.991 MB / 0.5253 GB, free: 12.27 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00135/0.4094, allocations: 0.982 MB / 0.5263 GB, free: 11.82 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005431/0.4099, allocations: 393.6 kB / 0.5267 GB, free: 11.66 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004144/0.4141, allocations: 3.967 MB / 0.5305 GB, free: 8.496 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.549e-05/0.4141, allocations: 35.12 kB / 0.5306 GB, free: 8.453 MB / 382.1 MB Notification: Performance of pre-optimization done (n=62): time 2.826e-06/0.4141, allocations: 7.516 kB / 0.5306 GB, free: 8.453 MB / 382.1 MB Notification: Performance of matching and sorting (n=74): time 0.004414/0.4185, allocations: 2.1 MB / 0.5326 GB, free: 7.277 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.206e-05/0.4186, allocations: 61.59 kB / 0.5327 GB, free: 7.215 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005129/0.4191, allocations: 0.523 MB / 0.5332 GB, free: 6.891 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.11e-05/0.4191, allocations: 44.47 kB / 0.5333 GB, free: 6.844 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000214/0.4194, allocations: 0.5202 MB / 0.5338 GB, free: 6.379 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001393/0.4195, allocations: 261 kB / 0.534 GB, free: 6.156 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002221/0.4197, allocations: 191.7 kB / 0.5342 GB, free: 6.047 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.779e-05/0.4198, allocations: 390.8 kB / 0.5346 GB, free: 5.676 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003926/0.4202, allocations: 227.5 kB / 0.5348 GB, free: 5.574 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00053/0.4208, allocations: 0.5501 MB / 0.5353 GB, free: 5.055 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.005924/0.4267, allocations: 2.119 MB / 0.5374 GB, free: 3.789 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.192e-06/0.4267, allocations: 5.656 kB / 0.5374 GB, free: 3.789 MB / 382.1 MB Notification: Performance of matching and sorting (n=126) (initialization): time 0.00154/0.4283, allocations: 0.9584 MB / 0.5383 GB, free: 3.316 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.984e-05/0.4283, allocations: 9.969 kB / 0.5383 GB, free: 3.316 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.377e-05/0.4283, allocations: 13.25 kB / 0.5384 GB, free: 3.316 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002414/0.4286, allocations: 73.55 kB / 0.5384 GB, free: 3.285 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006883/0.4293, allocations: 238.4 kB / 0.5386 GB, free: 3.234 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001271/0.4306, allocations: 1.723 MB / 0.5403 GB, free: 1.539 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000619/0.4312, allocations: 32 kB / 0.5404 GB, free: 1.508 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.108e-05/0.4313, allocations: 59.98 kB / 0.5404 GB, free: 1.449 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.0004194/0.4317, allocations: 251.7 kB / 0.5407 GB, free: 1.199 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001068/0.4318, allocations: 75.06 kB / 0.5407 GB, free: 1.125 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001483/0.4333, allocations: 0.8389 MB / 0.5415 GB, free: 320 kB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.817e-06/0.4333, allocations: 3.984 kB / 0.5416 GB, free: 316 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.806e-06/0.4333, allocations: 6.594 kB / 0.5416 GB, free: 312 kB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001183/0.4335, allocations: 136.2 kB / 0.5417 GB, free: 156 kB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.116e-05/0.4336, allocations: 16 kB / 0.5417 GB, free: 140 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002911/0.4339, allocations: 12 kB / 0.5417 GB, free: 128 kB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001017/0.434, allocations: 68.5 kB / 0.5418 GB, free: 60 kB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001588/0.4356, allocations: 0.7841 MB / 0.5425 GB, free: 15.28 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001501/0.4371, allocations: 1.068 MB / 0.5436 GB, free: 14.2 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000442/0.4375, allocations: 265 kB / 0.5438 GB, free: 13.94 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0004168/0.4379, allocations: 346.8 kB / 0.5442 GB, free: 13.61 MB / 398.1 MB Notification: Performance of Backend: time 3.61e-07/0.438, allocations: 4 kB / 0.5442 GB, free: 13.6 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003306/0.4413, allocations: 1.29 MB / 0.5454 GB, free: 12.41 MB / 398.1 MB Notification: Performance of SimCode: time 0.002667/0.444, allocations: 2.151 MB / 0.5475 GB, free: 10.27 MB / 398.1 MB Notification: Performance of Templates: time 0.02608/0.47, allocations: 17.7 MB / 0.5648 GB, free: 9.301 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)