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.001505/0.001505, allocations: 107.7 kB / 16.41 MB, free: 6.484 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.001717/0.001717, allocations: 187 kB / 17.34 MB, free: 5.734 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.346/1.346, 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.0787/0.0787, allocations: 15.3 MB / 306.5 MB, free: 15.4 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001253/0.001253, allocations: 56.12 kB / 425.8 MB, free: 11.46 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09643/0.09769, allocations: 53.61 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.03623/0.134, allocations: 25.43 MB / 0.493 GB, free: 12.44 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01483/0.1488, allocations: 12.29 MB / 0.505 GB, free: 112 kB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007863/0.1496, allocations: 15.94 kB / 0.5051 GB, free: 96 kB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.2173/0.3669, allocations: 276.3 kB / 0.5053 GB, free: 18.27 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003643/0.3706, allocations: 1.043 MB / 0.5063 GB, free: 18.27 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004393/0.375, allocations: 1.542 MB / 0.5078 GB, free: 18.27 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002162/0.3772, allocations: 1.403 MB / 0.5092 GB, free: 18.15 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001006/0.3782, allocations: 0.8363 MB / 0.51 GB, free: 18.08 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008152/0.3791, allocations: 0.6745 MB / 0.5107 GB, free: 18.07 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009819/0.3801, allocations: 0.7252 MB / 0.5114 GB, free: 17.93 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002116/0.3803, allocations: 127.2 kB / 0.5115 GB, free: 17.93 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003983/0.3843, allocations: 1.189 MB / 0.5127 GB, free: 17.84 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003144/0.3846, allocations: 297 kB / 0.513 GB, free: 17.79 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007458/0.3853, allocations: 0.6465 MB / 0.5136 GB, free: 17.62 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005385/0.3907, allocations: 2.62 MB / 0.5162 GB, free: 17.03 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.97e-06/0.3908, allocations: 0 / 0.5162 GB, free: 17.03 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.3908, allocations: 0 / 0.5162 GB, free: 17.03 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.653e-05/0.3908, 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.003113/0.3939, allocations: 1.616 MB / 0.5177 GB, free: 16.02 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.235e-05/0.394, allocations: 15.41 kB / 0.5177 GB, free: 16.01 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001146/0.3951, allocations: 258 kB / 0.518 GB, free: 15.93 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00112/0.3963, allocations: 0.6115 MB / 0.5186 GB, free: 15.52 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.596e-05/0.3964, allocations: 90.53 kB / 0.5187 GB, free: 15.48 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001836/0.3966, allocations: 115.7 kB / 0.5188 GB, free: 15.44 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001971/0.3986, allocations: 1.199 MB / 0.52 GB, free: 14.94 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.367e-05/0.3986, allocations: 3.938 kB / 0.52 GB, free: 14.93 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001004/0.3987, allocations: 48.66 kB / 0.52 GB, free: 14.9 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.842e-05/0.3987, allocations: 27.83 kB / 0.52 GB, free: 14.9 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002182/0.4009, allocations: 1.335 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.005653/0.4066, allocations: 4.001 MB / 0.5252 GB, free: 12.01 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001461/0.4081, allocations: 0.9804 MB / 0.5262 GB, free: 11.56 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005565/0.4086, allocations: 390 kB / 0.5266 GB, free: 11.41 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004349/0.413, allocations: 3.966 MB / 0.5304 GB, free: 8.242 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.831e-05/0.413, allocations: 40.59 kB / 0.5305 GB, free: 8.199 MB / 382.1 MB Notification: Performance of pre-optimization done (n=62): time 2.124e-06/0.413, allocations: 0 / 0.5305 GB, free: 8.199 MB / 382.1 MB Notification: Performance of matching and sorting (n=74): time 0.004444/0.4175, allocations: 2.105 MB / 0.5325 GB, free: 7.09 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.513e-05/0.4175, allocations: 58.91 kB / 0.5326 GB, free: 7.027 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005425/0.4181, allocations: 0.5228 MB / 0.5331 GB, free: 6.703 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.966e-05/0.4181, allocations: 42.45 kB / 0.5332 GB, free: 6.66 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002172/0.4183, allocations: 0.5326 MB / 0.5337 GB, free: 6.184 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001287/0.4185, allocations: 263.2 kB / 0.5339 GB, free: 5.961 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002042/0.4187, allocations: 187.1 kB / 0.5341 GB, free: 5.855 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.912e-05/0.4188, allocations: 382.1 kB / 0.5345 GB, free: 5.488 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003745/0.4192, allocations: 228 kB / 0.5347 GB, free: 5.387 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004713/0.4196, allocations: 0.5513 MB / 0.5352 GB, free: 4.867 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.005704/0.4254, allocations: 2.117 MB / 0.5373 GB, free: 3.602 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.132e-06/0.4254, allocations: 4.562 kB / 0.5373 GB, free: 3.602 MB / 382.1 MB Notification: Performance of matching and sorting (n=126) (initialization): time 0.001429/0.4268, allocations: 0.9579 MB / 0.5382 GB, free: 3.133 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.232e-05/0.4268, allocations: 9.625 kB / 0.5382 GB, free: 3.133 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.347e-05/0.4269, allocations: 12.59 kB / 0.5382 GB, free: 3.133 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002377/0.4271, allocations: 78.58 kB / 0.5383 GB, free: 3.098 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006637/0.4278, allocations: 238.2 kB / 0.5386 GB, free: 3.047 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001225/0.429, allocations: 1.721 MB / 0.5402 GB, free: 1.422 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005415/0.4296, allocations: 37.88 kB / 0.5403 GB, free: 1.398 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.666e-05/0.4296, allocations: 55.98 kB / 0.5403 GB, free: 1.344 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.0003746/0.43, allocations: 256.2 kB / 0.5406 GB, free: 1.086 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001022/0.4301, allocations: 75 kB / 0.5406 GB, free: 1.012 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001403/0.4315, allocations: 0.8442 MB / 0.5415 GB, free: 204 kB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.791e-06/0.4316, allocations: 7.938 kB / 0.5415 GB, free: 196 kB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.4316, allocations: 4 kB / 0.5415 GB, free: 192 kB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.223e-06/0.4316, allocations: 6.641 kB / 0.5415 GB, free: 188 kB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002805/0.4344, allocations: 1.749 MB / 0.5432 GB, free: 14.36 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.066e-05/0.4344, allocations: 4 kB / 0.5432 GB, free: 14.35 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006506/0.4351, allocations: 183.7 kB / 0.5434 GB, free: 14.17 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002076/0.4353, allocations: 63.48 kB / 0.5434 GB, free: 14.11 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.112e-05/0.4354, allocations: 36.45 kB / 0.5435 GB, free: 14.07 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001606/0.437, allocations: 1.7 MB / 0.5451 GB, free: 12.24 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.408e-06/0.437, allocations: 4.031 kB / 0.5451 GB, free: 12.24 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001899/0.4389, allocations: 1.181 MB / 0.5463 GB, free: 11.02 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001879/0.4391, allocations: 148.2 kB / 0.5464 GB, free: 10.86 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001977/0.4393, allocations: 12 kB / 0.5464 GB, free: 10.84 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003238/0.4396, allocations: 20 kB / 0.5465 GB, free: 10.82 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001386/0.4398, allocations: 83.09 kB / 0.5465 GB, free: 10.74 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.767e-05/0.4398, allocations: 32.56 kB / 0.5466 GB, free: 10.71 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003838/0.4402, allocations: 346.8 kB / 0.5469 GB, free: 10.38 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.5e-07/0.4402, allocations: 0 / 0.5469 GB, free: 10.38 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001462/0.4417, allocations: 451.7 kB / 0.5473 GB, free: 9.934 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.0009285/0.4426, allocations: 0.5149 MB / 0.5478 GB, free: 9.488 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001544/0.4442, allocations: 0.8183 MB / 0.5486 GB, free: 8.664 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.4442, allocations: 0 / 0.5486 GB, free: 8.664 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006335/0.4448, allocations: 488.7 kB / 0.5491 GB, free: 8.176 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008978/0.4458, allocations: 176.6 kB / 0.5493 GB, free: 8.023 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002999/0.4488, allocations: 1.819 MB / 0.551 GB, free: 6.199 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000595/0.4494, allocations: 1.004 MB / 0.552 GB, free: 5.176 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003751/0.4498, allocations: 190.2 kB / 0.5522 GB, free: 5 MB / 398.1 MB Notification: Performance of SimCode: time 2.475e-06/0.4498, allocations: 0 / 0.5522 GB, free: 5 MB / 398.1 MB Notification: Performance of Templates: time 0.02477/0.4745, allocations: 17.64 MB / 0.5694 GB, free: 4.109 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)