Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_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.001463/0.001463, allocations: 105.1 kB / 18.99 MB, free: 2.754 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.001743/0.001743, allocations: 214.5 kB / 22.3 MB, free: 5.156 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.54/1.54, allocations: 230.6 MB / 256.1 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/package.mo): time 0.1494/0.1494, allocations: 23.88 MB / 336.4 MB, free: 10.95 MB / 270.1 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/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_Chemical.Obsolete.Examples.WaterSublimation") translateModel(Chemical.Obsolete.Examples.WaterSublimation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_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.002028/0.002028, allocations: 68.17 kB / 471.7 MB, free: 6.965 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3949/0.3969, allocations: 59.86 MB / 0.5191 GB, free: 9.828 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/Obsolete.mo:14337:7-14337: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 2.0.0/Obsolete.mo:14337:7-14337: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.07723/0.4741, allocations: 26.17 MB / 0.5447 GB, free: 13.41 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.02517/0.4993, allocations: 10.93 MB / 0.5554 GB, free: 3.488 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001618/0.5009, allocations: 19.81 kB / 0.5554 GB, free: 3.469 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001658/0.5026, allocations: 262.7 kB / 0.5556 GB, free: 3.273 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00605/0.5086, allocations: 1.045 MB / 0.5566 GB, free: 2.383 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007945/0.5166, allocations: 1.571 MB / 0.5582 GB, free: 1.09 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003727/0.5203, allocations: 1.415 MB / 0.5596 GB, free: 15.8 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001963/0.5223, allocations: 0.6828 MB / 0.5602 GB, free: 15.26 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001731/0.524, allocations: 0.6892 MB / 0.5609 GB, free: 14.64 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001969/0.526, allocations: 0.6452 MB / 0.5615 GB, free: 14.12 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006363/0.5266, allocations: 132 kB / 0.5617 GB, free: 14 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005463/0.5321, allocations: 1.126 MB / 0.5628 GB, free: 12.97 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007314/0.5328, allocations: 296.2 kB / 0.563 GB, free: 12.73 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001467/0.5343, allocations: 0.5476 MB / 0.5636 GB, free: 12.23 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009013/0.5433, allocations: 2.714 MB / 0.5662 GB, free: 9.574 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.5433, allocations: 0 / 0.5662 GB, free: 9.574 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.5433, allocations: 0 / 0.5662 GB, free: 9.574 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.417e-05/0.5434, allocations: 0 / 0.5662 GB, free: 9.574 MB / 414.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.005765/0.5491, allocations: 1.579 MB / 0.5678 GB, free: 7.957 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.25e-05/0.5492, allocations: 8.031 kB / 0.5678 GB, free: 7.949 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001972/0.5512, allocations: 263.8 kB / 0.568 GB, free: 7.691 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001815/0.553, allocations: 0.5658 MB / 0.5686 GB, free: 7.102 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001238/0.5531, allocations: 82.64 kB / 0.5687 GB, free: 7.02 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003638/0.5535, allocations: 120.3 kB / 0.5688 GB, free: 6.902 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003776/0.5572, allocations: 1.206 MB / 0.5699 GB, free: 5.652 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.682e-05/0.5573, allocations: 0 / 0.5699 GB, free: 5.652 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000202/0.5575, allocations: 44 kB / 0.57 GB, free: 5.609 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.059e-05/0.5575, allocations: 28 kB / 0.57 GB, free: 5.582 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003568/0.5611, allocations: 1.324 MB / 0.5713 GB, free: 4.25 MB / 414.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.008887/0.57, allocations: 2.931 MB / 0.5742 GB, free: 1.242 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002443/0.5724, allocations: 0.8908 MB / 0.575 GB, free: 356 kB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008869/0.5733, allocations: 343.7 kB / 0.5754 GB, free: 8 kB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006461/0.5798, allocations: 2.013 MB / 0.5773 GB, free: 13.97 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.052e-05/0.5798, allocations: 35.06 kB / 0.5774 GB, free: 13.93 MB / 430.1 MB Notification: Performance of pre-optimization done (n=62): time 3.707e-06/0.5798, allocations: 0 / 0.5774 GB, free: 13.93 MB / 430.1 MB Notification: Performance of matching and sorting (n=74): time 0.00709/0.5869, allocations: 2.037 MB / 0.5794 GB, free: 11.86 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.74e-05/0.587, allocations: 60.06 kB / 0.5794 GB, free: 11.79 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001008/0.588, allocations: 0.4948 MB / 0.5799 GB, free: 11.28 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.08e-05/0.588, allocations: 37.7 kB / 0.5799 GB, free: 11.23 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005412/0.5886, allocations: 0.5505 MB / 0.5805 GB, free: 10.68 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003488/0.5889, allocations: 273.7 kB / 0.5807 GB, free: 10.41 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004191/0.5894, allocations: 194.9 kB / 0.5809 GB, free: 10.21 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002709/0.5896, allocations: 378.7 kB / 0.5813 GB, free: 9.832 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007669/0.5904, allocations: 226.2 kB / 0.5815 GB, free: 9.613 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00108/0.5915, allocations: 0.5527 MB / 0.582 GB, free: 8.922 MB / 430.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.009595/0.6011, allocations: 2.042 MB / 0.584 GB, free: 6.738 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.506e-06/0.6011, allocations: 0 / 0.584 GB, free: 6.738 MB / 430.1 MB Notification: Performance of matching and sorting (n=126) (initialization): time 0.002683/0.6038, allocations: 0.9505 MB / 0.585 GB, free: 5.777 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.69e-05/0.6038, allocations: 15.98 kB / 0.585 GB, free: 5.762 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.169e-05/0.6038, allocations: 8 kB / 0.585 GB, free: 5.754 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003865/0.6042, allocations: 76.77 kB / 0.5851 GB, free: 5.676 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001237/0.6054, allocations: 248.3 kB / 0.5853 GB, free: 5.434 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002667/0.6081, allocations: 1.593 MB / 0.5868 GB, free: 3.738 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008437/0.609, allocations: 28 kB / 0.5869 GB, free: 3.711 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001361/0.6091, allocations: 59.98 kB / 0.5869 GB, free: 3.652 MB / 430.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.0006587/0.6097, allocations: 250.1 kB / 0.5872 GB, free: 3.398 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002175/0.61, allocations: 71.52 kB / 0.5872 GB, free: 3.328 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002524/0.6125, allocations: 0.8414 MB / 0.5881 GB, free: 2.473 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.192e-05/0.6125, allocations: 8 kB / 0.5881 GB, free: 2.465 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.6125, allocations: 0 / 0.5881 GB, free: 2.465 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.473e-05/0.6125, allocations: 7.922 kB / 0.5881 GB, free: 2.457 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003755/0.6163, allocations: 1.478 MB / 0.5895 GB, free: 0.9062 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.918e-06/0.6163, allocations: 4 kB / 0.5895 GB, free: 0.9023 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009588/0.6172, allocations: 175.8 kB / 0.5897 GB, free: 0.7305 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003017/0.6175, allocations: 64.98 kB / 0.5897 GB, free: 0.6641 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.024e-05/0.6176, allocations: 31.98 kB / 0.5898 GB, free: 0.6328 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002434/0.6201, allocations: 1.581 MB / 0.5913 GB, free: 14.95 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.663e-06/0.6201, allocations: 4 kB / 0.5913 GB, free: 14.95 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003017/0.6231, allocations: 1.182 MB / 0.5925 GB, free: 13.72 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002476/0.6233, allocations: 71.56 kB / 0.5925 GB, free: 13.65 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001336/0.6235, allocations: 19.94 kB / 0.5926 GB, free: 13.63 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005108/0.624, allocations: 24.06 kB / 0.5926 GB, free: 13.61 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002713/0.6242, allocations: 72.47 kB / 0.5927 GB, free: 13.54 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.478e-05/0.6243, allocations: 39.98 kB / 0.5927 GB, free: 13.5 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0006381/0.625, allocations: 314.9 kB / 0.593 GB, free: 13.19 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.625, allocations: 0 / 0.593 GB, free: 13.19 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002202/0.6272, allocations: 455 kB / 0.5934 GB, free: 12.75 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.001436/0.6286, allocations: 0.5181 MB / 0.5939 GB, free: 12.21 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00251/0.6311, allocations: 0.782 MB / 0.5947 GB, free: 11.42 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.623e-06/0.6311, allocations: 0 / 0.5947 GB, free: 11.42 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001039/0.6322, allocations: 450.1 kB / 0.5951 GB, free: 10.97 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001493/0.6337, allocations: 187.5 kB / 0.5953 GB, free: 10.79 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004917/0.6386, allocations: 1.817 MB / 0.5971 GB, free: 8.91 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007332/0.6393, allocations: 421.6 kB / 0.5975 GB, free: 8.469 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001011/0.6403, allocations: 193.8 kB / 0.5977 GB, free: 8.277 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004337/0.6408, allocations: 144.4 kB / 0.5978 GB, free: 8.137 MB / 446.1 MB Notification: Performance of SimCode: time 9.41e-07/0.6408, allocations: 4 kB / 0.5978 GB, free: 8.133 MB / 446.1 MB Notification: Performance of Templates: time 0.04/0.6808, allocations: 14.61 MB / 0.6121 GB, free: 9.664 MB / 462.1 MB " [Timeout remaining time 659] make -j1 -f Chemical_Chemical.Obsolete.Examples.WaterSublimation.makefile [Timeout 660] (rm -f Chemical_Chemical.Obsolete.Examples.WaterSublimation.pipe ; mkfifo Chemical_Chemical.Obsolete.Examples.WaterSublimation.pipe ; head -c 1048576 < Chemical_Chemical.Obsolete.Examples.WaterSublimation.pipe >> ../files/Chemical_Chemical.Obsolete.Examples.WaterSublimation.sim & ./Chemical_Chemical.Obsolete.Examples.WaterSublimation -abortSlowSimulation -alarm=480 -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.WaterSublimation.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 5.843567660078406] Failed to read output from testmodel.py, exit status != 0: 0.6916605494916439 0.716029646 0.16814120300000002 Calling exit ...