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.00125/0.00125, allocations: 99.75 kB / 18.95 MB, free: 2.832 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.001882/0.001882, allocations: 217.2 kB / 22.24 MB, free: 5.105 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.57/1.57, allocations: 230.6 MB / 256 MB, free: 7.828 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.1499/0.1499, allocations: 23.89 MB / 336.3 MB, free: 10.99 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.00212/0.00212, allocations: 67.89 kB / 471.6 MB, free: 7.035 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4054/0.4075, allocations: 59.86 MB / 0.519 GB, free: 9.746 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.08027/0.4877, allocations: 26.12 MB / 0.5445 GB, free: 13.54 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01963/0.5074, allocations: 10.92 MB / 0.5552 GB, free: 3.609 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001522/0.5089, allocations: 23.81 kB / 0.5552 GB, free: 3.586 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001366/0.5103, allocations: 255.2 kB / 0.5555 GB, free: 3.398 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004651/0.5149, allocations: 1.052 MB / 0.5565 GB, free: 2.5 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006046/0.521, allocations: 1.568 MB / 0.558 GB, free: 1.211 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003178/0.5241, allocations: 1.414 MB / 0.5594 GB, free: 15.93 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001564/0.5257, allocations: 0.7026 MB / 0.5601 GB, free: 15.36 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001507/0.5272, allocations: 0.6889 MB / 0.5608 GB, free: 14.74 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001882/0.5291, allocations: 0.7262 MB / 0.5615 GB, free: 14.14 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005804/0.5297, allocations: 128 kB / 0.5616 GB, free: 14.02 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005255/0.5349, allocations: 1.158 MB / 0.5627 GB, free: 12.96 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006986/0.5356, allocations: 299.6 kB / 0.563 GB, free: 12.72 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001519/0.5371, allocations: 0.5402 MB / 0.5635 GB, free: 12.23 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009001/0.5461, allocations: 2.714 MB / 0.5662 GB, free: 9.574 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.592e-06/0.5462, allocations: 0 / 0.5662 GB, free: 9.574 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.5462, allocations: 0 / 0.5662 GB, free: 9.574 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.301e-05/0.5462, 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.004755/0.551, allocations: 1.579 MB / 0.5677 GB, free: 7.957 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.917e-05/0.551, allocations: 12.03 kB / 0.5677 GB, free: 7.945 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001435/0.5525, allocations: 255.9 kB / 0.568 GB, free: 7.695 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0016/0.5541, allocations: 0.562 MB / 0.5685 GB, free: 7.109 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001154/0.5542, allocations: 86.58 kB / 0.5686 GB, free: 7.023 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003224/0.5545, allocations: 124.3 kB / 0.5687 GB, free: 6.902 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002642/0.5572, allocations: 1.198 MB / 0.5699 GB, free: 5.66 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.937e-05/0.5572, allocations: 4 kB / 0.5699 GB, free: 5.656 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001476/0.5573, allocations: 44 kB / 0.5699 GB, free: 5.613 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.309e-05/0.5574, allocations: 28 kB / 0.57 GB, free: 5.586 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002628/0.56, allocations: 1.324 MB / 0.5713 GB, free: 4.254 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.006939/0.5669, allocations: 2.93 MB / 0.5741 GB, free: 1.246 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001704/0.5686, allocations: 0.8946 MB / 0.575 GB, free: 352 kB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006095/0.5692, allocations: 343.7 kB / 0.5753 GB, free: 4 kB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005068/0.5743, allocations: 2.006 MB / 0.5773 GB, free: 13.98 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.392e-05/0.5744, allocations: 43.06 kB / 0.5773 GB, free: 13.93 MB / 430.1 MB Notification: Performance of pre-optimization done (n=62): time 2.916e-06/0.5744, allocations: 0 / 0.5773 GB, free: 13.93 MB / 430.1 MB Notification: Performance of matching and sorting (n=74): time 0.005543/0.5799, allocations: 2.044 MB / 0.5793 GB, free: 11.85 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.096e-05/0.58, allocations: 60.06 kB / 0.5794 GB, free: 11.78 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008078/0.5808, allocations: 0.4948 MB / 0.5799 GB, free: 11.27 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 5.16e-05/0.5808, allocations: 33.7 kB / 0.5799 GB, free: 11.23 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004601/0.5813, allocations: 0.5505 MB / 0.5804 GB, free: 10.67 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002787/0.5816, allocations: 273.7 kB / 0.5807 GB, free: 10.4 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002919/0.5819, allocations: 198.9 kB / 0.5809 GB, free: 10.2 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000239/0.5821, allocations: 378.7 kB / 0.5812 GB, free: 9.824 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005143/0.5826, allocations: 234.1 kB / 0.5815 GB, free: 9.598 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008644/0.5835, allocations: 0.5486 MB / 0.582 GB, free: 8.906 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.006597/0.5901, allocations: 2.042 MB / 0.584 GB, free: 6.719 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.609e-05/0.5901, allocations: 4 kB / 0.584 GB, free: 6.715 MB / 430.1 MB Notification: Performance of matching and sorting (n=126) (initialization): time 0.00213/0.5922, allocations: 0.9504 MB / 0.5849 GB, free: 5.754 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.965e-05/0.5923, allocations: 15.94 kB / 0.5849 GB, free: 5.738 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.147e-05/0.5923, allocations: 8 kB / 0.585 GB, free: 5.73 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003069/0.5926, allocations: 77.56 kB / 0.585 GB, free: 5.652 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008048/0.5934, allocations: 239.6 kB / 0.5853 GB, free: 5.418 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002099/0.5955, allocations: 1.593 MB / 0.5868 GB, free: 3.723 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005639/0.5961, allocations: 32 kB / 0.5868 GB, free: 3.691 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001073/0.5962, allocations: 55.98 kB / 0.5869 GB, free: 3.637 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.0005645/0.5967, allocations: 258.1 kB / 0.5871 GB, free: 3.375 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001845/0.5969, allocations: 67.58 kB / 0.5872 GB, free: 3.309 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001905/0.5988, allocations: 0.8298 MB / 0.588 GB, free: 2.465 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.699e-06/0.5988, allocations: 8 kB / 0.588 GB, free: 2.457 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.828e-06/0.5988, allocations: 7.938 kB / 0.588 GB, free: 2.449 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.239e-05/0.5989, allocations: 7.922 kB / 0.588 GB, free: 2.441 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003045/0.6019, allocations: 1.477 MB / 0.5895 GB, free: 0.8906 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.769e-06/0.6019, allocations: 0 / 0.5895 GB, free: 0.8906 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006888/0.6026, allocations: 179.8 kB / 0.5897 GB, free: 0.7148 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002087/0.6028, allocations: 68.75 kB / 0.5897 GB, free: 0.6445 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.934e-05/0.6029, allocations: 31.98 kB / 0.5897 GB, free: 0.6133 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00168/0.6045, allocations: 1.574 MB / 0.5913 GB, free: 14.94 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.6045, allocations: 0 / 0.5913 GB, free: 14.94 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001946/0.6065, allocations: 1.186 MB / 0.5924 GB, free: 13.71 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001656/0.6067, allocations: 71.56 kB / 0.5925 GB, free: 13.64 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.778e-05/0.6067, allocations: 28 kB / 0.5925 GB, free: 13.61 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003002/0.607, allocations: 16 kB / 0.5926 GB, free: 13.6 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001384/0.6072, allocations: 76.47 kB / 0.5926 GB, free: 13.52 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.616e-05/0.6072, allocations: 32 kB / 0.5927 GB, free: 13.49 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0004069/0.6077, allocations: 318.9 kB / 0.593 GB, free: 13.18 MB / 446.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.6077, allocations: 0 / 0.593 GB, free: 13.18 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00145/0.6091, allocations: 458.9 kB / 0.5934 GB, free: 12.73 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.0009801/0.6101, allocations: 0.5208 MB / 0.5939 GB, free: 12.2 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001507/0.6116, allocations: 0.782 MB / 0.5947 GB, free: 11.4 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.871e-06/0.6116, allocations: 4 kB / 0.5947 GB, free: 11.4 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006791/0.6123, allocations: 446.1 kB / 0.5951 GB, free: 10.95 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009015/0.6132, allocations: 182.7 kB / 0.5953 GB, free: 10.78 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003379/0.6166, allocations: 1.817 MB / 0.597 GB, free: 8.902 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006468/0.6172, allocations: 421.6 kB / 0.5975 GB, free: 8.461 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0006308/0.6178, allocations: 193.8 kB / 0.5976 GB, free: 8.27 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002753/0.6181, allocations: 143.3 kB / 0.5978 GB, free: 8.129 MB / 446.1 MB Notification: Performance of SimCode: time 1.222e-06/0.6181, allocations: 0 / 0.5978 GB, free: 8.129 MB / 446.1 MB Notification: Performance of Templates: time 0.02882/0.6469, allocations: 16.29 MB / 0.6137 GB, free: 7.98 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.901963520329446] Failed to read output from testmodel.py, exit status != 0: 0.656109653878957 0.6709195050000001 0.121326075 Calling exit ...