Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_Chemical.Obsolete.Examples.WaterSublimation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001282/0.001282, allocations: 84.67 kB / 19.76 MB, free: 2.016 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001369/0.001369, allocations: 154.1 kB / 23.01 MB, free: 4.973 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.33/1.33, allocations: 177.2 MB / 203.4 MB, free: 8.941 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/package.mo): time 0.1209/0.1209, allocations: 17.44 MB / 277.2 MB, free: 15.17 MB / 270.1 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Chemical.Obsolete.Examples.WaterSublimation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Obsolete.Examples.WaterSublimation") translateModel(Chemical.Obsolete.Examples.WaterSublimation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Obsolete.Examples.WaterSublimation") [Timeout 660] "Notification: Chemical requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002024/0.002024, allocations: 67.89 kB / 412.6 MB, free: 5.547 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09704/0.09906, allocations: 59.88 MB / 472.5 MB, free: 9.547 MB / 446.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/Obsolete.mo:14335:7-14335: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 master/Obsolete.mo:14335:7-14335: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.Obsolete.Examples.WaterSublimation): time 0.4008/0.4998, allocations: 26.17 MB / 498.6 MB, free: 38.98 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.009842/0.5097, allocations: 10.93 MB / 0.4976 GB, free: 33.67 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006552/0.5103, allocations: 17.56 kB / 0.4976 GB, free: 33.66 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006294/0.5109, allocations: 254.9 kB / 0.4979 GB, free: 33.53 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002395/0.5133, allocations: 1.057 MB / 0.4989 GB, free: 32.87 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003365/0.5167, allocations: 1.571 MB / 0.5004 GB, free: 31.95 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001591/0.5183, allocations: 1.404 MB / 0.5018 GB, free: 31.25 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006791/0.519, allocations: 0.6819 MB / 0.5025 GB, free: 30.9 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007056/0.5197, allocations: 0.6827 MB / 0.5031 GB, free: 30.64 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008004/0.5205, allocations: 0.6506 MB / 0.5038 GB, free: 30.41 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001824/0.5207, allocations: 127.2 kB / 0.5039 GB, free: 30.41 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003104/0.5238, allocations: 1.134 MB / 0.505 GB, free: 30.16 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002204/0.524, allocations: 300.5 kB / 0.5053 GB, free: 29.97 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004964/0.5245, allocations: 0.5449 MB / 0.5058 GB, free: 29.69 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0039/0.5284, allocations: 2.706 MB / 0.5085 GB, free: 28.54 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.057e-06/0.5284, allocations: 0 / 0.5085 GB, free: 28.54 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.5284, allocations: 0 / 0.5085 GB, free: 28.54 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.637e-05/0.5284, allocations: 1.594 kB / 0.5085 GB, free: 28.54 MB / 446.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.002329/0.5307, allocations: 1.582 MB / 0.51 GB, free: 27.56 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.153e-05/0.5308, allocations: 9.625 kB / 0.51 GB, free: 27.56 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009676/0.5317, allocations: 262 kB / 0.5103 GB, free: 27.48 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008265/0.5326, allocations: 0.5636 MB / 0.5108 GB, free: 27.11 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.932e-05/0.5326, allocations: 84.83 kB / 0.5109 GB, free: 27.07 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001453/0.5328, allocations: 114.3 kB / 0.511 GB, free: 27.03 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001638/0.5344, allocations: 1.205 MB / 0.5122 GB, free: 26.52 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.647e-05/0.5344, allocations: 0 / 0.5122 GB, free: 26.52 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.491e-05/0.5345, allocations: 46.38 kB / 0.5122 GB, free: 26.49 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.089e-05/0.5345, allocations: 27.84 kB / 0.5123 GB, free: 26.49 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0018/0.5363, allocations: 1.322 MB / 0.5135 GB, free: 26.09 MB / 446.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.004502/0.5408, allocations: 2.943 MB / 0.5164 GB, free: 24.43 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001255/0.5421, allocations: 0.885 MB / 0.5173 GB, free: 24.03 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004798/0.5426, allocations: 342.5 kB / 0.5176 GB, free: 23.89 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003727/0.5463, allocations: 2.012 MB / 0.5196 GB, free: 23 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.784e-05/0.5463, allocations: 42.34 kB / 0.5196 GB, free: 22.96 MB / 446.1 MB Notification: Performance of pre-optimization done (n=62): time 2.144e-06/0.5463, allocations: 0 / 0.5196 GB, free: 22.96 MB / 446.1 MB Notification: Performance of matching and sorting (n=74): time 0.004244/0.5506, allocations: 2.043 MB / 0.5216 GB, free: 22.01 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.029e-05/0.5506, allocations: 59.84 kB / 0.5217 GB, free: 21.95 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00046/0.5511, allocations: 0.4933 MB / 0.5221 GB, free: 21.7 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.5e-05/0.5511, allocations: 40.39 kB / 0.5222 GB, free: 21.66 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002052/0.5513, allocations: 0.5449 MB / 0.5227 GB, free: 21.22 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001259/0.5514, allocations: 274.5 kB / 0.523 GB, free: 21 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002017/0.5516, allocations: 192.4 kB / 0.5232 GB, free: 20.91 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 7.629e-05/0.5517, allocations: 380.5 kB / 0.5235 GB, free: 20.57 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003571/0.5521, allocations: 229.4 kB / 0.5237 GB, free: 20.49 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004732/0.5525, allocations: 0.5411 MB / 0.5243 GB, free: 20.02 MB / 446.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.00559/0.5581, allocations: 2.052 MB / 0.5263 GB, free: 19.09 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.963e-06/0.5581, allocations: 3.594 kB / 0.5263 GB, free: 19.09 MB / 446.1 MB Notification: Performance of matching and sorting (n=126) (initialization): time 0.001382/0.5595, allocations: 0.9614 MB / 0.5272 GB, free: 18.68 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.825e-05/0.5595, allocations: 10.59 kB / 0.5272 GB, free: 18.68 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.047e-05/0.5595, allocations: 14.28 kB / 0.5272 GB, free: 18.68 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002088/0.5597, allocations: 73.36 kB / 0.5273 GB, free: 18.66 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006019/0.5603, allocations: 237.7 kB / 0.5275 GB, free: 18.63 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001105/0.5615, allocations: 1.591 MB / 0.5291 GB, free: 17.22 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000492/0.5619, allocations: 30.5 kB / 0.5291 GB, free: 17.2 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.349e-05/0.562, allocations: 59.08 kB / 0.5292 GB, free: 17.19 MB / 446.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.0003583/0.5624, allocations: 255.5 kB / 0.5294 GB, free: 16.98 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001023/0.5625, allocations: 74.2 kB / 0.5295 GB, free: 16.94 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001401/0.5639, allocations: 0.8336 MB / 0.5303 GB, free: 16.57 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.149e-06/0.5639, allocations: 7 kB / 0.5303 GB, free: 16.57 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.5639, allocations: 7.094 kB / 0.5303 GB, free: 16.57 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.085e-06/0.5639, allocations: 7.219 kB / 0.5303 GB, free: 16.57 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001978/0.5659, allocations: 1.469 MB / 0.5318 GB, free: 15.79 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.95e-06/0.5659, allocations: 0 / 0.5318 GB, free: 15.79 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000578/0.5665, allocations: 187.3 kB / 0.5319 GB, free: 15.77 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001661/0.5666, allocations: 62.94 kB / 0.532 GB, free: 15.74 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.335e-05/0.5667, allocations: 32.72 kB / 0.532 GB, free: 15.73 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001001/0.5677, allocations: 1.574 MB / 0.5336 GB, free: 14.32 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.5677, allocations: 7.344 kB / 0.5336 GB, free: 14.31 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001365/0.569, allocations: 1.17 MB / 0.5347 GB, free: 13.7 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000111/0.5691, allocations: 68.33 kB / 0.5348 GB, free: 13.65 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.204e-05/0.5692, allocations: 26.41 kB / 0.5348 GB, free: 13.63 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002997/0.5695, allocations: 19.94 kB / 0.5348 GB, free: 13.62 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.641e-05/0.5696, allocations: 72.98 kB / 0.5349 GB, free: 13.61 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.143e-05/0.5697, allocations: 37.19 kB / 0.5349 GB, free: 13.61 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002505/0.5699, allocations: 309.2 kB / 0.5352 GB, free: 13.46 MB / 446.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.5699, allocations: 0 / 0.5352 GB, free: 13.46 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001188/0.5711, allocations: 457.6 kB / 0.5357 GB, free: 13.35 MB / 446.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.000731/0.5718, allocations: 0.5205 MB / 0.5362 GB, free: 13.08 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001165/0.573, allocations: 0.7816 MB / 0.5369 GB, free: 12.73 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.573, allocations: 4.906 kB / 0.5369 GB, free: 12.73 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004872/0.5735, allocations: 457.4 kB / 0.5374 GB, free: 12.42 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007604/0.5742, allocations: 179.8 kB / 0.5375 GB, free: 12.28 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002143/0.5764, allocations: 1.815 MB / 0.5393 GB, free: 10.51 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002875/0.5767, allocations: 419.9 kB / 0.5397 GB, free: 10.19 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0005193/0.5772, allocations: 195.5 kB / 0.5399 GB, free: 10.02 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002222/0.5774, allocations: 147.5 kB / 0.54 GB, free: 9.891 MB / 446.1 MB Notification: Performance of SimCode: time 4.21e-07/0.5774, allocations: 0 / 0.54 GB, free: 9.891 MB / 446.1 MB Notification: Performance of Templates: time 0.02188/0.5993, allocations: 14.61 MB / 0.5543 GB, free: 15.38 MB / 462.1 MB " [Timeout remaining time 659] make -j1 -f Chemical_master_Chemical.Obsolete.Examples.WaterSublimation.makefile [Timeout 660] (rm -f Chemical_master_Chemical.Obsolete.Examples.WaterSublimation.pipe ; mkfifo Chemical_master_Chemical.Obsolete.Examples.WaterSublimation.pipe ; head -c 1048576 < Chemical_master_Chemical.Obsolete.Examples.WaterSublimation.pipe >> ../files/Chemical_master_Chemical.Obsolete.Examples.WaterSublimation.sim & ./Chemical_master_Chemical.Obsolete.Examples.WaterSublimation -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.WaterSublimation.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.1201301829423755] Failed to read output from testmodel.py, exit status != 0: 0.6077489340677857 0.621907946 0.09056227600000001 Calling exit ...