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.001205/0.001205, allocations: 110.5 kB / 16.42 MB, free: 6.508 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.001174/0.001174, allocations: 189.5 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.317/1.317, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo): time 0.07433/0.07433, allocations: 15.3 MB / 306.5 MB, free: 15.4 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001198/0.001198, allocations: 55.91 kB / 425.9 MB, free: 11.45 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08721/0.08842, allocations: 53.62 MB / 479.5 MB, free: 5.781 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.03596/0.1244, allocations: 25.42 MB / 0.4931 GB, free: 12.44 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01386/0.1383, allocations: 12.28 MB / 0.5051 GB, free: 112 kB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006436/0.139, allocations: 11.94 kB / 0.5051 GB, free: 100 kB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.1851/0.3241, allocations: 278 kB / 0.5053 GB, free: 18.25 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002898/0.327, allocations: 1.045 MB / 0.5064 GB, free: 18.25 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003463/0.3305, allocations: 1.54 MB / 0.5079 GB, free: 18.24 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001604/0.3321, allocations: 1.401 MB / 0.5092 GB, free: 18.12 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008695/0.333, allocations: 0.8429 MB / 0.51 GB, free: 18.05 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006687/0.3337, allocations: 0.6712 MB / 0.5107 GB, free: 18.04 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007886/0.3345, allocations: 0.7266 MB / 0.5114 GB, free: 17.91 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001914/0.3347, allocations: 127.6 kB / 0.5115 GB, free: 17.91 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003065/0.3378, allocations: 1.19 MB / 0.5127 GB, free: 17.81 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000234/0.338, allocations: 290 kB / 0.513 GB, free: 17.77 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005485/0.3386, allocations: 0.6513 MB / 0.5136 GB, free: 17.59 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003732/0.3423, allocations: 2.621 MB / 0.5162 GB, free: 17.02 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.3423, allocations: 0 / 0.5162 GB, free: 17.02 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.3423, allocations: 3.75 kB / 0.5162 GB, free: 17.02 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.037e-05/0.3423, allocations: 0 / 0.5162 GB, free: 17.02 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.002534/0.3449, allocations: 1.617 MB / 0.5177 GB, free: 16 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.648e-05/0.3449, allocations: 8.25 kB / 0.5178 GB, free: 16 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001043/0.346, allocations: 257.3 kB / 0.518 GB, free: 15.93 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008405/0.3468, allocations: 0.6127 MB / 0.5186 GB, free: 15.51 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.57e-05/0.3469, allocations: 84.86 kB / 0.5187 GB, free: 15.47 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001727/0.3471, allocations: 120 kB / 0.5188 GB, free: 15.43 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001877/0.349, allocations: 1.202 MB / 0.52 GB, free: 14.93 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.383e-05/0.349, allocations: 5.125 kB / 0.52 GB, free: 14.92 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001026/0.3491, allocations: 49.28 kB / 0.52 GB, free: 14.88 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.188e-05/0.3492, allocations: 30.31 kB / 0.52 GB, free: 14.88 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002016/0.3512, allocations: 1.333 MB / 0.5214 GB, free: 14.49 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.004961/0.3561, allocations: 4.001 MB / 0.5253 GB, free: 12 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001315/0.3575, allocations: 0.975 MB / 0.5262 GB, free: 11.55 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005255/0.358, allocations: 387.4 kB / 0.5266 GB, free: 11.4 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003932/0.362, allocations: 3.969 MB / 0.5305 GB, free: 8.234 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.692e-05/0.362, allocations: 40.19 kB / 0.5305 GB, free: 8.191 MB / 382.1 MB Notification: Performance of pre-optimization done (n=62): time 2.235e-06/0.362, allocations: 2.719 kB / 0.5305 GB, free: 8.191 MB / 382.1 MB Notification: Performance of matching and sorting (n=74): time 0.004426/0.3664, allocations: 2.105 MB / 0.5326 GB, free: 7.082 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.864e-05/0.3665, allocations: 58.91 kB / 0.5326 GB, free: 7.02 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005105/0.367, allocations: 0.5192 MB / 0.5331 GB, free: 6.699 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.142e-05/0.367, allocations: 41.27 kB / 0.5332 GB, free: 6.656 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002067/0.3672, allocations: 0.5299 MB / 0.5337 GB, free: 6.18 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001288/0.3674, allocations: 259.6 kB / 0.5339 GB, free: 5.961 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002036/0.3676, allocations: 195.9 kB / 0.5341 GB, free: 5.852 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.599e-05/0.3677, allocations: 382.5 kB / 0.5345 GB, free: 5.484 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003596/0.368, allocations: 228.7 kB / 0.5347 GB, free: 5.379 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004605/0.3685, allocations: 0.5487 MB / 0.5352 GB, free: 4.863 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.005777/0.3743, allocations: 2.124 MB / 0.5373 GB, free: 3.594 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.572e-06/0.3743, allocations: 2.75 kB / 0.5373 GB, free: 3.594 MB / 382.1 MB Notification: Performance of matching and sorting (n=126) (initialization): time 0.001521/0.3758, allocations: 0.9628 MB / 0.5382 GB, free: 3.125 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.996e-05/0.3759, allocations: 9.312 kB / 0.5383 GB, free: 3.125 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.328e-05/0.3759, allocations: 10.97 kB / 0.5383 GB, free: 3.125 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002333/0.3761, allocations: 77.62 kB / 0.5383 GB, free: 3.09 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006625/0.3768, allocations: 236.8 kB / 0.5386 GB, free: 3.039 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001282/0.3781, allocations: 1.723 MB / 0.5402 GB, free: 1.414 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005622/0.3787, allocations: 36.08 kB / 0.5403 GB, free: 1.387 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.729e-05/0.3788, allocations: 52 kB / 0.5403 GB, free: 1.336 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.0003592/0.3791, allocations: 257.5 kB / 0.5406 GB, free: 1.078 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001062/0.3792, allocations: 75.06 kB / 0.5406 GB, free: 1.004 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001413/0.3806, allocations: 0.8357 MB / 0.5415 GB, free: 200 kB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.715e-06/0.3807, allocations: 0 / 0.5415 GB, free: 200 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.547e-06/0.3807, allocations: 7.922 kB / 0.5415 GB, free: 192 kB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001145/0.3808, allocations: 136.3 kB / 0.5416 GB, free: 36 kB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.871e-05/0.3809, allocations: 12 kB / 0.5416 GB, free: 24 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002904/0.3812, allocations: 26.61 kB / 0.5416 GB, free: 0 / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001323/0.3813, allocations: 60.05 kB / 0.5417 GB, free: 15.95 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001579/0.3829, allocations: 0.7888 MB / 0.5425 GB, free: 15.16 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001464/0.3844, allocations: 1.069 MB / 0.5435 GB, free: 14.08 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004133/0.3848, allocations: 261.1 kB / 0.5438 GB, free: 13.83 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003969/0.3852, allocations: 346.8 kB / 0.5441 GB, free: 13.49 MB / 398.1 MB Notification: Performance of Backend: time 4.61e-07/0.3852, allocations: 0 / 0.5441 GB, free: 13.49 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0029/0.3881, allocations: 1.288 MB / 0.5453 GB, free: 12.3 MB / 398.1 MB Notification: Performance of SimCode: time 0.002859/0.391, allocations: 2.151 MB / 0.5474 GB, free: 10.16 MB / 398.1 MB Notification: Performance of Templates: time 0.02665/0.4177, allocations: 17.72 MB / 0.5647 GB, free: 9.191 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)