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.01187/0.01187, allocations: 99.31 kB / 15.73 MB, free: 6.047 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.002158/0.002158, allocations: 188.9 kB / 16.67 MB, free: 5.977 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.487/1.487, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo): time 0.291/0.291, allocations: 15.32 MB / 305.8 MB, free: 15.29 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001323/0.001323, allocations: 67.89 kB / 425.2 MB, free: 13.12 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4355/0.4369, allocations: 53.6 MB / 478.8 MB, free: 26.02 MB / 366.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.04099/0.4779, allocations: 25.43 MB / 0.4924 GB, free: 9.277 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01491/0.4929, allocations: 12.29 MB / 0.5044 GB, free: 12.94 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001902/0.4948, allocations: 15.94 kB / 0.5044 GB, free: 12.93 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001119/0.496, allocations: 281.7 kB / 0.5047 GB, free: 12.65 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00433/0.5003, allocations: 1.043 MB / 0.5057 GB, free: 11.6 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005492/0.5058, allocations: 1.546 MB / 0.5072 GB, free: 10.04 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002757/0.5086, allocations: 1.407 MB / 0.5086 GB, free: 8.629 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001369/0.51, allocations: 0.8364 MB / 0.5094 GB, free: 7.766 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001044/0.5111, allocations: 0.674 MB / 0.5101 GB, free: 7.09 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00104/0.5121, allocations: 0.724 MB / 0.5108 GB, free: 6.363 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001841/0.5123, allocations: 128 kB / 0.5109 GB, free: 6.238 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00611/0.5184, allocations: 1.186 MB / 0.5121 GB, free: 5.047 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004717/0.519, allocations: 299 kB / 0.5123 GB, free: 4.754 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008697/0.5198, allocations: 0.6494 MB / 0.513 GB, free: 4.102 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007774/0.5276, allocations: 2.604 MB / 0.5155 GB, free: 1.488 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.105e-05/0.5277, allocations: 4 kB / 0.5155 GB, free: 1.484 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.945e-06/0.5277, allocations: 0 / 0.5155 GB, free: 1.484 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.834e-05/0.5277, allocations: 0 / 0.5155 GB, free: 1.484 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.003145/0.5309, allocations: 1.63 MB / 0.5171 GB, free: 15.8 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.685e-05/0.5309, allocations: 8.031 kB / 0.5171 GB, free: 15.79 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001152/0.5321, allocations: 256.4 kB / 0.5174 GB, free: 15.54 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001057/0.5331, allocations: 0.6142 MB / 0.518 GB, free: 14.89 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.919e-05/0.5332, allocations: 90.58 kB / 0.5181 GB, free: 14.8 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001719/0.5334, allocations: 116.4 kB / 0.5182 GB, free: 14.68 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002011/0.5354, allocations: 1.198 MB / 0.5193 GB, free: 13.44 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.57e-05/0.5355, allocations: 3.938 kB / 0.5193 GB, free: 13.44 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.724e-05/0.5356, allocations: 48 kB / 0.5194 GB, free: 13.39 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.537e-05/0.5356, allocations: 31.98 kB / 0.5194 GB, free: 13.36 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00213/0.5377, allocations: 1.328 MB / 0.5207 GB, free: 12.02 MB / 398.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.006306/0.544, allocations: 4.014 MB / 0.5246 GB, free: 7.773 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001548/0.5456, allocations: 0.9678 MB / 0.5256 GB, free: 6.797 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005645/0.5462, allocations: 391.7 kB / 0.5259 GB, free: 6.41 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005692/0.5519, allocations: 3.963 MB / 0.5298 GB, free: 1.969 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.805e-05/0.552, allocations: 51.06 kB / 0.5299 GB, free: 1.91 MB / 398.1 MB Notification: Performance of pre-optimization done (n=62): time 2.434e-06/0.552, allocations: 3.938 kB / 0.5299 GB, free: 1.906 MB / 398.1 MB Notification: Performance of matching and sorting (n=74): time 0.004923/0.5569, allocations: 2.101 MB / 0.5319 GB, free: 15.76 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.454e-05/0.557, allocations: 56.06 kB / 0.532 GB, free: 15.69 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007498/0.5577, allocations: 0.5301 MB / 0.5325 GB, free: 15.15 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.295e-05/0.5578, allocations: 37.7 kB / 0.5325 GB, free: 15.11 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003962/0.5582, allocations: 0.5293 MB / 0.533 GB, free: 14.57 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002254/0.5584, allocations: 260.2 kB / 0.5333 GB, free: 14.31 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002858/0.5587, allocations: 190.8 kB / 0.5335 GB, free: 14.12 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002063/0.5589, allocations: 382.8 kB / 0.5338 GB, free: 13.73 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004659/0.5594, allocations: 226.2 kB / 0.5341 GB, free: 13.51 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007123/0.5601, allocations: 0.5486 MB / 0.5346 GB, free: 12.82 MB / 414.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.006445/0.5666, allocations: 2.117 MB / 0.5367 GB, free: 10.54 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.105e-05/0.5666, allocations: 4 kB / 0.5367 GB, free: 10.54 MB / 414.1 MB Notification: Performance of matching and sorting (n=126) (initialization): time 0.001817/0.5684, allocations: 0.9576 MB / 0.5376 GB, free: 9.57 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.833e-05/0.5685, allocations: 8 kB / 0.5376 GB, free: 9.562 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.29e-05/0.5685, allocations: 16.83 kB / 0.5376 GB, free: 9.547 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000299/0.5688, allocations: 80.81 kB / 0.5377 GB, free: 9.465 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000788/0.5696, allocations: 239.6 kB / 0.5379 GB, free: 9.23 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002227/0.5719, allocations: 1.711 MB / 0.5396 GB, free: 7.375 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006686/0.5725, allocations: 32 kB / 0.5396 GB, free: 7.344 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001022/0.5727, allocations: 55.98 kB / 0.5397 GB, free: 7.289 MB / 414.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.0005612/0.5732, allocations: 249.5 kB / 0.5399 GB, free: 7.035 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00019/0.5734, allocations: 79.14 kB / 0.54 GB, free: 6.957 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001792/0.5752, allocations: 0.8457 MB / 0.5408 GB, free: 6.102 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.697e-06/0.5752, allocations: 11.94 kB / 0.5408 GB, free: 6.09 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.732e-06/0.5753, allocations: 4 kB / 0.5408 GB, free: 6.086 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.858e-06/0.5753, allocations: 3.984 kB / 0.5408 GB, free: 6.082 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003072/0.5784, allocations: 1.746 MB / 0.5425 GB, free: 4.234 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.277e-06/0.5784, allocations: 4 kB / 0.5426 GB, free: 4.23 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006717/0.5791, allocations: 188.1 kB / 0.5427 GB, free: 4.047 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002178/0.5793, allocations: 57.06 kB / 0.5428 GB, free: 3.988 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.024e-05/0.5794, allocations: 35.92 kB / 0.5428 GB, free: 3.953 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001669/0.581, allocations: 1.708 MB / 0.5445 GB, free: 2.102 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.576e-06/0.5811, allocations: 7.969 kB / 0.5445 GB, free: 2.094 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001886/0.583, allocations: 1.178 MB / 0.5456 GB, free: 0.8672 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000245/0.5832, allocations: 148.2 kB / 0.5458 GB, free: 0.7031 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000109/0.5833, allocations: 12 kB / 0.5458 GB, free: 0.6914 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000348/0.5837, allocations: 20 kB / 0.5458 GB, free: 0.6719 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001509/0.5838, allocations: 80.44 kB / 0.5459 GB, free: 0.5898 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.915e-05/0.5839, allocations: 36 kB / 0.5459 GB, free: 0.5547 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0004649/0.5844, allocations: 350.8 kB / 0.5463 GB, free: 220 kB / 414.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5844, allocations: 0 / 0.5463 GB, free: 220 kB / 414.1 MB Notification: Performance of remove unused functions: time 0.001587/0.586, allocations: 455.7 kB / 0.5467 GB, free: 15.77 MB / 430.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.001313/0.5873, allocations: 0.5168 MB / 0.5472 GB, free: 15.25 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001636/0.589, allocations: 0.821 MB / 0.548 GB, free: 14.41 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.138e-06/0.589, allocations: 0 / 0.548 GB, free: 14.41 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007065/0.5897, allocations: 478.2 kB / 0.5485 GB, free: 13.93 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000947/0.5907, allocations: 181.4 kB / 0.5486 GB, free: 13.75 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003423/0.5941, allocations: 1.781 MB / 0.5504 GB, free: 11.92 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008693/0.595, allocations: 1.005 MB / 0.5514 GB, free: 10.88 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0006751/0.5957, allocations: 202 kB / 0.5515 GB, free: 10.68 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002994/0.596, allocations: 143.3 kB / 0.5517 GB, free: 10.54 MB / 430.1 MB Notification: Performance of SimCode: time 6.61e-07/0.596, allocations: 0 / 0.5517 GB, free: 10.54 MB / 430.1 MB Notification: Performance of Templates: time 0.02604/0.622, allocations: 14.88 MB / 0.5662 GB, free: 11.71 MB / 446.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)